0s autopkgtest [10:12:09]: starting date and time: 2026-02-09 10:12:09+0000 0s autopkgtest [10:12:09]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [10:12:09]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ok8n9qzo/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:dpkg --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 -- lxd -r lxd-armhf-10.145.243.229 lxd-armhf-10.145.243.229:autopkgtest/ubuntu/resolute/armhf 20s autopkgtest [10:12:29]: testbed dpkg architecture: armhf 22s autopkgtest [10:12:31]: testbed apt version: 3.1.15 25s autopkgtest [10:12:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 27s autopkgtest [10:12:36]: testbed release detected to be: None 35s autopkgtest [10:12:44]: updating testbed package index (apt update) 37s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 37s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 37s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 37s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 37s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2744 B] 37s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1586 kB] 38s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [29.4 kB] 38s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [165 kB] 38s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [240 kB] 38s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1376 kB] 38s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6932 B] 38s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1407 kB] 39s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 41s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1374 kB] 41s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 45s Fetched 42.9 MB in 8s (5348 kB/s) 46s Reading package lists... 52s autopkgtest [10:13:01]: upgrading testbed (apt dist-upgrade and autopurge) 53s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Calculating upgrade... 54s The following packages will be upgraded: 54s dpkg dpkg-dev libdpkg-perl 55s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s Need to get 2587 kB of archives. 55s After this operation, 141 kB disk space will be freed. 55s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg armhf 1.23.5ubuntu1 [1236 kB] 55s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg-dev all 1.23.5ubuntu1 [1062 kB] 55s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libdpkg-perl all 1.23.5ubuntu1 [289 kB] 56s Fetched 2587 kB in 1s (3734 kB/s) 56s (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 ... 68683 files and directories currently installed.) 56s Preparing to unpack .../dpkg_1.23.5ubuntu1_armhf.deb ... 56s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 56s Setting up dpkg (1.23.5ubuntu1) ... 56s (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 ... 68684 files and directories currently installed.) 56s Preparing to unpack .../dpkg-dev_1.23.5ubuntu1_all.deb ... 56s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 56s Preparing to unpack .../libdpkg-perl_1.23.5ubuntu1_all.deb ... 56s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 56s Setting up libdpkg-perl (1.23.5ubuntu1) ... 56s Setting up dpkg-dev (1.23.5ubuntu1) ... 56s Processing triggers for man-db (2.13.1-1build1) ... 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s Solving dependencies... 61s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s autopkgtest [10:13:12]: rebooting testbed after setup commands that affected boot 103s autopkgtest [10:13:52]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 127s autopkgtest [10:14:16]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 195s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (dsc) [4949 B] 195s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [667 kB] 195s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [5747 kB] 195s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (diff) [148 kB] 195s gpgv: Signature made Thu Jan 29 15:09:50 2026 UTC 195s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 195s gpgv: Can't check signature: No public key 195s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.87.2-2.dsc: no acceptable signature found 196s autopkgtest [10:15:25]: testing package glib2.0 version 2.87.2-2 202s autopkgtest [10:15:31]: build not needed 210s autopkgtest [10:15:39]: test build: preparing testbed 212s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s Solving dependencies... 213s The following NEW packages will be installed: 213s build-essential cpp cpp-15 cpp-15-arm-linux-gnueabihf 213s cpp-arm-linux-gnueabihf g++ g++-15 g++-15-arm-linux-gnueabihf 213s g++-arm-linux-gnueabihf gcc gcc-15 gcc-15-arm-linux-gnueabihf 213s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 213s libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 213s libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 213s libpcre2-posix3 libpkgconf3 libselinux-dev libsepol-dev libstdc++-15-dev 213s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 213s rpcsvc-proto uuid-dev zlib1g-dev 213s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 213s Need to get 58.2 MB of archives. 213s After this operation, 169 MB of additional disk space will be used. 213s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-2ubuntu4 [21.8 kB] 213s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.19.0-3.3 [1804 kB] 213s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.5.1-1 [128 kB] 213s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1build1 [62.6 kB] 213s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-2ubuntu4 [1416 kB] 213s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1build1 [553 kB] 214s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-2 [47.0 kB] 214s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-12ubuntu1 [10.1 MB] 214s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-12ubuntu1 [1032 B] 214s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 214s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 214s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-12ubuntu1 [43.5 kB] 214s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-12ubuntu1 [129 kB] 214s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-12ubuntu1 [2949 kB] 214s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-12ubuntu1 [1187 kB] 214s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-12ubuntu1 [898 kB] 214s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-12ubuntu1 [19.5 MB] 215s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-12ubuntu1 [499 kB] 215s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 215s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 215s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-12ubuntu1 [2638 kB] 215s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-12ubuntu1 [11.4 MB] 215s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-12ubuntu1 [25.3 kB] 215s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 215s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 215s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu2 [5256 B] 215s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf libffi-dev armhf 3.5.2-3 [60.5 kB] 215s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf uuid-dev armhf 2.41.2-4ubuntu2 [55.6 kB] 215s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf libblkid-dev armhf 2.41.2-4ubuntu2 [224 kB] 215s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf libsepol-dev armhf 3.9-2 [384 kB] 215s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-16-0 armhf 10.46-1 [206 kB] 215s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-32-0 armhf 10.46-1 [197 kB] 215s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-posix3 armhf 10.46-1 [6286 B] 215s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-dev armhf 10.46-1 [744 kB] 215s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf libselinux-dev armhf 3.9-4 [169 kB] 215s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libmount-dev armhf 2.41.2-4ubuntu2 [37.6 kB] 215s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libsysprof-capture-4-dev armhf 49.0-6 [49.3 kB] 215s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf libpkgconf3 armhf 1.8.1-4build1 [26.6 kB] 215s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf-bin armhf 1.8.1-4build1 [21.4 kB] 215s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf armhf 1.8.1-4build1 [16.8 kB] 215s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu2 [881 kB] 215s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev armhf 2.87.2-2 [1733 kB] 216s Fetched 58.2 MB in 2s (24.3 MB/s) 216s Selecting previously unselected package libc-dev-bin. 216s (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 ... 68677 files and directories currently installed.) 216s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_armhf.deb ... 216s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 216s Selecting previously unselected package linux-libc-dev:armhf. 216s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_armhf.deb ... 216s Unpacking linux-libc-dev:armhf (6.19.0-3.3) ... 216s Selecting previously unselected package libcrypt-dev:armhf. 216s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_armhf.deb ... 216s Unpacking libcrypt-dev:armhf (1:4.5.1-1) ... 216s Selecting previously unselected package rpcsvc-proto. 216s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_armhf.deb ... 216s Unpacking rpcsvc-proto (1.4.3-1build1) ... 216s Selecting previously unselected package libc6-dev:armhf. 216s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_armhf.deb ... 216s Unpacking libc6-dev:armhf (2.42-2ubuntu4) ... 216s Selecting previously unselected package libisl23:armhf. 216s Preparing to unpack .../05-libisl23_0.27-1build1_armhf.deb ... 216s Unpacking libisl23:armhf (0.27-1build1) ... 216s Selecting previously unselected package libmpc3:armhf. 216s Preparing to unpack .../06-libmpc3_1.3.1-2_armhf.deb ... 216s Unpacking libmpc3:armhf (1.3.1-2) ... 216s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 216s Preparing to unpack .../07-cpp-15-arm-linux-gnueabihf_15.2.0-12ubuntu1_armhf.deb ... 216s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 216s Selecting previously unselected package cpp-15. 216s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_armhf.deb ... 216s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 216s Selecting previously unselected package cpp-arm-linux-gnueabihf. 216s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 216s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 216s Selecting previously unselected package cpp. 216s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 216s Unpacking cpp (4:15.2.0-4ubuntu1) ... 216s Selecting previously unselected package libcc1-0:armhf. 216s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_armhf.deb ... 216s Unpacking libcc1-0:armhf (15.2.0-12ubuntu1) ... 216s Selecting previously unselected package libgomp1:armhf. 216s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_armhf.deb ... 216s Unpacking libgomp1:armhf (15.2.0-12ubuntu1) ... 216s Selecting previously unselected package libasan8:armhf. 216s Preparing to unpack .../13-libasan8_15.2.0-12ubuntu1_armhf.deb ... 216s Unpacking libasan8:armhf (15.2.0-12ubuntu1) ... 217s Selecting previously unselected package libubsan1:armhf. 217s Preparing to unpack .../14-libubsan1_15.2.0-12ubuntu1_armhf.deb ... 217s Unpacking libubsan1:armhf (15.2.0-12ubuntu1) ... 217s Selecting previously unselected package libgcc-15-dev:armhf. 217s Preparing to unpack .../15-libgcc-15-dev_15.2.0-12ubuntu1_armhf.deb ... 217s Unpacking libgcc-15-dev:armhf (15.2.0-12ubuntu1) ... 217s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 217s Preparing to unpack .../16-gcc-15-arm-linux-gnueabihf_15.2.0-12ubuntu1_armhf.deb ... 217s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 217s Selecting previously unselected package gcc-15. 217s Preparing to unpack .../17-gcc-15_15.2.0-12ubuntu1_armhf.deb ... 217s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 217s Selecting previously unselected package gcc-arm-linux-gnueabihf. 217s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 217s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 217s Selecting previously unselected package gcc. 217s Preparing to unpack .../19-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 217s Unpacking gcc (4:15.2.0-4ubuntu1) ... 217s Selecting previously unselected package libstdc++-15-dev:armhf. 217s Preparing to unpack .../20-libstdc++-15-dev_15.2.0-12ubuntu1_armhf.deb ... 217s Unpacking libstdc++-15-dev:armhf (15.2.0-12ubuntu1) ... 217s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 217s Preparing to unpack .../21-g++-15-arm-linux-gnueabihf_15.2.0-12ubuntu1_armhf.deb ... 217s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 218s Selecting previously unselected package g++-15. 218s Preparing to unpack .../22-g++-15_15.2.0-12ubuntu1_armhf.deb ... 218s Unpacking g++-15 (15.2.0-12ubuntu1) ... 218s Selecting previously unselected package g++-arm-linux-gnueabihf. 218s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 218s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 218s Selecting previously unselected package g++. 218s Preparing to unpack .../24-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 218s Unpacking g++ (4:15.2.0-4ubuntu1) ... 218s Selecting previously unselected package build-essential. 218s Preparing to unpack .../25-build-essential_12.12ubuntu2_armhf.deb ... 218s Unpacking build-essential (12.12ubuntu2) ... 218s Selecting previously unselected package libffi-dev:armhf. 218s Preparing to unpack .../26-libffi-dev_3.5.2-3_armhf.deb ... 218s Unpacking libffi-dev:armhf (3.5.2-3) ... 218s Selecting previously unselected package uuid-dev:armhf. 218s Preparing to unpack .../27-uuid-dev_2.41.2-4ubuntu2_armhf.deb ... 218s Unpacking uuid-dev:armhf (2.41.2-4ubuntu2) ... 218s Selecting previously unselected package libblkid-dev:armhf. 218s Preparing to unpack .../28-libblkid-dev_2.41.2-4ubuntu2_armhf.deb ... 218s Unpacking libblkid-dev:armhf (2.41.2-4ubuntu2) ... 218s Selecting previously unselected package libsepol-dev:armhf. 218s Preparing to unpack .../29-libsepol-dev_3.9-2_armhf.deb ... 218s Unpacking libsepol-dev:armhf (3.9-2) ... 218s Selecting previously unselected package libpcre2-16-0:armhf. 218s Preparing to unpack .../30-libpcre2-16-0_10.46-1_armhf.deb ... 218s Unpacking libpcre2-16-0:armhf (10.46-1) ... 218s Selecting previously unselected package libpcre2-32-0:armhf. 218s Preparing to unpack .../31-libpcre2-32-0_10.46-1_armhf.deb ... 218s Unpacking libpcre2-32-0:armhf (10.46-1) ... 218s Selecting previously unselected package libpcre2-posix3:armhf. 218s Preparing to unpack .../32-libpcre2-posix3_10.46-1_armhf.deb ... 218s Unpacking libpcre2-posix3:armhf (10.46-1) ... 218s Selecting previously unselected package libpcre2-dev:armhf. 218s Preparing to unpack .../33-libpcre2-dev_10.46-1_armhf.deb ... 218s Unpacking libpcre2-dev:armhf (10.46-1) ... 218s Selecting previously unselected package libselinux-dev:armhf. 218s Preparing to unpack .../34-libselinux-dev_3.9-4_armhf.deb ... 218s Unpacking libselinux-dev:armhf (3.9-4) ... 218s Selecting previously unselected package libmount-dev:armhf. 218s Preparing to unpack .../35-libmount-dev_2.41.2-4ubuntu2_armhf.deb ... 218s Unpacking libmount-dev:armhf (2.41.2-4ubuntu2) ... 218s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 218s Preparing to unpack .../36-libsysprof-capture-4-dev_49.0-6_armhf.deb ... 218s Unpacking libsysprof-capture-4-dev:armhf (49.0-6) ... 218s Selecting previously unselected package libpkgconf3:armhf. 218s Preparing to unpack .../37-libpkgconf3_1.8.1-4build1_armhf.deb ... 218s Unpacking libpkgconf3:armhf (1.8.1-4build1) ... 218s Selecting previously unselected package pkgconf-bin. 218s Preparing to unpack .../38-pkgconf-bin_1.8.1-4build1_armhf.deb ... 218s Unpacking pkgconf-bin (1.8.1-4build1) ... 218s Selecting previously unselected package pkgconf:armhf. 218s Preparing to unpack .../39-pkgconf_1.8.1-4build1_armhf.deb ... 218s Unpacking pkgconf:armhf (1.8.1-4build1) ... 218s Selecting previously unselected package zlib1g-dev:armhf. 218s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_armhf.deb ... 218s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 218s Selecting previously unselected package libgio-2.0-dev:armhf. 218s Preparing to unpack .../41-libgio-2.0-dev_2.87.2-2_armhf.deb ... 218s Unpacking libgio-2.0-dev:armhf (2.87.2-2) ... 218s Setting up linux-libc-dev:armhf (6.19.0-3.3) ... 218s Setting up libgomp1:armhf (15.2.0-12ubuntu1) ... 218s Setting up libffi-dev:armhf (3.5.2-3) ... 218s Setting up libpcre2-16-0:armhf (10.46-1) ... 218s Setting up libsysprof-capture-4-dev:armhf (49.0-6) ... 218s Setting up libpcre2-32-0:armhf (10.46-1) ... 218s Setting up libpkgconf3:armhf (1.8.1-4build1) ... 218s Setting up rpcsvc-proto (1.4.3-1build1) ... 218s Setting up libmpc3:armhf (1.3.1-2) ... 218s Setting up libsepol-dev:armhf (3.9-2) ... 218s Setting up pkgconf-bin (1.8.1-4build1) ... 219s Setting up libubsan1:armhf (15.2.0-12ubuntu1) ... 219s Setting up libpcre2-posix3:armhf (10.46-1) ... 219s Setting up libcrypt-dev:armhf (1:4.5.1-1) ... 219s Setting up libasan8:armhf (15.2.0-12ubuntu1) ... 219s Setting up libisl23:armhf (0.27-1build1) ... 219s Setting up libc-dev-bin (2.42-2ubuntu4) ... 219s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 219s Setting up libcc1-0:armhf (15.2.0-12ubuntu1) ... 219s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 219s Setting up libgcc-15-dev:armhf (15.2.0-12ubuntu1) ... 219s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 219s Setting up pkgconf:armhf (1.8.1-4build1) ... 219s Setting up cpp-15 (15.2.0-12ubuntu1) ... 219s Setting up cpp (4:15.2.0-4ubuntu1) ... 219s Setting up libc6-dev:armhf (2.42-2ubuntu4) ... 219s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 219s Setting up libpcre2-dev:armhf (10.46-1) ... 219s Setting up gcc-15 (15.2.0-12ubuntu1) ... 219s Setting up libstdc++-15-dev:armhf (15.2.0-12ubuntu1) ... 219s Setting up uuid-dev:armhf (2.41.2-4ubuntu2) ... 219s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 219s Setting up libselinux-dev:armhf (3.9-4) ... 219s Setting up libblkid-dev:armhf (2.41.2-4ubuntu2) ... 219s Setting up g++-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 219s Setting up gcc (4:15.2.0-4ubuntu1) ... 219s Setting up g++-15 (15.2.0-12ubuntu1) ... 219s Setting up libmount-dev:armhf (2.41.2-4ubuntu2) ... 219s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 219s Setting up libgio-2.0-dev:armhf (2.87.2-2) ... 219s Setting up g++ (4:15.2.0-4ubuntu1) ... 219s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 219s Setting up build-essential (12.12ubuntu2) ... 219s Processing triggers for libc-bin (2.42-2ubuntu4) ... 219s Processing triggers for man-db (2.13.1-1build1) ... 220s Processing triggers for libglib2.0-0t64:armhf (2.87.2-2) ... 220s No schema files found: doing nothing. 220s Processing triggers for install-info (7.2-5) ... 227s autopkgtest [10:15:56]: test build: [----------------------- 229s + mode=dynamic 229s + getopt -o --long static -n debian/tests/build -- 229s + getopt_temp= -- 229s + eval set -- -- 229s + set -- -- 229s + true 229s + shift 229s + break 229s + mktemp -d 229s + WORKDIR=/tmp/tmp.IOBR2y5IgT 229s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 229s + cd /tmp/tmp.IOBR2y5IgT 229s + [ -n ] 229s + CROSS_COMPILE= 229s + cat 229s + cat 229s + cat 229s + cat 229s + cat 229s + cat 229s + cflags= 229s + pcflags= 229s + packages=glib-2.0 229s + pkg-config --cflags --libs glib-2.0 229s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 229s + echo build (glib, dynamic): OK 229s + [ -x glib-dynamic ] 229s + foo=bar ./glib-dynamic 229s + echo run (glib, dynamic): OK 229s + cflags= 229s + pcflags= 229s + packages=gobject-2.0 229s + pkg-config --cflags --libs gobject-2.0 229s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 229s build (glib, dynamic): OK 229s run (glib, dynamic): OK 230s + echo build (gobject, dynamic): OK 230s + [ -x gobject-dynamic ] 230s + foo=bar ./gobject-dynamic 230s + echo run (gobject, dynamic): OK 230s + cflags= 230s + pcflags= 230s + packages=gio-2.0 230s + pkg-config --cflags --libs gio-2.0 230s build (gobject, dynamic): OK 230s run (gobject, dynamic): OK 230s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 230s + echo build (gio, dynamic): OK 230s + [ -x gio-dynamic ] 230s + foo=bar ./gio-dynamic 230s + echo run (gio, dynamic): OK 230s + cflags= 230s + pcflags= 230s + packages=gio-unix-2.0 230s + pkg-config --cflags --libs gio-unix-2.0 230s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 230s build (gio, dynamic): OK 230s run (gio, dynamic): OK 230s build (gio-unix, dynamic): OK 230s + echo build (gio-unix, dynamic): OK 230s + [ -x gio-unix-dynamic ] 230s + foo=bar ./gio-unix-dynamic 230s run (gio-unix, dynamic): OK 230s + echo run (gio-unix, dynamic): OK 230s + cflags= 230s + pcflags= 230s + packages=gmodule-2.0 230s + pkg-config --cflags --libs gmodule-2.0 230s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 230s + echo build (gmodule, dynamic): OK 230s + [ -x gmodule-dynamic ] 230s + foo=bar ./gmodule-dynamic 230s build (gmodule, dynamic): OK 230s run (gmodule, dynamic): OK 230s + echo run (gmodule, dynamic): OK 230s + cflags= 230s + pcflags= 230s + packages=gthread-2.0 230s + pkg-config --cflags --libs gthread-2.0 230s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 230s + echo build (gthread, dynamic): OK 230s + [ -x gthread-dynamic ] 230s + foo=bar ./gthread-dynamic 230s build (gthread, dynamic): OK 230s + echo run (gthread, dynamic): OK 230s + rm -rf /tmp/tmp.IOBR2y5IgT 230s run (gthread, dynamic): OK 231s autopkgtest [10:16:00]: test build: -----------------------] 235s autopkgtest [10:16:04]: test build: - - - - - - - - - - results - - - - - - - - - - 235s build PASS (superficial) 238s autopkgtest [10:16:07]: test build-static: preparing testbed 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 241s Solving dependencies... 241s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 249s autopkgtest [10:16:18]: test build-static: [----------------------- 250s + mode=dynamic 250s + getopt -o --long static -n debian/tests/build -- --static 250s + getopt_temp= --static -- 250s + eval set -- --static -- 250s + set -- --static -- 250s + true 250s + mode=static 250s + shift 250s + continue 250s + true 250s + shift 250s + break 250s + mktemp -d 250s + WORKDIR=/tmp/tmp.5rrUpk4oUW 250s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 250s + cd /tmp/tmp.5rrUpk4oUW 250s + [ -n ] 250s + CROSS_COMPILE= 250s + cat 250s + cat 250s + cat 250s + cat 250s + cat 250s + cat 250s + cflags= 250s + pcflags= 250s + packages=glib-2.0 250s + cflags=-static 250s + pcflags=--static 251s + pkg-config --static --cflags --libs glib-2.0 251s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 251s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s build (glib, static): OK 251s + echo build (glib, static): OK 251s + [ -x glib-static ] 251s + foo=bar ./glib-static 251s run (glib, static): OK 251s + echo run (glib, static): OK 251s + cflags= 251s + pcflags= 251s + packages=gobject-2.0 251s + cflags=-static 251s + pcflags=--static 251s + pkg-config --static --cflags --libs gobject-2.0 251s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 251s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s build (gobject, static): OK 251s run (gobject, static): OK 251s + echo build (gobject, static): OK 251s + [ -x gobject-static ] 251s + foo=bar ./gobject-static 251s + echo run (gobject, static): OK 251s + cflags= 251s + pcflags= 251s + packages=gio-2.0 251s + cflags=-static 251s + pcflags=--static 251s + continue 251s + cflags= 251s + pcflags= 251s + packages=gio-unix-2.0 251s + cflags=-static 251s + pcflags=--static 251s + continue 251s + cflags= 251s + pcflags= 251s + packages=gmodule-2.0 251s + cflags=-static 251s + pcflags=--static 251s + pkg-config --static --cflags --libs gmodule-2.0 251s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 251s (.text+0x424): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 251s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s build (gmodule, static): OK 251s + echo build (gmodule, static): OK 251s + [ -x gmodule-static ] 251s + foo=bar ./gmodule-static 251s + echo run (gmodule, static): OK 251s + cflags= 251s + pcflags= 251s + packages=gthread-2.0 251s + cflags=-static 251s + pcflags=--static 251s + pkg-config --static --cflags --libs gthread-2.0 251s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 251s run (gmodule, static): OK 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 251s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 251s build (gthread, static): OK 251s + echo build (gthread, static): OK 251s + [ -x gthread-static ] 251s + foo=bar ./gthread-static 251s + echo run (gthread, static): OK 251s + rm -rf /tmp/tmp.5rrUpk4oUW 251s run (gthread, static): OK 252s autopkgtest [10:16:21]: test build-static: -----------------------] 255s build-static PASS (superficial) 255s autopkgtest [10:16:24]: test build-static: - - - - - - - - - - results - - - - - - - - - - 259s autopkgtest [10:16:28]: test girepository-tools: preparing testbed 283s autopkgtest [10:16:52]: testbed dpkg architecture: armhf 285s autopkgtest [10:16:54]: testbed apt version: 3.1.15 289s autopkgtest [10:16:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 291s autopkgtest [10:17:00]: testbed release detected to be: resolute 298s autopkgtest [10:17:07]: updating testbed package index (apt update) 300s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 301s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 301s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 301s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 301s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [165 kB] 301s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [29.4 kB] 301s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2744 B] 301s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1586 kB] 301s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [240 kB] 301s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1376 kB] 301s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6932 B] 301s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 302s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1407 kB] 302s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1374 kB] 303s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 306s Fetched 42.9 MB in 6s (7393 kB/s) 307s Reading package lists... 312s autopkgtest [10:17:21]: upgrading testbed (apt dist-upgrade and autopurge) 314s Reading package lists... 314s Building dependency tree... 314s Reading state information... 315s Calculating upgrade... 315s The following packages will be upgraded: 315s dpkg dpkg-dev libdpkg-perl 315s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 315s Need to get 2587 kB of archives. 315s After this operation, 141 kB disk space will be freed. 315s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg armhf 1.23.5ubuntu1 [1236 kB] 316s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg-dev all 1.23.5ubuntu1 [1062 kB] 316s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libdpkg-perl all 1.23.5ubuntu1 [289 kB] 316s Fetched 2587 kB in 1s (3628 kB/s) 316s (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 ... 68683 files and directories currently installed.) 316s Preparing to unpack .../dpkg_1.23.5ubuntu1_armhf.deb ... 316s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 317s Setting up dpkg (1.23.5ubuntu1) ... 317s (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 ... 68684 files and directories currently installed.) 317s Preparing to unpack .../dpkg-dev_1.23.5ubuntu1_all.deb ... 317s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 317s Preparing to unpack .../libdpkg-perl_1.23.5ubuntu1_all.deb ... 317s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 317s Setting up libdpkg-perl (1.23.5ubuntu1) ... 317s Setting up dpkg-dev (1.23.5ubuntu1) ... 317s Processing triggers for man-db (2.13.1-1build1) ... 321s Reading package lists... 321s Building dependency tree... 321s Reading state information... 321s Solving dependencies... 322s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 324s autopkgtest [10:17:33]: rebooting testbed after setup commands that affected boot 388s Reading package lists... 388s Building dependency tree... 388s Reading state information... 389s Solving dependencies... 389s The following NEW packages will be installed: 389s gir1.2-glib-2.0-dev girepository-tools native-architecture 389s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 389s Need to get 978 kB of archives. 389s After this operation, 12.3 MB of additional disk space will be used. 389s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-glib-2.0-dev armhf 2.87.2-2 [866 kB] 390s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6build1 [2256 B] 390s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.87.2-2 [109 kB] 390s Fetched 978 kB in 1s (1003 kB/s) 390s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 390s (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 ... 68677 files and directories currently installed.) 390s Preparing to unpack .../gir1.2-glib-2.0-dev_2.87.2-2_armhf.deb ... 390s Unpacking gir1.2-glib-2.0-dev:armhf (2.87.2-2) ... 390s Selecting previously unselected package native-architecture. 390s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 390s Unpacking native-architecture (0.2.6build1) ... 390s Selecting previously unselected package girepository-tools:armhf. 390s Preparing to unpack .../girepository-tools_2.87.2-2_armhf.deb ... 390s Unpacking girepository-tools:armhf (2.87.2-2) ... 391s Setting up native-architecture (0.2.6build1) ... 391s Setting up gir1.2-glib-2.0-dev:armhf (2.87.2-2) ... 391s Setting up girepository-tools:armhf (2.87.2-2) ... 391s Processing triggers for man-db (2.13.1-1build1) ... 414s autopkgtest [10:19:03]: test girepository-tools: [----------------------- 416s + cd /tmp/autopkgtest.cisMxd/autopkgtest_tmp 416s + dpkg-architecture -qDEB_HOST_GNU_TYPE 416s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 416s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 416s + dpkg-architecture -qDEB_HOST_MULTIARCH 416s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 416s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 416s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 416s typelib: GLib-2.0 416s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 416s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 417s autopkgtest [10:19:06]: test girepository-tools: -----------------------] 420s girepository-tools PASS (superficial) 420s autopkgtest [10:19:09]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 424s autopkgtest [10:19:13]: test libgio-2.0-dev-bin: preparing testbed 447s autopkgtest [10:19:36]: testbed dpkg architecture: armhf 449s autopkgtest [10:19:38]: testbed apt version: 3.1.15 453s autopkgtest [10:19:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 455s autopkgtest [10:19:44]: testbed release detected to be: resolute 462s autopkgtest [10:19:51]: updating testbed package index (apt update) 464s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 464s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 464s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 464s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 465s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2744 B] 465s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [165 kB] 465s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [29.4 kB] 465s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1586 kB] 465s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [240 kB] 465s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1376 kB] 465s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6932 B] 465s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1407 kB] 465s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 467s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1374 kB] 467s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 470s Fetched 42.9 MB in 6s (6749 kB/s) 471s Reading package lists... 477s autopkgtest [10:20:06]: upgrading testbed (apt dist-upgrade and autopurge) 479s Reading package lists... 479s Building dependency tree... 479s Reading state information... 480s Calculating upgrade... 480s The following packages will be upgraded: 480s dpkg dpkg-dev libdpkg-perl 480s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 480s Need to get 2587 kB of archives. 480s After this operation, 141 kB disk space will be freed. 480s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg armhf 1.23.5ubuntu1 [1236 kB] 481s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg-dev all 1.23.5ubuntu1 [1062 kB] 481s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libdpkg-perl all 1.23.5ubuntu1 [289 kB] 481s Fetched 2587 kB in 1s (3369 kB/s) 481s (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 ... 68683 files and directories currently installed.) 481s Preparing to unpack .../dpkg_1.23.5ubuntu1_armhf.deb ... 481s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 482s Setting up dpkg (1.23.5ubuntu1) ... 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 ... 68684 files and directories currently installed.) 482s Preparing to unpack .../dpkg-dev_1.23.5ubuntu1_all.deb ... 482s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 482s Preparing to unpack .../libdpkg-perl_1.23.5ubuntu1_all.deb ... 482s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 482s Setting up libdpkg-perl (1.23.5ubuntu1) ... 482s Setting up dpkg-dev (1.23.5ubuntu1) ... 482s Processing triggers for man-db (2.13.1-1build1) ... 486s Reading package lists... 486s Building dependency tree... 486s Reading state information... 486s Solving dependencies... 487s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 488s autopkgtest [10:20:17]: rebooting testbed after setup commands that affected boot 554s Reading package lists... 555s Building dependency tree... 555s Reading state information... 555s Solving dependencies... 555s The following NEW packages will be installed: 555s libgio-2.0-dev-bin 556s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 556s Need to get 131 kB of archives. 556s After this operation, 824 kB of additional disk space will be used. 556s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.87.2-2 [131 kB] 556s Fetched 131 kB in 0s (314 kB/s) 556s Selecting previously unselected package libgio-2.0-dev-bin. 556s (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 ... 68677 files and directories currently installed.) 556s Preparing to unpack .../libgio-2.0-dev-bin_2.87.2-2_armhf.deb ... 556s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 556s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 557s Processing triggers for man-db (2.13.1-1build1) ... 577s autopkgtest [10:21:46]: test libgio-2.0-dev-bin: [----------------------- 579s + gdbus-codegen --help 579s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 579s [--c-namespace NAMESPACE] [--c-generate-object-manager] 579s [--c-generate-autocleanup {none,objects,all}] 579s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 579s [--generate-rst OUTFILES] [--pragma-once] 579s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 579s [--glib-min-required VERSION] 579s [--glib-max-allowed VERSION] 579s [--symbol-decorator SYMBOL_DECORATOR] 579s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 579s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 579s [--extension-path EXTENSION_PATH] 579s [--generate-c-code OUTFILES | --header | --body | 579s --interface-info-header | --interface-info-body] 579s [--output FILE | --output-directory OUTDIR] 579s FILE [FILE ...] 579s 579s D-Bus code and documentation generator 579s 579s positional arguments: 579s FILE D-Bus introspection XML file 579s 579s options: 579s -h, --help show this help message and exit 579s --interface-prefix PREFIX 579s String to strip from D-Bus interface names for code 579s and docs 579s --c-namespace NAMESPACE 579s The namespace to use for generated C code 579s --c-generate-object-manager 579s Generate a GDBusObjectManagerClient subclass when 579s generating C code 579s --c-generate-autocleanup {none,objects,all} 579s Generate autocleanup support 579s --generate-docbook OUTFILES 579s Generate Docbook in OUTFILES-org.Project.IFace.xml 579s --generate-md OUTFILES 579s Generate Markdown in OUTFILES-org.Project.IFace.md 579s --generate-rst OUTFILES 579s Generate reStructuredText in OUTFILES- 579s org.Project.IFace.rst 579s --pragma-once Use "pragma once" as the inclusion guard 579s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 579s Add annotation (may be used several times) 579s --glib-min-required VERSION 579s Minimum version of GLib to be supported by the 579s outputted code (default: 2.30) 579s --glib-max-allowed VERSION 579s Maximum version of GLib to be used by the outputted 579s code (default: current GLib version) 579s --symbol-decorator SYMBOL_DECORATOR 579s Macro used to decorate a symbol in the outputted 579s header, possibly to export symbols 579s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 579s Additional header required for decorator specified by 579s --symbol-decorator 579s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 579s Additional define required for decorator specified by 579s --symbol-decorator 579s --extension-path EXTENSION_PATH 579s Path to a gdbus-codegen Python extension file 579s (unstable API) 579s --generate-c-code OUTFILES 579s Generate C code in OUTFILES.[ch] 579s --header Generate C headers 579s --body Generate C code 579s --interface-info-header 579s Generate GDBusInterfaceInfo C header 579s --interface-info-body 579s Generate GDBusInterfaceInfo C code 579s --output FILE Write output into the specified file 579s --output-directory OUTDIR 579s Location to output generated files 579s + glib-compile-resources --version 579s 2.87.2 579s + glib-genmarshal --version 580s glib-genmarshal version 2.87.2 580s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 580s You may redistribute copies of glib-genmarshal under the terms of 580s the GNU General Public License which can be found in the 580s GLib source package. Sources, examples and contact 580s information are available at http://www.gtk.org 580s + glib-gettextize --version 580s /usr/bin/glib-gettextize (GNU glib) 2.87.2 580s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 580s This is free software; see the source for copying conditions. There is NO 580s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 580s Written by Ulrich Drepper 580s + glib-mkenums --version 580s glib-mkenums version 2.87.2 580s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 580s You may redistribute copies of glib-mkenums under the terms of 580s the GNU General Public License which can be found in the 580s GLib source package. Sources, examples and contact 580s information are available at http://www.gtk.org 580s + gobject-query tree 580s GObject 580s + gtester --version 580s gtester version 2.87.2 580s + gtester-report --version 580s gtester-report (GLib utils) version 2.87.2. 580s autopkgtest [10:21:49]: test libgio-2.0-dev-bin: -----------------------] 584s libgio-2.0-dev-bin PASS (superficial) 584s autopkgtest [10:21:53]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 587s autopkgtest [10:21:56]: test libglib2.0-dev: preparing testbed 610s autopkgtest [10:22:19]: testbed dpkg architecture: armhf 612s autopkgtest [10:22:21]: testbed apt version: 3.1.15 616s autopkgtest [10:22:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 618s autopkgtest [10:22:27]: testbed release detected to be: resolute 625s autopkgtest [10:22:34]: updating testbed package index (apt update) 627s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 628s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 628s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 628s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 628s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [29.4 kB] 628s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [165 kB] 628s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2744 B] 628s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1586 kB] 629s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [240 kB] 629s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1376 kB] 629s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6932 B] 629s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1407 kB] 629s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 631s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1374 kB] 631s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 635s Fetched 42.9 MB in 8s (5617 kB/s) 636s Reading package lists... 641s autopkgtest [10:22:50]: upgrading testbed (apt dist-upgrade and autopurge) 643s Reading package lists... 643s Building dependency tree... 643s Reading state information... 644s Calculating upgrade... 644s The following packages will be upgraded: 644s dpkg dpkg-dev libdpkg-perl 644s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 644s Need to get 2587 kB of archives. 644s After this operation, 141 kB disk space will be freed. 644s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg armhf 1.23.5ubuntu1 [1236 kB] 645s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg-dev all 1.23.5ubuntu1 [1062 kB] 646s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libdpkg-perl all 1.23.5ubuntu1 [289 kB] 646s Fetched 2587 kB in 1s (1844 kB/s) 646s (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 ... 68683 files and directories currently installed.) 646s Preparing to unpack .../dpkg_1.23.5ubuntu1_armhf.deb ... 646s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 646s Setting up dpkg (1.23.5ubuntu1) ... 647s (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 ... 68684 files and directories currently installed.) 647s Preparing to unpack .../dpkg-dev_1.23.5ubuntu1_all.deb ... 647s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 647s Preparing to unpack .../libdpkg-perl_1.23.5ubuntu1_all.deb ... 647s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 647s Setting up libdpkg-perl (1.23.5ubuntu1) ... 647s Setting up dpkg-dev (1.23.5ubuntu1) ... 647s Processing triggers for man-db (2.13.1-1build1) ... 650s Reading package lists... 651s Building dependency tree... 651s Reading state information... 651s Solving dependencies... 651s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 653s autopkgtest [10:23:02]: rebooting testbed after setup commands that affected boot 716s Reading package lists... 717s Building dependency tree... 717s Reading state information... 717s Solving dependencies... 717s The following NEW packages will be installed: 717s build-essential cpp cpp-15 cpp-15-arm-linux-gnueabihf 717s cpp-arm-linux-gnueabihf g++ g++-15 g++-15-arm-linux-gnueabihf 717s g++-arm-linux-gnueabihf gcc gcc-15 gcc-15-arm-linux-gnueabihf 717s gcc-arm-linux-gnueabihf gir1.2-glib-2.0-dev girepository-tools libasan8 717s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 717s libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin 717s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libmount-dev libmpc3 717s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 717s libselinux-dev libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev 717s libubsan1 linux-libc-dev native-architecture pkgconf pkgconf-bin 717s rpcsvc-proto uuid-dev zlib1g-dev 718s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 718s Need to get 59.4 MB of archives. 718s After this operation, 183 MB of additional disk space will be used. 718s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-2ubuntu4 [21.8 kB] 718s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.19.0-3.3 [1804 kB] 718s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.5.1-1 [128 kB] 718s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1build1 [62.6 kB] 718s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-2ubuntu4 [1416 kB] 718s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1build1 [553 kB] 718s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-2 [47.0 kB] 718s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-12ubuntu1 [10.1 MB] 719s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-12ubuntu1 [1032 B] 719s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 719s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 719s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-12ubuntu1 [43.5 kB] 719s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-12ubuntu1 [129 kB] 719s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-12ubuntu1 [2949 kB] 719s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-12ubuntu1 [1187 kB] 719s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-12ubuntu1 [898 kB] 719s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-12ubuntu1 [19.5 MB] 720s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-12ubuntu1 [499 kB] 720s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 720s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 720s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-12ubuntu1 [2638 kB] 720s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-12ubuntu1 [11.4 MB] 720s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-12ubuntu1 [25.3 kB] 720s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 720s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 720s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu2 [5256 B] 720s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-glib-2.0-dev armhf 2.87.2-2 [866 kB] 720s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6build1 [2256 B] 720s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.87.2-2 [109 kB] 720s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf libffi-dev armhf 3.5.2-3 [60.5 kB] 720s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf uuid-dev armhf 2.41.2-4ubuntu2 [55.6 kB] 720s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf libblkid-dev armhf 2.41.2-4ubuntu2 [224 kB] 720s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libsepol-dev armhf 3.9-2 [384 kB] 720s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-16-0 armhf 10.46-1 [206 kB] 720s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-32-0 armhf 10.46-1 [197 kB] 720s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-posix3 armhf 10.46-1 [6286 B] 720s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-dev armhf 10.46-1 [744 kB] 720s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf libselinux-dev armhf 3.9-4 [169 kB] 720s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf libmount-dev armhf 2.41.2-4ubuntu2 [37.6 kB] 720s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf libsysprof-capture-4-dev armhf 49.0-6 [49.3 kB] 720s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf libpkgconf3 armhf 1.8.1-4build1 [26.6 kB] 720s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf-bin armhf 1.8.1-4build1 [21.4 kB] 721s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf armhf 1.8.1-4build1 [16.8 kB] 721s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu2 [881 kB] 721s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev armhf 2.87.2-2 [1733 kB] 721s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.87.2-2 [131 kB] 721s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-bin armhf 2.87.2-2 [92.4 kB] 721s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev-bin armhf 2.87.2-2 [18.1 kB] 721s Get:49 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev armhf 2.87.2-2 [18.8 kB] 721s Fetched 59.4 MB in 3s (18.8 MB/s) 721s Selecting previously unselected package libc-dev-bin. 721s (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 ... 68677 files and directories currently installed.) 721s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_armhf.deb ... 721s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 721s Selecting previously unselected package linux-libc-dev:armhf. 721s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_armhf.deb ... 721s Unpacking linux-libc-dev:armhf (6.19.0-3.3) ... 721s Selecting previously unselected package libcrypt-dev:armhf. 721s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_armhf.deb ... 721s Unpacking libcrypt-dev:armhf (1:4.5.1-1) ... 721s Selecting previously unselected package rpcsvc-proto. 721s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_armhf.deb ... 721s Unpacking rpcsvc-proto (1.4.3-1build1) ... 721s Selecting previously unselected package libc6-dev:armhf. 721s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_armhf.deb ... 721s Unpacking libc6-dev:armhf (2.42-2ubuntu4) ... 721s Selecting previously unselected package libisl23:armhf. 721s Preparing to unpack .../05-libisl23_0.27-1build1_armhf.deb ... 721s Unpacking libisl23:armhf (0.27-1build1) ... 721s Selecting previously unselected package libmpc3:armhf. 721s Preparing to unpack .../06-libmpc3_1.3.1-2_armhf.deb ... 721s Unpacking libmpc3:armhf (1.3.1-2) ... 721s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 721s Preparing to unpack .../07-cpp-15-arm-linux-gnueabihf_15.2.0-12ubuntu1_armhf.deb ... 721s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package cpp-15. 722s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package cpp-arm-linux-gnueabihf. 722s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 722s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 722s Selecting previously unselected package cpp. 722s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 722s Unpacking cpp (4:15.2.0-4ubuntu1) ... 722s Selecting previously unselected package libcc1-0:armhf. 722s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking libcc1-0:armhf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package libgomp1:armhf. 722s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking libgomp1:armhf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package libasan8:armhf. 722s Preparing to unpack .../13-libasan8_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking libasan8:armhf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package libubsan1:armhf. 722s Preparing to unpack .../14-libubsan1_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking libubsan1:armhf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package libgcc-15-dev:armhf. 722s Preparing to unpack .../15-libgcc-15-dev_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking libgcc-15-dev:armhf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 722s Preparing to unpack .../16-gcc-15-arm-linux-gnueabihf_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 722s Selecting previously unselected package gcc-15. 722s Preparing to unpack .../17-gcc-15_15.2.0-12ubuntu1_armhf.deb ... 722s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 723s Selecting previously unselected package gcc-arm-linux-gnueabihf. 723s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 723s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 723s Selecting previously unselected package gcc. 723s Preparing to unpack .../19-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 723s Unpacking gcc (4:15.2.0-4ubuntu1) ... 723s Selecting previously unselected package libstdc++-15-dev:armhf. 723s Preparing to unpack .../20-libstdc++-15-dev_15.2.0-12ubuntu1_armhf.deb ... 723s Unpacking libstdc++-15-dev:armhf (15.2.0-12ubuntu1) ... 723s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 723s Preparing to unpack .../21-g++-15-arm-linux-gnueabihf_15.2.0-12ubuntu1_armhf.deb ... 723s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 723s Selecting previously unselected package g++-15. 723s Preparing to unpack .../22-g++-15_15.2.0-12ubuntu1_armhf.deb ... 723s Unpacking g++-15 (15.2.0-12ubuntu1) ... 723s Selecting previously unselected package g++-arm-linux-gnueabihf. 723s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 723s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 723s Selecting previously unselected package g++. 723s Preparing to unpack .../24-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 723s Unpacking g++ (4:15.2.0-4ubuntu1) ... 723s Selecting previously unselected package build-essential. 723s Preparing to unpack .../25-build-essential_12.12ubuntu2_armhf.deb ... 723s Unpacking build-essential (12.12ubuntu2) ... 723s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 723s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.87.2-2_armhf.deb ... 723s Unpacking gir1.2-glib-2.0-dev:armhf (2.87.2-2) ... 723s Selecting previously unselected package native-architecture. 723s Preparing to unpack .../27-native-architecture_0.2.6build1_all.deb ... 723s Unpacking native-architecture (0.2.6build1) ... 723s Selecting previously unselected package girepository-tools:armhf. 723s Preparing to unpack .../28-girepository-tools_2.87.2-2_armhf.deb ... 723s Unpacking girepository-tools:armhf (2.87.2-2) ... 723s Selecting previously unselected package libffi-dev:armhf. 723s Preparing to unpack .../29-libffi-dev_3.5.2-3_armhf.deb ... 723s Unpacking libffi-dev:armhf (3.5.2-3) ... 723s Selecting previously unselected package uuid-dev:armhf. 723s Preparing to unpack .../30-uuid-dev_2.41.2-4ubuntu2_armhf.deb ... 723s Unpacking uuid-dev:armhf (2.41.2-4ubuntu2) ... 723s Selecting previously unselected package libblkid-dev:armhf. 723s Preparing to unpack .../31-libblkid-dev_2.41.2-4ubuntu2_armhf.deb ... 723s Unpacking libblkid-dev:armhf (2.41.2-4ubuntu2) ... 723s Selecting previously unselected package libsepol-dev:armhf. 723s Preparing to unpack .../32-libsepol-dev_3.9-2_armhf.deb ... 723s Unpacking libsepol-dev:armhf (3.9-2) ... 723s Selecting previously unselected package libpcre2-16-0:armhf. 723s Preparing to unpack .../33-libpcre2-16-0_10.46-1_armhf.deb ... 723s Unpacking libpcre2-16-0:armhf (10.46-1) ... 723s Selecting previously unselected package libpcre2-32-0:armhf. 723s Preparing to unpack .../34-libpcre2-32-0_10.46-1_armhf.deb ... 723s Unpacking libpcre2-32-0:armhf (10.46-1) ... 723s Selecting previously unselected package libpcre2-posix3:armhf. 724s Preparing to unpack .../35-libpcre2-posix3_10.46-1_armhf.deb ... 724s Unpacking libpcre2-posix3:armhf (10.46-1) ... 724s Selecting previously unselected package libpcre2-dev:armhf. 724s Preparing to unpack .../36-libpcre2-dev_10.46-1_armhf.deb ... 724s Unpacking libpcre2-dev:armhf (10.46-1) ... 724s Selecting previously unselected package libselinux-dev:armhf. 724s Preparing to unpack .../37-libselinux-dev_3.9-4_armhf.deb ... 724s Unpacking libselinux-dev:armhf (3.9-4) ... 724s Selecting previously unselected package libmount-dev:armhf. 724s Preparing to unpack .../38-libmount-dev_2.41.2-4ubuntu2_armhf.deb ... 724s Unpacking libmount-dev:armhf (2.41.2-4ubuntu2) ... 724s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 724s Preparing to unpack .../39-libsysprof-capture-4-dev_49.0-6_armhf.deb ... 724s Unpacking libsysprof-capture-4-dev:armhf (49.0-6) ... 724s Selecting previously unselected package libpkgconf3:armhf. 724s Preparing to unpack .../40-libpkgconf3_1.8.1-4build1_armhf.deb ... 724s Unpacking libpkgconf3:armhf (1.8.1-4build1) ... 724s Selecting previously unselected package pkgconf-bin. 724s Preparing to unpack .../41-pkgconf-bin_1.8.1-4build1_armhf.deb ... 724s Unpacking pkgconf-bin (1.8.1-4build1) ... 724s Selecting previously unselected package pkgconf:armhf. 724s Preparing to unpack .../42-pkgconf_1.8.1-4build1_armhf.deb ... 724s Unpacking pkgconf:armhf (1.8.1-4build1) ... 724s Selecting previously unselected package zlib1g-dev:armhf. 724s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_armhf.deb ... 724s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 724s Selecting previously unselected package libgio-2.0-dev:armhf. 724s Preparing to unpack .../44-libgio-2.0-dev_2.87.2-2_armhf.deb ... 724s Unpacking libgio-2.0-dev:armhf (2.87.2-2) ... 724s Selecting previously unselected package libgio-2.0-dev-bin. 724s Preparing to unpack .../45-libgio-2.0-dev-bin_2.87.2-2_armhf.deb ... 724s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 724s Selecting previously unselected package libglib2.0-bin. 724s Preparing to unpack .../46-libglib2.0-bin_2.87.2-2_armhf.deb ... 724s Unpacking libglib2.0-bin (2.87.2-2) ... 724s Selecting previously unselected package libglib2.0-dev-bin. 724s Preparing to unpack .../47-libglib2.0-dev-bin_2.87.2-2_armhf.deb ... 724s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 724s Selecting previously unselected package libglib2.0-dev:armhf. 724s Preparing to unpack .../48-libglib2.0-dev_2.87.2-2_armhf.deb ... 724s Unpacking libglib2.0-dev:armhf (2.87.2-2) ... 724s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 724s Setting up native-architecture (0.2.6build1) ... 724s Setting up linux-libc-dev:armhf (6.19.0-3.3) ... 724s Setting up libglib2.0-bin (2.87.2-2) ... 724s Setting up libgomp1:armhf (15.2.0-12ubuntu1) ... 724s Setting up libffi-dev:armhf (3.5.2-3) ... 724s Setting up libpcre2-16-0:armhf (10.46-1) ... 724s Setting up libsysprof-capture-4-dev:armhf (49.0-6) ... 724s Setting up libpcre2-32-0:armhf (10.46-1) ... 724s Setting up libpkgconf3:armhf (1.8.1-4build1) ... 724s Setting up rpcsvc-proto (1.4.3-1build1) ... 724s Setting up libmpc3:armhf (1.3.1-2) ... 724s Setting up libsepol-dev:armhf (3.9-2) ... 724s Setting up pkgconf-bin (1.8.1-4build1) ... 724s Setting up libubsan1:armhf (15.2.0-12ubuntu1) ... 724s Setting up libpcre2-posix3:armhf (10.46-1) ... 724s Setting up gir1.2-glib-2.0-dev:armhf (2.87.2-2) ... 724s Setting up libcrypt-dev:armhf (1:4.5.1-1) ... 724s Setting up libasan8:armhf (15.2.0-12ubuntu1) ... 724s Setting up libisl23:armhf (0.27-1build1) ... 724s Setting up libc-dev-bin (2.42-2ubuntu4) ... 724s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 724s Setting up libcc1-0:armhf (15.2.0-12ubuntu1) ... 724s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 724s Setting up girepository-tools:armhf (2.87.2-2) ... 724s Setting up libgcc-15-dev:armhf (15.2.0-12ubuntu1) ... 724s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 724s Setting up pkgconf:armhf (1.8.1-4build1) ... 724s Setting up cpp-15 (15.2.0-12ubuntu1) ... 724s Setting up cpp (4:15.2.0-4ubuntu1) ... 724s Setting up libc6-dev:armhf (2.42-2ubuntu4) ... 724s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 724s Setting up libglib2.0-dev-bin (2.87.2-2) ... 724s Setting up libpcre2-dev:armhf (10.46-1) ... 724s Setting up gcc-15 (15.2.0-12ubuntu1) ... 724s Setting up libstdc++-15-dev:armhf (15.2.0-12ubuntu1) ... 724s Setting up uuid-dev:armhf (2.41.2-4ubuntu2) ... 724s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 724s Setting up libselinux-dev:armhf (3.9-4) ... 724s Setting up libblkid-dev:armhf (2.41.2-4ubuntu2) ... 724s Setting up g++-15-arm-linux-gnueabihf (15.2.0-12ubuntu1) ... 724s Setting up gcc (4:15.2.0-4ubuntu1) ... 724s Setting up g++-15 (15.2.0-12ubuntu1) ... 724s Setting up libmount-dev:armhf (2.41.2-4ubuntu2) ... 724s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 724s Setting up libgio-2.0-dev:armhf (2.87.2-2) ... 724s Setting up g++ (4:15.2.0-4ubuntu1) ... 724s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 724s Setting up build-essential (12.12ubuntu2) ... 724s Processing triggers for install-info (7.2-5) ... 725s Processing triggers for libc-bin (2.42-2ubuntu4) ... 725s Processing triggers for man-db (2.13.1-1build1) ... 726s Processing triggers for libglib2.0-0t64:armhf (2.87.2-2) ... 726s No schema files found: doing nothing. 726s Setting up libglib2.0-dev:armhf (2.87.2-2) ... 748s autopkgtest [10:24:37]: test libglib2.0-dev: [----------------------- 750s + debian/tests/build 750s + mode=dynamic 750s + getopt -o --long static -n debian/tests/build -- 750s + getopt_temp= -- 750s + eval set -- -- 750s + set -- -- 750s + true 750s + shift 750s + break 750s + mktemp -d 750s + WORKDIR=/tmp/tmp.U2en7cYY38 750s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 750s + cd /tmp/tmp.U2en7cYY38 750s + [ -n ] 750s + CROSS_COMPILE= 750s + cat 750s + cat 750s + cat 750s + cat 750s + cat 750s + cat 750s + cflags= 750s + pcflags= 750s + packages=glib-2.0 750s + pkg-config --cflags --libs glib-2.0 750s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 750s + echo build (glib, dynamic): OK 750s + [ -x glib-dynamic ] 750s + foo=bar ./glib-dynamic 750s + echo run (glib, dynamic): OK 750s + cflags= 750s + pcflags= 750s + packages=gobject-2.0 750s + pkg-config --cflags --libs gobject-2.0 750s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 750s build (glib, dynamic): OK 750s run (glib, dynamic): OK 750s + echo build (gobject, dynamic): OK 750s + [ -x gobject-dynamic ] 750s + foo=bar ./gobject-dynamic 750s + echo run (gobject, dynamic): OK 750s + cflags= 750s + pcflags= 750s + packages=gio-2.0 750s + pkg-config --cflags --libs gio-2.0 750s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 750s build (gobject, dynamic): OK 750s run (gobject, dynamic): OK 750s build (gio, dynamic): OK 750s + echo build (gio, dynamic): OK 750s + [ -x gio-dynamic ] 750s + foo=bar ./gio-dynamic 750s run (gio, dynamic): OK 750s + echo run (gio, dynamic): OK 750s + cflags= 750s + pcflags= 750s + packages=gio-unix-2.0 750s + pkg-config --cflags --libs gio-unix-2.0 750s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 750s + echo build (gio-unix, dynamic): OK 750s + [ -x gio-unix-dynamic ] 750s + foo=bar ./gio-unix-dynamic 750s build (gio-unix, dynamic): OK 750s run (gio-unix, dynamic): OK 750s + echo run (gio-unix, dynamic): OK 750s + cflags= 750s + pcflags= 750s + packages=gmodule-2.0 750s + pkg-config --cflags --libs gmodule-2.0 750s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 751s build (gmodule, dynamic): OK 751s run (gmodule, dynamic): OK 751s + echo build (gmodule, dynamic): OK 751s + [ -x gmodule-dynamic ] 751s + foo=bar ./gmodule-dynamic 751s + echo run (gmodule, dynamic): OK 751s + cflags= 751s + pcflags= 751s + packages=gthread-2.0 751s + pkg-config --cflags --libs gthread-2.0 751s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 751s + echo build (gthread, dynamic): OK 751s + [ -x gthread-dynamic ] 751s + foo=bar ./gthread-dynamic 751s + echo run (gthread, dynamic): OK 751s + rm -rf /tmp/tmp.U2en7cYY38 751s + debian/tests/build-static 751s + mode=dynamic 751s build (gthread, dynamic): OK 751s + getopt -o --long static -n debian/tests/build -- --static 751s + getopt_temp= --static -- 751s + eval set -- --static -- 751s + set -- --static -- 751s + true 751s + mode=static 751s + shift 751s + continue 751s + true 751s + shift 751s + break 751s + mktemp -d 751s run (gthread, dynamic): OK 751s + WORKDIR=/tmp/tmp.dLt0JPBAzE 751s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 751s + cd /tmp/tmp.dLt0JPBAzE 751s + [ -n ] 751s + CROSS_COMPILE= 751s + cat 751s + cat 751s + cat 751s + cat 751s + cat 751s + cat 751s + cflags= 751s + pcflags= 751s + packages=glib-2.0 751s + cflags=-static 751s + pcflags=--static 751s + pkg-config --static --cflags --libs glib-2.0 751s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 751s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s build (glib, static): OK 751s + echo build (glib, static): OK 751s + [ -x glib-static ] 751s + foo=bar ./glib-static 751s run (glib, static): OK 751s + echo run (glib, static): OK 751s + cflags= 751s + pcflags= 751s + packages=gobject-2.0 751s + cflags=-static 751s + pcflags=--static 751s + pkg-config --static --cflags --libs gobject-2.0 751s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 751s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s build (gobject, static): OK 751s run (gobject, static): OK 751s + echo build (gobject, static): OK 751s + [ -x gobject-static ] 751s + foo=bar ./gobject-static 751s + echo run (gobject, static): OK 751s + cflags= 751s + pcflags= 751s + packages=gio-2.0 751s + cflags=-static 751s + pcflags=--static 751s + continue 751s + cflags= 751s + pcflags= 751s + packages=gio-unix-2.0 751s + cflags=-static 751s + pcflags=--static 751s + continue 751s + cflags= 751s + pcflags= 751s + packages=gmodule-2.0 751s + cflags=-static 751s + pcflags=--static 751s + pkg-config --static --cflags --libs gmodule-2.0 751s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 751s (.text+0x424): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 751s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s build (gmodule, static): OK 751s run (gmodule, static): OK 751s + echo build (gmodule, static): OK 751s + [ -x gmodule-static ] 751s + foo=bar ./gmodule-static 751s + echo run (gmodule, static): OK 751s + cflags= 751s + pcflags= 751s + packages=gthread-2.0 751s + cflags=-static 751s + pcflags=--static 751s + pkg-config --static --cflags --libs gthread-2.0 751s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: /usr/lib/gcc/arm-linux-gnueabihf/15/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 751s (.text+0x92): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0x19c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s /usr/bin/arm-linux-gnueabihf-ld.bfd: (.text+0xba): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 751s build (gthread, static): OK 751s + echo build (gthread, static): OK 751s + [ -x gthread-static ] 751s + foo=bar ./gthread-static 751s run (gthread, static): OK 751s + echo run (gthread, static): OK 751s + rm -rf /tmp/tmp.dLt0JPBAzE 751s + debian/tests/girepository-tools 751s + cd /tmp/autopkgtest.cisMxd/autopkgtest_tmp 751s + dpkg-architecture -qDEB_HOST_GNU_TYPE 751s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 751s + dpkg-architecture -qDEB_HOST_MULTIARCH 751s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 751s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 751s typelib: GLib-2.0 751s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 752s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 752s + debian/tests/libgio-2.0-dev-bin 752s + gdbus-codegen --help 752s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 752s [--c-namespace NAMESPACE] [--c-generate-object-manager] 752s [--c-generate-autocleanup {none,objects,all}] 752s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 752s [--generate-rst OUTFILES] [--pragma-once] 752s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 752s [--glib-min-required VERSION] 752s [--glib-max-allowed VERSION] 752s [--symbol-decorator SYMBOL_DECORATOR] 752s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 752s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 752s [--extension-path EXTENSION_PATH] 752s [--generate-c-code OUTFILES | --header | --body | 752s --interface-info-header | --interface-info-body] 752s [--output FILE | --output-directory OUTDIR] 752s FILE [FILE ...] 752s 752s D-Bus code and documentation generator 752s 752s positional arguments: 752s FILE D-Bus introspection XML file 752s 752s options: 752s -h, --help show this help message and exit 752s --interface-prefix PREFIX 752s String to strip from D-Bus interface names for code 752s and docs 752s --c-namespace NAMESPACE 752s The namespace to use for generated C code 752s --c-generate-object-manager 752s Generate a GDBusObjectManagerClient subclass when 752s generating C code 752s --c-generate-autocleanup {none,objects,all} 752s Generate autocleanup support 752s --generate-docbook OUTFILES 752s Generate Docbook in OUTFILES-org.Project.IFace.xml 752s --generate-md OUTFILES 752s Generate Markdown in OUTFILES-org.Project.IFace.md 752s --generate-rst OUTFILES 752s Generate reStructuredText in OUTFILES- 752s org.Project.IFace.rst 752s --pragma-once Use "pragma once" as the inclusion guard 752s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 752s Add annotation (may be used several times) 752s --glib-min-required VERSION 752s Minimum version of GLib to be supported by the 752s outputted code (default: 2.30) 752s --glib-max-allowed VERSION 752s Maximum version of GLib to be used by the outputted 752s code (default: current GLib version) 752s --symbol-decorator SYMBOL_DECORATOR 752s Macro used to decorate a symbol in the outputted 752s header, possibly to export symbols 752s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 752s Additional header required for decorator specified by 752s --symbol-decorator 752s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 752s Additional define required for decorator specified by 752s --symbol-decorator 752s --extension-path EXTENSION_PATH 752s Path to a gdbus-codegen Python extension file 752s (unstable API) 752s --generate-c-code OUTFILES 752s Generate C code in OUTFILES.[ch] 752s --header Generate C headers 752s --body Generate C code 752s --interface-info-header 752s Generate GDBusInterfaceInfo C header 752s --interface-info-body 752s Generate GDBusInterfaceInfo C code 752s --output FILE Write output into the specified file 752s --output-directory OUTDIR 752s Location to output generated files 752s + glib-compile-resources --version 752s + glib-genmarshal --version 752s 2.87.2 752s glib-genmarshal version 2.87.2 752s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 752s You may redistribute copies of glib-genmarshal under the terms of 752s the GNU General Public License which can be found in the 752s GLib source package. Sources, examples and contact 752s information are available at http://www.gtk.org 752s /usr/bin/glib-gettextize (GNU glib) 2.87.2 752s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 752s This is free software; see the source for copying conditions. There is NO 752s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 752s Written by Ulrich Drepper 752s + glib-gettextize --version 752s + glib-mkenums --version 752s glib-mkenums version 2.87.2 752s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 752s You may redistribute copies of glib-mkenums under the terms of 752s the GNU General Public License which can be found in the 752s GLib source package. Sources, examples and contact 752s information are available at http://www.gtk.org 752s + gobject-query tree 752s GObject 752s + gtester --version 752s gtester version 2.87.2 752s + gtester-report --version 752s gtester-report (GLib utils) version 2.87.2. 752s + cd /tmp/autopkgtest.cisMxd/autopkgtest_tmp 752s + dpkg-architecture -qDEB_HOST_MULTIARCH 752s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 752s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 752s typelib: GLib-2.0 752s + gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 752s + gi-decompile-typelib -o GLib.gir GLib.typelib 752s autopkgtest [10:24:41]: test libglib2.0-dev: -----------------------] 756s autopkgtest [10:24:45]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 756s libglib2.0-dev PASS (superficial) 760s autopkgtest [10:24:49]: test installed-tests: preparing testbed 782s autopkgtest [10:25:11]: testbed dpkg architecture: armhf 784s autopkgtest [10:25:13]: testbed apt version: 3.1.15 788s autopkgtest [10:25:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 789s autopkgtest [10:25:18]: testbed release detected to be: resolute 797s autopkgtest [10:25:26]: updating testbed package index (apt update) 799s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 799s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 799s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 799s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 799s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2744 B] 799s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [29.4 kB] 799s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1586 kB] 800s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [165 kB] 800s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [240 kB] 800s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1376 kB] 800s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6932 B] 800s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 803s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1407 kB] 803s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1374 kB] 803s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 806s Fetched 42.9 MB in 8s (5553 kB/s) 807s Reading package lists... 813s autopkgtest [10:25:42]: upgrading testbed (apt dist-upgrade and autopurge) 815s Reading package lists... 815s Building dependency tree... 815s Reading state information... 815s Calculating upgrade... 816s The following packages will be upgraded: 816s dpkg dpkg-dev libdpkg-perl 816s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 816s Need to get 2587 kB of archives. 816s After this operation, 141 kB disk space will be freed. 816s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg armhf 1.23.5ubuntu1 [1236 kB] 816s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg-dev all 1.23.5ubuntu1 [1062 kB] 816s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libdpkg-perl all 1.23.5ubuntu1 [289 kB] 817s Fetched 2587 kB in 1s (3638 kB/s) 817s (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 ... 68683 files and directories currently installed.) 817s Preparing to unpack .../dpkg_1.23.5ubuntu1_armhf.deb ... 817s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 817s Setting up dpkg (1.23.5ubuntu1) ... 817s (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 ... 68684 files and directories currently installed.) 818s Preparing to unpack .../dpkg-dev_1.23.5ubuntu1_all.deb ... 818s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 818s Preparing to unpack .../libdpkg-perl_1.23.5ubuntu1_all.deb ... 818s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 818s Setting up libdpkg-perl (1.23.5ubuntu1) ... 818s Setting up dpkg-dev (1.23.5ubuntu1) ... 818s Processing triggers for man-db (2.13.1-1build1) ... 821s Reading package lists... 821s Building dependency tree... 821s Reading state information... 821s Solving dependencies... 822s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 824s autopkgtest [10:25:53]: rebooting testbed after setup commands that affected boot 888s Reading package lists... 888s Building dependency tree... 888s Reading state information... 888s Solving dependencies... 889s The following NEW packages will be installed: 889s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 889s gnome-desktop-testing libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 889s libgl1 libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests 889s libglvnd0 libglx-mesa0 libglx0 libice6 libllvm21 libpixman-1-0 889s libpython3.14-minimal libpython3.14-stdlib libsm6 libvulkan1 libx11-xcb1 889s libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 889s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 889s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 889s native-architecture python3-dbusmock python3.14 python3.14-minimal 889s tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 889s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 889s Need to get 52.4 MB of archives. 889s After this operation, 234 MB of additional disk space will be used. 889s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.2-1 [905 kB] 889s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.2-1 [2155 kB] 889s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf dbus-x11 armhf 1.16.2-2ubuntu3 [22.7 kB] 889s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf desktop-file-utils armhf 0.28-1build1 [48.4 kB] 889s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-glib-2.0-dev armhf 2.87.2-2 [866 kB] 890s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6build1 [2256 B] 890s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.87.2-2 [109 kB] 890s Get:8 http://ftpmaster.internal/ubuntu resolute/universe armhf gnome-desktop-testing armhf 2021.1-5 [16.0 kB] 890s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libfontenc1 armhf 1:1.1.8-1build2 [11.7 kB] 890s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libfreetype6 armhf 2.14.1+dfsg-2 [345 kB] 890s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libllvm21 armhf 1:21.1.8-1ubuntu1 [30.3 MB] 890s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libx11-xcb1 armhf 2:1.8.12-1build1 [7920 B] 890s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-dri3-0 armhf 1.17.0-2ubuntu1 [7342 B] 890s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-present0 armhf 1.17.0-2ubuntu1 [6080 B] 890s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-randr0 armhf 1.17.0-2ubuntu1 [16.9 kB] 890s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-sync1 armhf 1.17.0-2ubuntu1 [8840 B] 890s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-xfixes0 armhf 1.17.0-2ubuntu1 [10.2 kB] 890s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libxshmfence1 armhf 1.3.3-1build1 [5000 B] 890s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf mesa-libgallium armhf 25.3.3-1ubuntu1 [8874 kB] 891s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libgbm1 armhf 25.3.3-1ubuntu1 [30.0 kB] 891s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.87.2-2 [131 kB] 891s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf libvulkan1 armhf 1.4.335.0-1 [137 kB] 891s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libgl1-mesa-dri armhf 25.3.3-1ubuntu1 [32.7 kB] 891s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-bin armhf 2.87.2-2 [92.4 kB] 891s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev-bin armhf 2.87.2-2 [18.1 kB] 891s Get:26 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-dbusmock all 0.38.1-1 [92.0 kB] 891s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 891s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.2-1 [2270 kB] 891s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.2-1 [816 kB] 891s Get:30 http://ftpmaster.internal/ubuntu resolute/universe armhf libglib2.0-tests armhf 2.87.2-2 [2891 kB] 891s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-glx0 armhf 1.17.0-2ubuntu1 [22.8 kB] 891s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf libxcb-shm0 armhf 1.17.0-2ubuntu1 [5956 B] 891s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libxxf86vm1 armhf 1:1.1.4-2 [9110 B] 891s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf libglx-mesa0 armhf 25.3.3-1ubuntu1 [87.3 kB] 891s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf x11-common all 1:7.7+24ubuntu1 [22.4 kB] 891s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libice6 armhf 2:1.1.1-1build1 [37.5 kB] 891s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libpixman-1-0 armhf 0.46.4-1 [196 kB] 891s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf libsm6 armhf 2:1.2.6-1build1 [15.3 kB] 891s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf libxt6t64 armhf 1:1.2.1-1.3 [145 kB] 891s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf libxmu6 armhf 2:1.1.3-4 [41.2 kB] 891s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf libxpm4 armhf 1:3.5.17-1build3 [31.1 kB] 891s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libxaw7 armhf 2:1.0.16-1build1 [156 kB] 891s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf libxfont2 armhf 1:2.0.6-2 [82.7 kB] 891s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf libxkbfile1 armhf 1:1.1.0-1build5 [60.6 kB] 891s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf libxrender1 armhf 1:0.9.12-1 [16.6 kB] 891s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf libxrandr2 armhf 2:1.5.4-1build1 [15.6 kB] 891s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf x11-xkb-utils armhf 7.7+9build1 [159 kB] 891s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 891s Get:49 http://ftpmaster.internal/ubuntu resolute/main armhf libglvnd0 armhf 1.7.0-3 [71.3 kB] 891s Get:50 http://ftpmaster.internal/ubuntu resolute/main armhf libglx0 armhf 1.7.0-3 [37.9 kB] 891s Get:51 http://ftpmaster.internal/ubuntu resolute/main armhf libgl1 armhf 1.7.0-3 [102 kB] 891s Get:52 http://ftpmaster.internal/ubuntu resolute/universe armhf xvfb armhf 2:21.1.21-1ubuntu1 [744 kB] 892s Fetched 52.4 MB in 2s (22.2 MB/s) 892s Selecting previously unselected package libpython3.14-minimal:armhf. 892s (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 ... 68677 files and directories currently installed.) 892s Preparing to unpack .../00-libpython3.14-minimal_3.14.2-1_armhf.deb ... 892s Unpacking libpython3.14-minimal:armhf (3.14.2-1) ... 892s Selecting previously unselected package python3.14-minimal. 892s Preparing to unpack .../01-python3.14-minimal_3.14.2-1_armhf.deb ... 892s Unpacking python3.14-minimal (3.14.2-1) ... 892s Selecting previously unselected package dbus-x11. 892s Preparing to unpack .../02-dbus-x11_1.16.2-2ubuntu3_armhf.deb ... 892s Unpacking dbus-x11 (1.16.2-2ubuntu3) ... 892s Selecting previously unselected package desktop-file-utils. 892s Preparing to unpack .../03-desktop-file-utils_0.28-1build1_armhf.deb ... 892s Unpacking desktop-file-utils (0.28-1build1) ... 892s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 892s Preparing to unpack .../04-gir1.2-glib-2.0-dev_2.87.2-2_armhf.deb ... 892s Unpacking gir1.2-glib-2.0-dev:armhf (2.87.2-2) ... 892s Selecting previously unselected package native-architecture. 892s Preparing to unpack .../05-native-architecture_0.2.6build1_all.deb ... 892s Unpacking native-architecture (0.2.6build1) ... 892s Selecting previously unselected package girepository-tools:armhf. 893s Preparing to unpack .../06-girepository-tools_2.87.2-2_armhf.deb ... 893s Unpacking girepository-tools:armhf (2.87.2-2) ... 893s Selecting previously unselected package gnome-desktop-testing. 893s Preparing to unpack .../07-gnome-desktop-testing_2021.1-5_armhf.deb ... 893s Unpacking gnome-desktop-testing (2021.1-5) ... 893s Selecting previously unselected package libfontenc1:armhf. 893s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build2_armhf.deb ... 893s Unpacking libfontenc1:armhf (1:1.1.8-1build2) ... 893s Selecting previously unselected package libfreetype6:armhf. 893s Preparing to unpack .../09-libfreetype6_2.14.1+dfsg-2_armhf.deb ... 893s Unpacking libfreetype6:armhf (2.14.1+dfsg-2) ... 893s Selecting previously unselected package libllvm21:armhf. 893s Preparing to unpack .../10-libllvm21_1%3a21.1.8-1ubuntu1_armhf.deb ... 893s Unpacking libllvm21:armhf (1:21.1.8-1ubuntu1) ... 894s Selecting previously unselected package libx11-xcb1:armhf. 894s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.12-1build1_armhf.deb ... 894s Unpacking libx11-xcb1:armhf (2:1.8.12-1build1) ... 894s Selecting previously unselected package libxcb-dri3-0:armhf. 894s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2ubuntu1_armhf.deb ... 894s Unpacking libxcb-dri3-0:armhf (1.17.0-2ubuntu1) ... 894s Selecting previously unselected package libxcb-present0:armhf. 894s Preparing to unpack .../13-libxcb-present0_1.17.0-2ubuntu1_armhf.deb ... 894s Unpacking libxcb-present0:armhf (1.17.0-2ubuntu1) ... 894s Selecting previously unselected package libxcb-randr0:armhf. 894s Preparing to unpack .../14-libxcb-randr0_1.17.0-2ubuntu1_armhf.deb ... 894s Unpacking libxcb-randr0:armhf (1.17.0-2ubuntu1) ... 894s Selecting previously unselected package libxcb-sync1:armhf. 894s Preparing to unpack .../15-libxcb-sync1_1.17.0-2ubuntu1_armhf.deb ... 894s Unpacking libxcb-sync1:armhf (1.17.0-2ubuntu1) ... 894s Selecting previously unselected package libxcb-xfixes0:armhf. 894s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2ubuntu1_armhf.deb ... 894s Unpacking libxcb-xfixes0:armhf (1.17.0-2ubuntu1) ... 894s Selecting previously unselected package libxshmfence1:armhf. 894s Preparing to unpack .../17-libxshmfence1_1.3.3-1build1_armhf.deb ... 894s Unpacking libxshmfence1:armhf (1.3.3-1build1) ... 894s Selecting previously unselected package mesa-libgallium:armhf. 894s Preparing to unpack .../18-mesa-libgallium_25.3.3-1ubuntu1_armhf.deb ... 894s Unpacking mesa-libgallium:armhf (25.3.3-1ubuntu1) ... 894s Selecting previously unselected package libgbm1:armhf. 895s Preparing to unpack .../19-libgbm1_25.3.3-1ubuntu1_armhf.deb ... 895s Unpacking libgbm1:armhf (25.3.3-1ubuntu1) ... 895s Selecting previously unselected package libgio-2.0-dev-bin. 895s Preparing to unpack .../20-libgio-2.0-dev-bin_2.87.2-2_armhf.deb ... 895s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 895s Selecting previously unselected package libvulkan1:armhf. 895s Preparing to unpack .../21-libvulkan1_1.4.335.0-1_armhf.deb ... 895s Unpacking libvulkan1:armhf (1.4.335.0-1) ... 895s Selecting previously unselected package libgl1-mesa-dri:armhf. 895s Preparing to unpack .../22-libgl1-mesa-dri_25.3.3-1ubuntu1_armhf.deb ... 895s Unpacking libgl1-mesa-dri:armhf (25.3.3-1ubuntu1) ... 895s Selecting previously unselected package libglib2.0-bin. 895s Preparing to unpack .../23-libglib2.0-bin_2.87.2-2_armhf.deb ... 895s Unpacking libglib2.0-bin (2.87.2-2) ... 895s Selecting previously unselected package libglib2.0-dev-bin. 895s Preparing to unpack .../24-libglib2.0-dev-bin_2.87.2-2_armhf.deb ... 895s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 895s Selecting previously unselected package python3-dbusmock. 895s Preparing to unpack .../25-python3-dbusmock_0.38.1-1_all.deb ... 895s Unpacking python3-dbusmock (0.38.1-1) ... 895s Selecting previously unselected package tzdata-legacy. 895s Preparing to unpack .../26-tzdata-legacy_2025c-3ubuntu3_all.deb ... 895s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 895s Selecting previously unselected package libpython3.14-stdlib:armhf. 895s Preparing to unpack .../27-libpython3.14-stdlib_3.14.2-1_armhf.deb ... 895s Unpacking libpython3.14-stdlib:armhf (3.14.2-1) ... 895s Selecting previously unselected package python3.14. 895s Preparing to unpack .../28-python3.14_3.14.2-1_armhf.deb ... 895s Unpacking python3.14 (3.14.2-1) ... 896s Selecting previously unselected package libglib2.0-tests. 896s Preparing to unpack .../29-libglib2.0-tests_2.87.2-2_armhf.deb ... 896s Unpacking libglib2.0-tests (2.87.2-2) ... 896s Selecting previously unselected package libxcb-glx0:armhf. 896s Preparing to unpack .../30-libxcb-glx0_1.17.0-2ubuntu1_armhf.deb ... 896s Unpacking libxcb-glx0:armhf (1.17.0-2ubuntu1) ... 896s Selecting previously unselected package libxcb-shm0:armhf. 896s Preparing to unpack .../31-libxcb-shm0_1.17.0-2ubuntu1_armhf.deb ... 896s Unpacking libxcb-shm0:armhf (1.17.0-2ubuntu1) ... 896s Selecting previously unselected package libxxf86vm1:armhf. 896s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-2_armhf.deb ... 896s Unpacking libxxf86vm1:armhf (1:1.1.4-2) ... 896s Selecting previously unselected package libglx-mesa0:armhf. 896s Preparing to unpack .../33-libglx-mesa0_25.3.3-1ubuntu1_armhf.deb ... 896s Unpacking libglx-mesa0:armhf (25.3.3-1ubuntu1) ... 896s Selecting previously unselected package x11-common. 896s Preparing to unpack .../34-x11-common_1%3a7.7+24ubuntu1_all.deb ... 896s Unpacking x11-common (1:7.7+24ubuntu1) ... 896s Selecting previously unselected package libice6:armhf. 896s Preparing to unpack .../35-libice6_2%3a1.1.1-1build1_armhf.deb ... 896s Unpacking libice6:armhf (2:1.1.1-1build1) ... 896s Selecting previously unselected package libpixman-1-0:armhf. 896s Preparing to unpack .../36-libpixman-1-0_0.46.4-1_armhf.deb ... 896s Unpacking libpixman-1-0:armhf (0.46.4-1) ... 896s Selecting previously unselected package libsm6:armhf. 896s Preparing to unpack .../37-libsm6_2%3a1.2.6-1build1_armhf.deb ... 896s Unpacking libsm6:armhf (2:1.2.6-1build1) ... 896s Selecting previously unselected package libxt6t64:armhf. 896s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.3_armhf.deb ... 896s Unpacking libxt6t64:armhf (1:1.2.1-1.3) ... 896s Selecting previously unselected package libxmu6:armhf. 896s Preparing to unpack .../39-libxmu6_2%3a1.1.3-4_armhf.deb ... 896s Unpacking libxmu6:armhf (2:1.1.3-4) ... 896s Selecting previously unselected package libxpm4:armhf. 896s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build3_armhf.deb ... 896s Unpacking libxpm4:armhf (1:3.5.17-1build3) ... 896s Selecting previously unselected package libxaw7:armhf. 896s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1build1_armhf.deb ... 896s Unpacking libxaw7:armhf (2:1.0.16-1build1) ... 896s Selecting previously unselected package libxfont2:armhf. 896s Preparing to unpack .../42-libxfont2_1%3a2.0.6-2_armhf.deb ... 896s Unpacking libxfont2:armhf (1:2.0.6-2) ... 896s Selecting previously unselected package libxkbfile1:armhf. 896s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build5_armhf.deb ... 896s Unpacking libxkbfile1:armhf (1:1.1.0-1build5) ... 897s Selecting previously unselected package libxrender1:armhf. 897s Preparing to unpack .../44-libxrender1_1%3a0.9.12-1_armhf.deb ... 897s Unpacking libxrender1:armhf (1:0.9.12-1) ... 897s Selecting previously unselected package libxrandr2:armhf. 897s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1build1_armhf.deb ... 897s Unpacking libxrandr2:armhf (2:1.5.4-1build1) ... 897s Selecting previously unselected package x11-xkb-utils. 897s Preparing to unpack .../46-x11-xkb-utils_7.7+9build1_armhf.deb ... 897s Unpacking x11-xkb-utils (7.7+9build1) ... 897s Selecting previously unselected package xserver-common. 897s Preparing to unpack .../47-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 897s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 897s Selecting previously unselected package libglvnd0:armhf. 897s Preparing to unpack .../48-libglvnd0_1.7.0-3_armhf.deb ... 897s Unpacking libglvnd0:armhf (1.7.0-3) ... 897s Selecting previously unselected package libglx0:armhf. 897s Preparing to unpack .../49-libglx0_1.7.0-3_armhf.deb ... 897s Unpacking libglx0:armhf (1.7.0-3) ... 897s Selecting previously unselected package libgl1:armhf. 897s Preparing to unpack .../50-libgl1_1.7.0-3_armhf.deb ... 897s Unpacking libgl1:armhf (1.7.0-3) ... 897s Selecting previously unselected package xvfb. 897s Preparing to unpack .../51-xvfb_2%3a21.1.21-1ubuntu1_armhf.deb ... 897s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 897s Setting up gnome-desktop-testing (2021.1-5) ... 897s Setting up libxcb-dri3-0:armhf (1.17.0-2ubuntu1) ... 897s Setting up libpixman-1-0:armhf (0.46.4-1) ... 897s Setting up libx11-xcb1:armhf (2:1.8.12-1build1) ... 897s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 897s Setting up native-architecture (0.2.6build1) ... 897s Setting up libxcb-xfixes0:armhf (1.17.0-2ubuntu1) ... 897s Setting up desktop-file-utils (0.28-1build1) ... 897s Setting up libxpm4:armhf (1:3.5.17-1build3) ... 897s Setting up libxrender1:armhf (1:0.9.12-1) ... 897s Setting up libglvnd0:armhf (1.7.0-3) ... 897s Setting up libxcb-glx0:armhf (1.17.0-2ubuntu1) ... 897s Setting up libpython3.14-minimal:armhf (3.14.2-1) ... 897s Setting up x11-common (1:7.7+24ubuntu1) ... 898s Setting up libglib2.0-bin (2.87.2-2) ... 898s Setting up libxcb-shm0:armhf (1.17.0-2ubuntu1) ... 898s Setting up python3-dbusmock (0.38.1-1) ... 898s Setting up tzdata-legacy (2025c-3ubuntu3) ... 898s Setting up libxxf86vm1:armhf (1:1.1.4-2) ... 898s Setting up libxcb-present0:armhf (1.17.0-2ubuntu1) ... 898s Setting up libfontenc1:armhf (1:1.1.8-1build2) ... 898s Setting up libfreetype6:armhf (2.14.1+dfsg-2) ... 899s Setting up libxcb-sync1:armhf (1.17.0-2ubuntu1) ... 899s Setting up libllvm21:armhf (1:21.1.8-1ubuntu1) ... 899s Setting up libxrandr2:armhf (2:1.5.4-1build1) ... 899s Setting up libvulkan1:armhf (1.4.335.0-1) ... 899s Setting up gir1.2-glib-2.0-dev:armhf (2.87.2-2) ... 899s Setting up libxshmfence1:armhf (1.3.3-1build1) ... 899s Setting up dbus-x11 (1.16.2-2ubuntu3) ... 899s Setting up libxcb-randr0:armhf (1.17.0-2ubuntu1) ... 899s Setting up libxkbfile1:armhf (1:1.1.0-1build5) ... 899s Setting up libxfont2:armhf (1:2.0.6-2) ... 899s Setting up python3.14-minimal (3.14.2-1) ... 900s Setting up libice6:armhf (2:1.1.1-1build1) ... 900s Setting up mesa-libgallium:armhf (25.3.3-1ubuntu1) ... 900s Setting up girepository-tools:armhf (2.87.2-2) ... 900s Setting up libgbm1:armhf (25.3.3-1ubuntu1) ... 900s Setting up libpython3.14-stdlib:armhf (3.14.2-1) ... 900s Setting up libgl1-mesa-dri:armhf (25.3.3-1ubuntu1) ... 900s Setting up python3.14 (3.14.2-1) ... 903s Setting up libsm6:armhf (2:1.2.6-1build1) ... 903s Setting up libglib2.0-dev-bin (2.87.2-2) ... 903s Setting up libglx-mesa0:armhf (25.3.3-1ubuntu1) ... 903s Setting up libglx0:armhf (1.7.0-3) ... 903s Setting up libgl1:armhf (1.7.0-3) ... 903s Setting up libxt6t64:armhf (1:1.2.1-1.3) ... 903s Setting up libglib2.0-tests (2.87.2-2) ... 903s Setting up libxmu6:armhf (2:1.1.3-4) ... 903s Setting up libxaw7:armhf (2:1.0.16-1build1) ... 903s Setting up x11-xkb-utils (7.7+9build1) ... 903s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 903s Setting up xvfb (2:21.1.21-1ubuntu1) ... 903s Processing triggers for systemd (259-1ubuntu3) ... 903s Processing triggers for man-db (2.13.1-1build1) ... 904s Processing triggers for libc-bin (2.42-2ubuntu4) ... 920s autopkgtest [10:27:29]: test installed-tests: [----------------------- 922s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 922s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 922s group entry: ubuntu:x:1000: 922s Environment: 922s ADTTMP=/tmp/autopkgtest.cisMxd/autopkgtest_tmp 922s ADT_ARTIFACTS=/tmp/autopkgtest.cisMxd/installed-tests-artifacts 922s ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 922s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.cisMxd/installed-tests-artifacts 922s AUTOPKGTEST_TESTBED_ARCH=armhf 922s AUTOPKGTEST_TEST_ARCH=armhf 922s AUTOPKGTEST_TMP=/tmp/autopkgtest.cisMxd/autopkgtest_tmp 922s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 922s DEBIAN_FRONTEND=noninteractive 922s DEB_BUILD_OPTIONS=parallel=8 922s GIO_USE_VFS=local 922s GIO_USE_VOLUME_MONITOR=unix 922s HOME=/home/ubuntu 922s LANG=C.UTF-8 922s LOGNAME=ubuntu 922s MAIL=/var/mail/ubuntu 922s OLDPWD=/root 922s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 922s PWD=/tmp/autopkgtest.cisMxd/build.lHz/src 922s SHELL=/bin/bash 922s SHLVL=1 922s USER=ubuntu 922s XDG_RUNTIME_DIR=/tmp/autopkgtest.cisMxd/autopkgtest_tmp 922s XDG_SESSION_CLASS=background 922s XDG_SESSION_ID=c1 922s XDG_SESSION_TYPE=unspecified 922s http_proxy=http://squid.internal:3128 922s https_proxy=http://squid.internal:3128 922s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 922s run-with-locales: de_DE=ISO-8859-1... 922s Character set: ISO-8859-1 922s Source file: de_DE 922s Output: /tmp/tmp.qwt876faCZ/de_DE 922s run-with-locales: de_DE.utf8... 922s Character set: UTF-8 922s Source file: de_DE 922s Output: /tmp/tmp.qwt876faCZ/de_DE.utf8 927s run-with-locales: de_DE@euro.utf8... 928s Character set: UTF-8 928s Source file: de_DE@euro 928s Output: /tmp/tmp.qwt876faCZ/de_DE@euro.utf8 929s run-with-locales: el_GR.utf8... 929s Character set: UTF-8 929s Source file: el_GR 929s Output: /tmp/tmp.qwt876faCZ/el_GR.utf8 931s run-with-locales: en_GB=ISO-8859-1... 931s Character set: ISO-8859-1 931s Source file: en_GB 931s Output: /tmp/tmp.qwt876faCZ/en_GB 932s run-with-locales: en_GB.utf8... 932s Character set: UTF-8 932s Source file: en_GB 932s Output: /tmp/tmp.qwt876faCZ/en_GB.utf8 934s run-with-locales: en_US=ISO-8859-1... 934s Character set: ISO-8859-1 934s Source file: en_US 934s Output: /tmp/tmp.qwt876faCZ/en_US 934s run-with-locales: en_US.utf8... 934s Character set: UTF-8 934s Source file: en_US 934s Output: /tmp/tmp.qwt876faCZ/en_US.utf8 936s run-with-locales: es_ES.utf8... 936s Character set: UTF-8 936s Source file: es_ES 936s Output: /tmp/tmp.qwt876faCZ/es_ES.utf8 938s run-with-locales: fa_IR=UTF-8... 938s Character set: UTF-8 938s Source file: fa_IR 938s Output: /tmp/tmp.qwt876faCZ/fa_IR 940s run-with-locales: fa_IR.utf8... 940s Character set: UTF-8 940s Source file: fa_IR 940s Output: /tmp/tmp.qwt876faCZ/fa_IR.utf8 943s run-with-locales: fr_FR.utf8... 943s Character set: UTF-8 943s Source file: fr_FR 943s Output: /tmp/tmp.qwt876faCZ/fr_FR.utf8 945s run-with-locales: hr_HR.utf8... 945s Character set: UTF-8 945s Source file: hr_HR 945s Output: /tmp/tmp.qwt876faCZ/hr_HR.utf8 947s run-with-locales: ja_JP.utf8... 947s Character set: UTF-8 947s Source file: ja_JP 947s Output: /tmp/tmp.qwt876faCZ/ja_JP.utf8 948s run-with-locales: ja_JP.EUC-JP... 948s Character set: EUC-JP 948s Source file: ja_JP 948s Output: /tmp/tmp.qwt876faCZ/ja_JP.eucjp 949s run-with-locales: lt_LT.utf8... 949s Character set: UTF-8 949s Source file: lt_LT 949s Output: /tmp/tmp.qwt876faCZ/lt_LT.utf8 950s run-with-locales: pl_PL=ISO-8859-2... 950s Character set: ISO-8859-2 950s Source file: pl_PL 950s Output: /tmp/tmp.qwt876faCZ/pl_PL 951s run-with-locales: pl_PL.ISO-8859-2... 951s Character set: ISO-8859-2 951s Source file: pl_PL 951s Output: /tmp/tmp.qwt876faCZ/pl_PL.iso88592 951s run-with-locales: pl_PL.utf8... 951s Character set: UTF-8 951s Source file: pl_PL 951s Output: /tmp/tmp.qwt876faCZ/pl_PL.utf8 953s run-with-locales: ru_RU=ISO-8859-5... 953s Character set: ISO-8859-5 953s Source file: ru_RU 953s Output: /tmp/tmp.qwt876faCZ/ru_RU 954s run-with-locales: ru_RU.utf8... 954s Character set: UTF-8 954s Source file: ru_RU 954s Output: /tmp/tmp.qwt876faCZ/ru_RU.utf8 956s run-with-locales: sr_RS=UTF-8... 956s Character set: UTF-8 956s Source file: sr_RS 956s Output: /tmp/tmp.qwt876faCZ/sr_RS 957s run-with-locales: sr_RS@latin=UTF-8... 957s Character set: UTF-8 957s Source file: sr_RS@latin 957s Output: /tmp/tmp.qwt876faCZ/sr_RS@latin 959s run-with-locales: sv_SE=ISO-8859-1... 959s Character set: ISO-8859-1 959s Source file: sv_SE 959s Output: /tmp/tmp.qwt876faCZ/sv_SE 960s run-with-locales: sv_SE.utf8... 960s Character set: UTF-8 960s Source file: sv_SE 960s Output: /tmp/tmp.qwt876faCZ/sv_SE.utf8 961s run-with-locales: tr_TR=ISO-8859-9... 961s Character set: ISO-8859-9 961s Source file: tr_TR 961s Output: /tmp/tmp.qwt876faCZ/tr_TR 962s run-with-locales: tr_TR.utf8... 962s Character set: UTF-8 962s Source file: tr_TR 962s Output: /tmp/tmp.qwt876faCZ/tr_TR.utf8 964s run-with-locales: tt_RU=UTF-8... 964s Character set: UTF-8 964s Source file: tt_RU 964s Output: /tmp/tmp.qwt876faCZ/tt_RU 965s run-with-locales: tt_RU.utf8... 965s Character set: UTF-8 965s Source file: tt_RU 965s Output: /tmp/tmp.qwt876faCZ/tt_RU.utf8 967s run-with-locales: tt_RU@iqtelif=UTF-8... 967s Character set: UTF-8 967s Source file: tt_RU@iqtelif 967s Output: /tmp/tmp.qwt876faCZ/tt_RU@iqtelif 969s /tmp/tmp.qwt876faCZ 969s /tmp/tmp.qwt876faCZ/de_DE 969s /tmp/tmp.qwt876faCZ/de_DE/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/de_DE/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/de_DE/LC_TIME 969s /tmp/tmp.qwt876faCZ/de_DE/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/de_DE/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/de_DE/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/de_DE/LC_PAPER 969s /tmp/tmp.qwt876faCZ/de_DE/LC_NAME 969s /tmp/tmp.qwt876faCZ/de_DE/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/de_DE/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/de_DE/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/de_DE/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/de_DE.utf8 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/de_DE.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/de_DE@euro.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/el_GR.utf8 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/el_GR.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/en_GB 969s /tmp/tmp.qwt876faCZ/en_GB/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/en_GB/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/en_GB/LC_TIME 969s /tmp/tmp.qwt876faCZ/en_GB/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/en_GB/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/en_GB/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_GB/LC_PAPER 969s /tmp/tmp.qwt876faCZ/en_GB/LC_NAME 969s /tmp/tmp.qwt876faCZ/en_GB/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/en_GB/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/en_GB/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/en_GB/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/en_GB.utf8 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/en_GB.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/en_US 969s /tmp/tmp.qwt876faCZ/en_US/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/en_US/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/en_US/LC_TIME 969s /tmp/tmp.qwt876faCZ/en_US/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/en_US/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/en_US/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_US/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_US/LC_PAPER 969s /tmp/tmp.qwt876faCZ/en_US/LC_NAME 969s /tmp/tmp.qwt876faCZ/en_US/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/en_US/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/en_US/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/en_US/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/en_US.utf8 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/en_US.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/es_ES.utf8 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/es_ES.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/fa_IR 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_TIME 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_PAPER 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_NAME 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/fa_IR/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/fa_IR.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/fr_FR.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/hr_HR.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/ja_JP.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_TIME 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_PAPER 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_NAME 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/ja_JP.eucjp/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/lt_LT.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/pl_PL 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_TIME 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_PAPER 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_NAME 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/pl_PL/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_TIME 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_PAPER 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_NAME 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/pl_PL.iso88592/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/pl_PL.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/ru_RU 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_TIME 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_PAPER 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_NAME 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/ru_RU/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/ru_RU.utf8/LC_MEASUREMENT 969s /tmp1..337 969s # Running test: glib/relation.test 969s ok - glib/relation.test 969s # Running test: glib/gobject-query.py.test 969s /tmp.qwt876faCZ/ru_RU.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/sr_RS 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_TIME 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_PAPER 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_NAME 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/sr_RS/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/sr_RS@latin 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_TIME 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_PAPER 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_NAME 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/sr_RS@latin/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/sv_SE 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_TIME 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_PAPER 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_NAME 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/sv_SE/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/sv_SE.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/tr_TR 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_TIME 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_PAPER 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_NAME 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/tr_TR/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/tr_TR.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/tt_RU 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_TIME 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_PAPER 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_NAME 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/tt_RU/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_TIME 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_PAPER 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_NAME 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/tt_RU.utf8/LC_IDENTIFICATION 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_CTYPE 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_NUMERIC 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_TIME 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_COLLATE 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_MONETARY 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_PAPER 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_NAME 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_ADDRESS 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_TELEPHONE 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_MEASUREMENT 969s /tmp/tmp.qwt876faCZ/tt_RU@iqtelif/LC_IDENTIFICATION 969s TAP version 14 969s # random seed: R02S22c18de702d9ef86876ad5f78ec7bd5d 969s 1..1 969s # Start of glib tests 969s ok 1 /glib/relation 969s # End of glib tests 969s TAP version 13 969s ok 1 __main__.TestGobjectQuery.test_froots 969s # gobject-query: /usr/bin/gobject-query 969s # tmpdir: /tmp/tmp261d_7j8 969s # Running: ['/usr/bin/gobject-query', 'froots'] 969s # Return code: 0 969s # Output: 969s # ├void 969s # ├GInterface 969s # │ └GTypePlugin 969s # ├gchar 969s # ├guchar 969s # ├gboolean 969s # ├gint 969s # ├guint 969s # ├glong 969s # ├gulong 969s # ├gint64 969s # ├guint64 969s # ├GEnum 969s # ├GFlags 969s # ├gfloat 969s # ├gdouble 969s # ├gchararray 969s # ├gpointer 969s # │ └GType 969s # ├GBoxed 969s # │ └GValueArray 969s # ├GParam 969s # │ ├GParamChar 969s # │ ├GParamUChar 969s # │ ├GParamBoolean 969s # │ ├GParamInt 969s # │ ├GParamUInt 969s # │ ├GParamLong 969s # │ ├GParamULong 969s # │ ├GParamInt64 969s # │ ├GParamUInt64 969s # │ ├GParamUnichar 969s # │ ├GParamEnum 969s # │ ├GParamFlags 969s # │ ├GParamFloat 969s # │ ├GParamDouble 969s # │ ├GParamString 969s # │ ├GParamParam 969s # │ ├GParamBoxed 969s # │ ├GParamPointer 969s # │ ├GParamValueArray 969s # │ ├GParamObject 969s # │ ├GParamOverride 969s # │ ├GParamGType 969s # │ └GParamVariant 969s # ├GObject 969s # └GVariant 969s # Error: 969s ok 2 __main__.TestGobjectQuery.test_help 969s # gobject-query: /usr/bin/gobject-query 969s # tmpdir: /tmp/tmpqrfvftx8 969s # Running: ['/usr/bin/gobject-query', '--help'] 969s # Return code: 0 969s # Output: 969s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 969s # -r specify root type 969s # -n don't descend type tree 969s # -h show help 969s # -b specify indent string 969s # -i specify incremental indent string 969s # -s specify line spacing 969s # qualifiers: 969s # froots iterate over fundamental roots 969s # tree print type tree 969s # Error: 969s ok 3 __main__.TestGobjectQuery.test_tree 969s # gobject-query: /usr/bin/gobject-query 969s # tmpdir: /tmp/tmppndm_91_ 969s # Running: ['/usr/bin/gobject-query', 'tree'] 969s # Return code: 0 969s # Output: 969s # GObject 969s # Error: 969s ok 4 __main__.TestGobjectQuery.test_version 969s # gobject-query: /usr/bin/gobject-query 969s # tmpdir: /tmp/tmpoo7l86pi 969s # Running: ['/usr/bin/gobject-query', '--version'] 969s # Return code: 0 969s # Output: 969s # 2.87.2 969s # Error: 969s 1..4 969s ok - glib/gobject-query.py.test 969s # Running test: glib/cxx-11.test 969s TAP version 14 969s # random seed: R02S8dab774dc3474b9dba8ff62ea6a2397e 969s 1..2 969s # Start of gtask tests 969s # 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. 969s ok 1 /gtask/name 969s # Start of name tests 969s # 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. 969s ok 2 /gtask/name/macro-wrapper 969s # End of name tests 969s # End of gtask tests 969s ok - glib/cxx-11.test 969s # Running test: glib/repository-search-paths.test 969s TAP version 14 969s # random seed: R02S50f88f638dfe6eb722f1fc02fe6f70fc 969s 1..4 969s # Start of repository tests 969s # Start of search-paths tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/default/.dirs/runtime 969s ok 1 /repository/search-paths/default 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_PB55J3/repository/search-paths/prepend/.dirs/runtime 969s ok 2 /repository/search-paths/prepend 969s # End of search-paths tests 969s # Start of library-paths tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/default/.dirs/runtime 969s ok 3 /repository/library-paths/default 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_PB55J3/repository/library-paths/prepend/.dirs/runtime 969s ok 4 /repository/library-paths/prepend 969s # End of library-paths tests 969s # End of repository tests 969s ok - glib/repository-search-paths.test 969s # Running test: glib/module-test-plugin.test 969s TAP version 14 969s # random seed: R02S32179bd26a3433b1d39271b2d0d10eb9 969s 1..3 969s # Start of module tests 969s ok 1 /module/basics 969s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 969s ok 2 /module/invalid-libtool-archive 969s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 969s ok 3 /module/local-binding 969s # End of module tests 969s ok - glib/module-test-plugin.test 969s # Running test: glib/giomodule.test 969s TAP version 14 969s # random seed: R02Sa2dd3b210357fdaea0a8fe7fe13bed9c 969s 1..3 969s # Start of giomodule tests 969s ok 1 /giomodule/extension-point 969s ok 2 /giomodule/module-scan-all 969s ok 3 /giomodule/module-scan-all-with-scope 969s # End of giomodule tests 969s ok - glib/giomodule.test 969s # Running test: glib/g-file.test 969s TAP version 14 969s # random seed: R02S10be94e155944b9868348cc811faa73b 969s 1..8 969s # Start of g-file tests 969s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 969s ok 1 /g-file/test_g_file_new_null 969s ok 2 /g-file/test_g_file_new_for_path 969s ok 3 /g-file/test_g_file_new_for_uri 969s ok 4 /g-file/test_g_file_dup 969s ok 5 /g-file/test_g_file_get_parse_name_utf8 969s file:///tmp/test-tmp-glib_g-file.test-1FV4J3 969s file:///tmp 969s file:///tmp 969s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 969s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 969s ok 6 /g-file/test_g_file_new_for_commandline_arg 969s /dir1 /dir1/dir2/dir3/ 969s /dir1/ /dir1/dir2/dir3/ 969s /dir1 /dir1/dir2/dir3 969s /dir1/ /dir1/dir2/dir3 969s /tmp/ /something/ 969s /dir1/dir2 /dir1/ 969s //dir1/new //dir1/new/dir2/dir3 969s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 969s file:///dir1 file:///dir1/dir2/dir3/ 969s file:///dir1/ file:///dir1/dir2/dir3/ 969s file:///dir1 file:///dir1/dir2/dir3 969s file:///dir1/ file:///dir1/dir2/dir3 969s file:///tmp/ file:///something/ 969s file:///dir1/dir2 file:///dir1/ 969s file:////dir1/new file:////dir1/new/dir2/dir3 969s 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 969s ok 7 /g-file/test_g_file_has_prefix 969s ok 8 /g-file/test_g_file_get_parent_child 969s # End of g-file tests 969s TAP version 14 969s # random seed: R02S90130384b14f900c1e670464c7414c7e 969s 1..8 969s # Start of rcbox tests 969s ok 1 /rcbox/new 969s # global_point = 0x535a2d0 969s ok 2 /rcbox/release-full 969s # global_point_a = 0x535a2d0 969s # global_point_b = 0x535cf38 969s ok 3 /rcbox/dup 969s ok 4 /rcbox/alignment 969s # End of rcbox tests 969s # Start of atomic-rcbox tests 969s ok 5 /atomic-rcbox/new 969s # global_point = 0x535cf38 969s ok 6 /atomic-rcbox/release-full 969s # global_point_a = 0x535cf38 969s # global_point_b = 0x535a2d0 969s ok 7 /atomic-rcbox/dup 969s ok 8 /atomic-rcbox/alignment 969s # End of atomic-rcbox tests 969s TAP version 14 969s # random seed: R02S31e9a34f7f1b94681965d1daadb4b593 969s 1..1 969s # Start of null-settings-backend tests 969s ok 1 /null-settings-backend/extension-point-registered 969s # End of null-settings-backend tests 969s TAP version 14 969s # random seed: R02S845d23bb6fe1308bb74cab2afcc67b7e 969s 1..8 969s # Start of gdbus tests 969s # Start of codegen tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/annotations/.dirs/runtime 969s ok 1 /gdbus/codegen/annotations 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/interface_stability/.dirs/runtime 969s ok 2 /gdbus/codegen/interface_stability 969s ok - glib/g-file.test 969s # Running test: glib/rcbox.test 969s ok - glib/rcbox.test 969s # Running test: glib/null-settings-backend.test 969s ok - glib/null-settings-backend.test 969s # Running test: glib/gdbus-test-codegen-old.test 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/object-manager/.dirs/runtime 969s ok 3 /gdbus/codegen/object-manager 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/property-naming/.dirs/runtime 969s ok 4 /gdbus/codegen/property-naming 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/autocleanups/.dirs/runtime 969s ok 5 /gdbus/codegen/autocleanups 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/deprecations/.dirs/runtime 969s ok 6 /gdbus/codegen/deprecations 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 969s ok 7 /gdbus/codegen/standalone-interface-info 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9M94J3/gdbus/codegen/unix-fd-list/.dirs/runtime 969s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 969s ok 8 /gdbus/codegen/unix-fd-list 969s # End of codegen tests 969s # End of gdbus tests 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s ok - glib/gdbus-test-codegen-old.test 969s # Running test: glib/gdbus-connection-slow.test 969s TAP version 14 969s # random seed: R02S61724e6d55aff862c4961a908e05bab4 969s 1..2 969s # Start of gdbus tests 969s # Start of connection tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/flush/.dirs/runtime 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s ok 1 /gdbus/connection/flush 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_1SI3J3/gdbus/connection/large_message/.dirs/runtime 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s ok - glib/gdbus-connection-slow.test 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s ok 2 /gdbus/connection/large_message 970s # End of connection tests 970s # End of gdbus tests 970s # Running test: glib/object.test 970s TAP version 14 970s # random seed: R02S2cd65fff3e9c6121d3ea5b163da9e22c 970s 1..2 970s # Start of object tests 970s # Start of constructor tests 970s ok 1 /object/constructor/singleton 970s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 970s # End of constructor tests 970s # End of object tests 970s ok - glib/object.test 970s # Running test: glib/gvariant.test 970s TAP version 14 970s # random seed: R02Sad6b9961dcfd23c1ddb2fb9ad7ee178e 970s 1..70 970s # Start of gvariant tests 970s ok 1 /gvariant/type 970s ok 2 /gvariant/typeinfo 970s ok 3 /gvariant/string 970s ok 4 /gvariant/utf8 970s ok 5 /gvariant/utf8-new-strings 974s # Executing: glib/gvariant.test 978s ok 6 /gvariant/containers 978s # slow test /gvariant/containers executed in 7.44 secs 978s ok 7 /gvariant/format-strings 978s ok 8 /gvariant/invalid-varargs 978s ok 9 /gvariant/varargs 978s ok 10 /gvariant/valist 978s ok 11 /gvariant/builder-memory 978s ok 12 /gvariant/hashing 978s ok 13 /gvariant/byteswap 979s # Executing: glib/gvariant.test 984s # Executing: glib/gvariant.test 989s ok 14 /gvariant/parser 989s # slow test /gvariant/parser executed in 11.49 secs 989s ok 15 /gvariant/parse-failures 989s ok 16 /gvariant/parse-positional 989s ok 17 /gvariant/floating 989s ok 18 /gvariant/bytestring 989s ok 19 /gvariant/bytestring-iteration 989s ok 20 /gvariant/lookup-value 989s ok 21 /gvariant/lookup 989s ok 22 /gvariant/compare 989s ok 23 /gvariant/equal 989s ok 24 /gvariant/fixed-array 989s ok 25 /gvariant/check-format-string 989s ok 26 /gvariant/checksum-basic 989s ok 27 /gvariant/checksum-nested 989s ok 28 /gvariant/gbytes 989s ok 29 /gvariant/print-context 989s ok 30 /gvariant/error-quark 989s ok 31 /gvariant/stack-builder-init 989s ok 32 /gvariant/stack-builder-init-static 989s ok 33 /gvariant/stack-builder-init-unset 989s ok 34 /gvariant/stack-dict-init 989s ok 35 /gvariant/unaligned-construction 989s # Start of type tests 989s # Start of string-scan tests 989s # Start of recursion tests 989s ok 36 /gvariant/type/string-scan/recursion/tuple 989s ok 37 /gvariant/type/string-scan/recursion/array 989s # End of recursion tests 989s # End of string-scan tests 989s # End of type tests 989s # Start of serialiser tests 989s ok 38 /gvariant/serialiser/maybe 989s # Executing: glib/gvariant.test 990s ok 39 /gvariant/serialiser/array 990s ok 40 /gvariant/serialiser/tuple 990s ok 41 /gvariant/serialiser/variant 990s ok 42 /gvariant/serialiser/strings 990s ok 43 /gvariant/serialiser/byteswap 990s # slow test /gvariant/serialiser/byteswap executed in 0.62 secs 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 990s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 990s ok 44 /gvariant/serialiser/children 990s # Start of byteswap tests 990s ok 45 /gvariant/serialiser/byteswap/zero-sized 990s # End of byteswap tests 990s # Start of fuzz tests 991s ok 46 /gvariant/serialiser/fuzz/1% 991s # slow test /gvariant/serialiser/fuzz/1% executed in 0.72 secs 991s ok 47 /gvariant/serialiser/fuzz/5% 992s ok 48 /gvariant/serialiser/fuzz/9% 992s ok 49 /gvariant/serialiser/fuzz/13% 992s # slow test /gvariant/serialiser/fuzz/13% executed in 0.68 secs 993s ok 50 /gvariant/serialiser/fuzz/17% 993s # slow test /gvariant/serialiser/fuzz/17% executed in 0.68 secs 993s # End of fuzz tests 993s # End of serialiser tests 993s # Start of utf8 tests 993s # Start of subprocess tests 993s # End of subprocess tests 993s # End of utf8 tests 993s # Start of varargs tests 993s # Start of subprocess tests 993s # End of subprocess tests 993s # End of varargs tests 993s # Start of byteswap tests 993s # /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. 993s ok 51 /gvariant/byteswap/non-normal-non-aligned 993s # End of byteswap tests 993s # Start of parser tests 993s ok 52 /gvariant/parser/integer-bounds 993s ok 53 /gvariant/parser/recursion 993s # Start of recursion tests 993s ok 54 /gvariant/parser/recursion/typedecls 993s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 993s # Text form 0: @mmmu 5 993s # Text form 1: @mmmas ['hello'] 993s # Text form 2: @mmmu just just nothing 993s # Text form 3: @mmmas just just nothing 993s # Text form 4: @mmmu just nothing 993s # Text form 5: @mmmas just nothing 993s # Text form 6: @mmmu nothing 993s # Text form 7: @mmmas nothing 993s ok 55 /gvariant/parser/recursion/maybes 993s # End of recursion tests 993s # End of parser tests 993s # Start of parse tests 993s # Start of subprocess tests 993s # End of subprocess tests 993s # End of parse tests 993s # Start of normal-checking tests 993s ok 56 /gvariant/normal-checking/tuples 993s ok 57 /gvariant/normal-checking/array-offsets 993s ok 58 /gvariant/normal-checking/array-offsets2 993s ok 59 /gvariant/normal-checking/tuple-offsets 993s ok 60 /gvariant/normal-checking/tuple-offsets2 993s ok 61 /gvariant/normal-checking/tuple-offsets3 993s ok 62 /gvariant/normal-checking/tuple-offsets4 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 993s ok 63 /gvariant/normal-checking/tuple-offsets5 993s ok 64 /gvariant/normal-checking/empty-object-path 993s # Start of array-offsets tests 993s ok 65 /gvariant/normal-checking/array-offsets/overlapped 993s ok 66 /gvariant/normal-checking/array-offsets/minimal-sized 993s # End of array-offsets tests 993s # Start of tuple-offsets tests 993s ok 67 /gvariant/normal-checking/tuple-offsets/minimal-sized 993s # End of tuple-offsets tests 993s # End of normal-checking tests 993s # Start of recursion-limits tests 993s ok 68 /gvariant/recursion-limits/variant-in-variant 993s ok 69 /gvariant/recursion-limits/array-in-variant 993s # End of recursion-limits tests 993s # End of gvariant tests 993s # Start of gvarianttype tests 993s ok 70 /gvarianttype/hash 993s # End of gvarianttype tests 993s ok - glib/gvariant.test 993s # Running test: glib/function-info.test 993s TAP version 14 993s # random seed: R02S46a9acc8c0c8129107e4c13c31202312 993s 1..1 993s # Start of function-info tests 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_5HB5J3/function-info/invoker/.dirs/runtime 993s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 993s # /function-info/invoker summary: Test preparing a function invoker 993s ok - glib/function-info.test 993s # Running test: glib/regex.test 993s ok 1 /function-info/invoker 993s # End of function-info tests 993s TAP version 14 993s # random seed: R02S576a90a97cc11f6be76f72d3dd86876e 993s 1..849 993s # Start of regex tests 993s ok 1 /regex/properties 993s ok 2 /regex/class 993s ok 3 /regex/lookahead 993s ok 4 /regex/lookbehind 993s ok 5 /regex/subpattern 993s ok 6 /regex/condition 993s ok 7 /regex/recursion 993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 993s ok 8 /regex/multiline 993s ok 9 /regex/explicit-crlf 993s ok 10 /regex/max-lookbehind 993s ok 11 /regex/compile-errors 993s ok 12 /regex/jit-unsupported-matching 993s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 993s ok 13 /regex/unmatched-named-subpattern 993s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 993s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 993s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 993s ok 14 /regex/compiled-regex-after-jit-failure 993s # Start of new tests 993s ok 15 /regex/new/1 993s ok 16 /regex/new/2 993s ok 17 /regex/new/3 993s ok 18 /regex/new/4 993s ok 19 /regex/new/5 993s ok 20 /regex/new/6 993s ok 21 /regex/new/7 993s ok 22 /regex/new/8 993s ok 23 /regex/new/9 993s ok 24 /regex/new/10 993s ok 25 /regex/new/11 993s ok 26 /regex/new/12 993s ok 27 /regex/new/13 993s ok 28 /regex/new/14 993s ok 29 /regex/new/15 993s ok 30 /regex/new/16 993s ok 31 /regex/new/17 993s ok 32 /regex/new/18 993s ok 33 /regex/new/19 993s ok 34 /regex/new/71 993s ok 35 /regex/new/81 993s ok 36 /regex/new/83 993s # End of new tests 993s # Start of new-check-flags tests 993s ok 37 /regex/new-check-flags/20 993s ok 38 /regex/new-check-flags/21 993s ok 39 /regex/new-check-flags/22 993s ok 40 /regex/new-check-flags/23 993s ok 41 /regex/new-check-flags/24 993s ok 42 /regex/new-check-flags/25 993s ok 43 /regex/new-check-flags/26 993s ok 44 /regex/new-check-flags/27 993s ok 45 /regex/new-check-flags/28 993s ok 46 /regex/new-check-flags/29 993s ok 47 /regex/new-check-flags/30 993s ok 48 /regex/new-check-flags/31 993s ok 49 /regex/new-check-flags/32 993s ok 50 /regex/new-check-flags/33 993s ok 51 /regex/new-check-flags/34 993s ok 52 /regex/new-check-flags/35 993s ok 53 /regex/new-check-flags/36 993s # End of new-check-flags tests 993s # Start of new-fail tests 993s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 993s ok 54 /regex/new-fail/37 993s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 993s ok 55 /regex/new-fail/38 993s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 993s ok 56 /regex/new-fail/39 993s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 993s ok 57 /regex/new-fail/40 993s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 993s ok 58 /regex/new-fail/41 993s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 993s ok 59 /regex/new-fail/42 993s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 993s ok 60 /regex/new-fail/43 993s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 993s ok 61 /regex/new-fail/44 993s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 993s ok 62 /regex/new-fail/45 993s # 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 993s ok 63 /regex/new-fail/46 993s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 993s ok 64 /regex/new-fail/47 993s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 993s ok 65 /regex/new-fail/48 993s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 993s ok 66 /regex/new-fail/49 993s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 993s ok 67 /regex/new-fail/50 993s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 993s ok 68 /regex/new-fail/51 993s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 993s ok 69 /regex/new-fail/52 993s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 993s ok 70 /regex/new-fail/53 993s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 993s ok 71 /regex/new-fail/54 993s # 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 993s ok 72 /regex/new-fail/55 993s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 993s ok 73 /regex/new-fail/56 993s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 993s ok 74 /regex/new-fail/57 993s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 993s ok 75 /regex/new-fail/58 993s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 993s ok 76 /regex/new-fail/59 993s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 993s ok 77 /regex/new-fail/60 993s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 993s ok 78 /regex/new-fail/61 993s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 993s ok 79 /regex/new-fail/62 993s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 993s ok 80 /regex/new-fail/63 993s # 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 993s ok 81 /regex/new-fail/64 993s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 993s ok 82 /regex/new-fail/65 993s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 993s ok 83 /regex/new-fail/66 993s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 993s ok 84 /regex/new-fail/67 993s # 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 993s ok 85 /regex/new-fail/68 993s # 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 993s ok 86 /regex/new-fail/69 993s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 993s ok 87 /regex/new-fail/70 993s # 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 993s ok 90 /regex/new-fail/74 993s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 993s ok 91 /regex/new-fail/75 993s # 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 993s ok 92 /regex/new-fail/76 993s # Compiling pattern /a/ failed with error: Invalid newline flags 993s ok 93 /regex/new-fail/77 993s # 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 993s ok 94 /regex/new-fail/78 993s # 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 993s ok 95 /regex/new-fail/79 993s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 993s ok 96 /regex/new-fail/80 993s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 993s ok 97 /regex/new-fail/82 993s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 993s ok 98 /regex/new-fail/84 993s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 993s ok 99 /regex/new-fail/85 993s # 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 993s ok 100 /regex/new-fail/86 993s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 993s ok 101 /regex/new-fail/87 993s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 993s ok 102 /regex/new-fail/88 993s # 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 993s ok 103 /regex/new-fail/89 993s # 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 993s ok 104 /regex/new-fail/90 993s # 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) 993s ok 105 /regex/new-fail/91 993s # 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 993s ok 106 /regex/new-fail/92 993s # End of new-fail tests 993s # Start of match-simple tests 993s ok 107 /regex/match-simple/93 993s ok 108 /regex/match-simple/94 993s ok 109 /regex/match-simple/95 993s ok 110 /regex/match-simple/96 993s ok 111 /regex/match-simple/97 993s ok 112 /regex/match-simple/98 993s ok 113 /regex/match-simple/99 993s ok 114 /regex/match-simple/100 993s ok 115 /regex/match-simple/101 993s ok 116 /regex/match-simple/102 993s ok 117 /regex/match-simple/103 993s ok 118 /regex/match-simple/104 993s ok 119 /regex/match-simple/105 993s ok 120 /regex/match-simple/106 993s ok 121 /regex/match-simple/107 993s ok 122 /regex/match-simple/108 993s ok 123 /regex/match-simple/109 993s ok 124 /regex/match-simple/110 993s ok 125 /regex/match-simple/111 993s ok 126 /regex/match-simple/112 993s ok 127 /regex/match-simple/113 993s ok 128 /regex/match-simple/114 993s ok 129 /regex/match-simple/115 993s ok 130 /regex/match-simple/116 993s ok 131 /regex/match-simple/117 993s ok 132 /regex/match-simple/118 993s ok 133 /regex/match-simple/119 993s ok 134 /regex/match-simple/120 993s ok 135 /regex/match-simple/121 993s ok 136 /regex/match-simple/122 993s ok 137 /regex/match-simple/123 993s ok 138 /regex/match-simple/124 993s ok 139 /regex/match-simple/125 993s ok 140 /regex/match-simple/126 993s ok 141 /regex/match-simple/127 993s ok 142 /regex/match-simple/128 993s ok 143 /regex/match-simple/129 993s ok 144 /regex/match-simple/130 993s ok 145 /regex/match-simple/131 993s ok 146 /regex/match-simple/132 993s ok 147 /regex/match-simple/133 993s ok 148 /regex/match-simple/134 993s ok 149 /regex/match-simple/135 993s ok 150 /regex/match-simple/136 993s ok 151 /regex/match-simple/137 993s ok 152 /regex/match-simple/138 993s ok 153 /regex/match-simple/139 993s ok 154 /regex/match-simple/140 993s ok 155 /regex/match-simple/141 993s ok 156 /regex/match-simple/142 993s ok 157 /regex/match-simple/143 993s ok 158 /regex/match-simple/144 993s ok 159 /regex/match-simple/145 993s ok 160 /regex/match-simple/146 993s ok 161 /regex/match-simple/147 993s ok 162 /regex/match-simple/148 993s ok 163 /regex/match-simple/149 993s ok 164 /regex/match-simple/150 993s ok 165 /regex/match-simple/151 993s ok 166 /regex/match-simple/152 993s ok 167 /regex/match-simple/153 993s ok 168 /regex/match-simple/154 993s ok 169 /regex/match-simple/155 993s ok 170 /regex/match-simple/156 993s ok 171 /regex/match-simple/157 993s ok 172 /regex/match-simple/158 993s ok 173 /regex/match-simple/159 993s ok 174 /regex/match-simple/160 993s ok 175 /regex/match-simple/161 993s ok 176 /regex/match-simple/162 993s ok 177 /regex/match-simple/163 993s ok 178 /regex/match-simple/164 993s ok 179 /regex/match-simple/165 993s # End of match-simple tests 993s # Start of match-simple-optimized tests 993s ok 180 /regex/match-simple-optimized/93 993s ok 181 /regex/match-simple-optimized/94 993s ok 182 /regex/match-simple-optimized/95 993s ok 183 /regex/match-simple-optimized/96 993s ok 184 /regex/match-simple-optimized/97 993s ok 185 /regex/match-simple-optimized/98 993s ok 186 /regex/match-simple-optimized/99 993s ok 187 /regex/match-simple-optimized/100 993s ok 188 /regex/match-simple-optimized/101 993s ok 189 /regex/match-simple-optimized/102 993s ok 190 /regex/match-simple-optimized/103 993s ok 191 /regex/match-simple-optimized/104 993s ok 192 /regex/match-simple-optimized/105 993s ok 193 /regex/match-simple-optimized/106 993s ok 194 /regex/match-simple-optimized/107 993s ok 195 /regex/match-simple-optimized/108 993s ok 196 /regex/match-simple-optimized/109 993s ok 197 /regex/match-simple-optimized/110 993s ok 198 /regex/match-simple-optimized/111 993s ok 199 /regex/match-simple-optimized/112 993s ok 200 /regex/match-simple-optimized/113 993s ok 201 /regex/match-simple-optimized/114 993s ok 202 /regex/match-simple-optimized/115 993s ok 203 /regex/match-simple-optimized/116 993s ok 204 /regex/match-simple-optimized/117 993s ok 205 /regex/match-simple-optimized/118 993s ok 206 /regex/match-simple-optimized/119 993s ok 207 /regex/match-simple-optimized/120 993s ok 208 /regex/match-simple-optimized/121 993s ok 209 /regex/match-simple-optimized/122 993s ok 210 /regex/match-simple-optimized/123 993s ok 211 /regex/match-simple-optimized/124 993s ok 212 /regex/match-simple-optimized/125 993s ok 213 /regex/match-simple-optimized/126 993s ok 214 /regex/match-simple-optimized/127 993s ok 215 /regex/match-simple-optimized/128 993s ok 216 /regex/match-simple-optimized/129 993s ok 217 /regex/match-simple-optimized/130 993s ok 218 /regex/match-simple-optimized/131 993s ok 219 /regex/match-simple-optimized/132 993s ok 220 /regex/match-simple-optimized/133 993s ok 221 /regex/match-simple-optimized/134 993s ok 222 /regex/match-simple-optimized/135 993s ok 223 /regex/match-simple-optimized/136 993s ok 224 /regex/match-simple-optimized/137 993s ok 225 /regex/match-simple-optimized/138 993s ok 226 /regex/match-simple-optimized/139 993s ok 227 /regex/match-simple-optimized/140 993s ok 228 /regex/match-simple-optimized/141 993s ok 229 /regex/match-simple-optimized/142 993s ok 230 /regex/match-simple-optimized/143 993s ok 231 /regex/match-simple-optimized/144 993s ok 232 /regex/match-simple-optimized/145 993s ok 233 /regex/match-simple-optimized/146 993s ok 234 /regex/match-simple-optimized/147 993s ok 235 /regex/match-simple-optimized/148 993s ok 236 /regex/match-simple-optimized/149 993s ok 237 /regex/match-simple-optimized/150 993s ok 238 /regex/match-simple-optimized/151 993s ok 239 /regex/match-simple-optimized/152 993s ok 240 /regex/match-simple-optimized/153 993s ok 241 /regex/match-simple-optimized/154 993s ok 242 /regex/match-simple-optimized/155 993s ok 243 /regex/match-simple-optimized/156 993s ok 244 /regex/match-simple-optimized/157 993s ok 245 /regex/match-simple-optimized/158 993s ok 246 /regex/match-simple-optimized/159 993s ok 247 /regex/match-simple-optimized/160 993s ok 248 /regex/match-simple-optimized/161 993s ok 249 /regex/match-simple-optimized/162 993s ok 250 /regex/match-simple-optimized/163 993s ok 251 /regex/match-simple-optimized/164 993s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 993s ok 252 /regex/match-simple-optimized/165 993s # End of match-simple-optimized tests 993s # Start of match tests 993s ok 253 /regex/match/166 993s ok 254 /regex/match/167 993s ok 255 /regex/match/168 993s ok 256 /regex/match/169 993s ok 257 /regex/match/170 993s ok 258 /regex/match/171 993s ok 259 /regex/match/172 993s ok 260 /regex/match/173 993s ok 261 /regex/match/174 993s ok 262 /regex/match/175 993s ok 263 /regex/match/176 993s ok 264 /regex/match/177 993s ok 265 /regex/match/178 993s ok 266 /regex/match/179 993s ok 267 /regex/match/180 993s ok 268 /regex/match/181 993s ok 269 /regex/match/182 993s ok 270 /regex/match/183 993s ok 271 /regex/match/184 993s ok 272 /regex/match/185 993s ok 273 /regex/match/186 993s ok 274 /regex/match/187 993s ok 275 /regex/match/188 993s ok 276 /regex/match/189 993s ok 277 /regex/match/190 993s ok 278 /regex/match/191 993s ok 279 /regex/match/192 993s ok 280 /regex/match/193 993s ok 281 /regex/match/194 993s ok 282 /regex/match/195 993s ok 283 /regex/match/196 993s ok 284 /regex/match/197 993s ok 285 /regex/match/198 993s ok 286 /regex/match/199 993s ok 287 /regex/match/200 993s ok 288 /regex/match/201 993s ok 289 /regex/match/202 993s ok 290 /regex/match/203 993s ok 291 /regex/match/204 993s ok 292 /regex/match/205 993s ok 293 /regex/match/206 993s ok 294 /regex/match/207 993s ok 295 /regex/match/208 993s ok 296 /regex/match/209 993s ok 297 /regex/match/210 993s ok 298 /regex/match/211 993s ok 299 /regex/match/212 993s ok 300 /regex/match/213 993s ok 301 /regex/match/214 993s ok 302 /regex/match/215 993s ok 303 /regex/match/216 993s ok 304 /regex/match/217 993s ok 305 /regex/match/218 993s ok 306 /regex/match/219 993s ok 307 /regex/match/220 993s ok 308 /regex/match/221 993s ok 309 /regex/match/222 993s ok 310 /regex/match/223 993s ok 311 /regex/match/224 993s ok 312 /regex/match/225 993s ok 313 /regex/match/226 993s ok 314 /regex/match/227 993s ok 315 /regex/match/228 993s ok 316 /regex/match/229 993s ok 317 /regex/match/230 993s ok 318 /regex/match/231 993s ok 319 /regex/match/232 993s ok 320 /regex/match/233 993s ok 321 /regex/match/234 993s ok 322 /regex/match/235 993s ok 323 /regex/match/236 993s ok 324 /regex/match/237 993s ok 325 /regex/match/238 993s ok 326 /regex/match/239 993s ok 327 /regex/match/240 993s ok 328 /regex/match/241 993s ok 329 /regex/match/242 993s ok 330 /regex/match/243 993s ok 331 /regex/match/244 993s ok 332 /regex/match/245 993s ok 333 /regex/match/246 993s ok 334 /regex/match/247 993s ok 335 /regex/match/partial282 993s ok 336 /regex/match/partial283 993s ok 337 /regex/match/partial284 993s ok 338 /regex/match/partial285 993s ok 339 /regex/match/partial286 993s ok 340 /regex/match/partial287 993s ok 341 /regex/match/partial288 993s ok 342 /regex/match/partial289 993s ok 343 /regex/match/partial290 993s ok 344 /regex/match/partial291 993s ok 345 /regex/match/partial292 993s ok 346 /regex/match/partial293 993s ok 347 /regex/match/partial294 993s ok 348 /regex/match/partial295 993s ok 349 /regex/match/partial296 993s ok 350 /regex/match/partial297 993s ok 351 /regex/match/partial298 993s ok 352 /regex/match/partial299 993s ok 353 /regex/match/partial300 993s ok 354 /regex/match/partial301 993s ok 355 /regex/match/partial302 993s ok 356 /regex/match/partial303 993s # Start of next0 tests 993s ok 357 /regex/match/next0/248 993s ok 358 /regex/match/next0/249 993s ok 359 /regex/match/next0/250 993s ok 360 /regex/match/next0/251 993s # End of next0 tests 993s # Start of next1 tests 993s ok 361 /regex/match/next1/252 993s ok 362 /regex/match/next1/253 993s ok 363 /regex/match/next1/254 993s ok 364 /regex/match/next1/255 993s ok 365 /regex/match/next1/256 993s # End of next1 tests 993s # Start of next2 tests 993s ok 366 /regex/match/next2/257 993s ok 367 /regex/match/next2/258 993s ok 368 /regex/match/next2/259 993s ok 369 /regex/match/next2/260 993s ok 370 /regex/match/next2/261 993s ok 371 /regex/match/next2/262 993s ok 372 /regex/match/next2/263 993s ok 373 /regex/match/next2/264 993s # End of next2 tests 993s # Start of next3 tests 993s ok 374 /regex/match/next3/265 993s ok 375 /regex/match/next3/266 993s ok 376 /regex/match/next3/267 993s ok 377 /regex/match/next3/268 993s ok 378 /regex/match/next3/269 993s ok 379 /regex/match/next3/270 993s # End of next3 tests 993s # Start of next4 tests 993s ok 380 /regex/match/next4/271 993s # End of next4 tests 993s # Start of count tests 993s ok 381 /regex/match/count/272 993s ok 382 /regex/match/count/273 993s ok 383 /regex/match/count/274 993s ok 384 /regex/match/count/275 993s ok 385 /regex/match/count/276 993s ok 386 /regex/match/count/277 993s ok 387 /regex/match/count/278 993s ok 388 /regex/match/count/279 993s ok 389 /regex/match/count/280 993s ok 390 /regex/match/count/281 993s # End of count tests 993s # Start of count-optimized tests 993s ok 391 /regex/match/count-optimized/272 993s ok 392 /regex/match/count-optimized/273 993s ok 393 /regex/match/count-optimized/274 993s ok 394 /regex/match/count-optimized/275 993s ok 395 /regex/match/count-optimized/276 993s ok 396 /regex/match/count-optimized/277 993s ok 397 /regex/match/count-optimized/278 993s ok 398 /regex/match/count-optimized/279 993s ok 399 /regex/match/count-optimized/280 993s ok 400 /regex/match/count-optimized/281 993s # End of count-optimized tests 993s # Start of partial-optimized tests 993s ok 401 /regex/match/partial-optimized/282 993s ok 402 /regex/match/partial-optimized/283 993s ok 403 /regex/match/partial-optimized/284 993s ok 404 /regex/match/partial-optimized/285 993s ok 405 /regex/match/partial-optimized/286 993s ok 406 /regex/match/partial-optimized/287 993s ok 407 /regex/match/partial-optimized/288 993s ok 408 /regex/match/partial-optimized/289 993s ok 409 /regex/match/partial-optimized/290 993s ok 410 /regex/match/partial-optimized/291 993s ok 411 /regex/match/partial-optimized/292 993s ok 412 /regex/match/partial-optimized/293 993s ok 413 /regex/match/partial-optimized/294 993s ok 414 /regex/match/partial-optimized/295 993s ok 415 /regex/match/partial-optimized/296 993s ok 416 /regex/match/partial-optimized/297 993s ok 417 /regex/match/partial-optimized/298 993s ok 418 /regex/match/partial-optimized/299 993s ok 419 /regex/match/partial-optimized/300 993s ok 420 /regex/match/partial-optimized/301 993s ok 421 /regex/match/partial-optimized/302 993s ok 422 /regex/match/partial-optimized/303 993s # End of partial-optimized tests 993s # Start of subpattern tests 993s ok 423 /regex/match/subpattern/304 993s ok 424 /regex/match/subpattern/305 993s ok 425 /regex/match/subpattern/306 993s ok 426 /regex/match/subpattern/307 993s ok 427 /regex/match/subpattern/308 993s ok 428 /regex/match/subpattern/309 993s ok 429 /regex/match/subpattern/310 993s ok 430 /regex/match/subpattern/311 993s ok 431 /regex/match/subpattern/312 993s ok 432 /regex/match/subpattern/313 993s ok 433 /regex/match/subpattern/314 993s ok 434 /regex/match/subpattern/315 993s ok 435 /regex/match/subpattern/316 993s # Start of named tests 993s # Start of dupnames tests 993s ok 436 /regex/match/subpattern/named/dupnames/326 993s ok 437 /regex/match/subpattern/named/dupnames/327 993s ok 438 /regex/match/subpattern/named/dupnames/328 993s ok 439 /regex/match/subpattern/named/dupnames/329 993s ok 440 /regex/match/subpattern/named/dupnames/330 993s # End of dupnames tests 993s # End of named tests 993s # End of subpattern tests 993s # Start of subpattern-optimized tests 993s ok 441 /regex/match/subpattern-optimized/304 993s ok 442 /regex/match/subpattern-optimized/305 993s ok 443 /regex/match/subpattern-optimized/306 993s ok 444 /regex/match/subpattern-optimized/307 993s ok 445 /regex/match/subpattern-optimized/308 993s ok 446 /regex/match/subpattern-optimized/309 993s ok 447 /regex/match/subpattern-optimized/310 993s ok 448 /regex/match/subpattern-optimized/311 993s ok 449 /regex/match/subpattern-optimized/312 993s ok 450 /regex/match/subpattern-optimized/313 993s ok 451 /regex/match/subpattern-optimized/314 993s ok 452 /regex/match/subpattern-optimized/315 993s ok 453 /regex/match/subpattern-optimized/316 993s # End of subpattern-optimized tests 993s # Start of named tests 993s # Start of subpattern tests 993s ok 454 /regex/match/named/subpattern/317 993s ok 455 /regex/match/named/subpattern/318 993s ok 456 /regex/match/named/subpattern/319 993s ok 457 /regex/match/named/subpattern/320 993s ok 458 /regex/match/named/subpattern/321 993s ok 459 /regex/match/named/subpattern/322 993s ok 460 /regex/match/named/subpattern/323 993s ok 461 /regex/match/named/subpattern/324 993s ok 462 /regex/match/named/subpattern/325 993s ok 463 /regex/match/named/subpattern/331 993s ok 464 /regex/match/named/subpattern/332 993s ok 465 /regex/match/named/subpattern/333 993s ok 466 /regex/match/named/subpattern/334 993s ok 467 /regex/match/named/subpattern/335 993s # End of subpattern tests 993s # End of named tests 993s # End of match tests 993s # Start of match-optimized tests 993s ok 468 /regex/match-optimized/166 993s ok 469 /regex/match-optimized/167 993s ok 470 /regex/match-optimized/168 993s ok 471 /regex/match-optimized/169 993s ok 472 /regex/match-optimized/170 993s ok 473 /regex/match-optimized/171 993s ok 474 /regex/match-optimized/172 993s ok 475 /regex/match-optimized/173 993s ok 476 /regex/match-optimized/174 993s ok 477 /regex/match-optimized/175 993s ok 478 /regex/match-optimized/176 993s ok 479 /regex/match-optimized/177 993s ok 480 /regex/match-optimized/178 993s ok 481 /regex/match-optimized/179 993s ok 482 /regex/match-optimized/180 993s ok 483 /regex/match-optimized/181 993s ok 484 /regex/match-optimized/182 993s ok 485 /regex/match-optimized/183 993s ok 486 /regex/match-optimized/184 993s ok 487 /regex/match-optimized/185 993s ok 488 /regex/match-optimized/186 993s ok 489 /regex/match-optimized/187 993s ok 490 /regex/match-optimized/188 993s ok 491 /regex/match-optimized/189 993s ok 492 /regex/match-optimized/190 993s ok 493 /regex/match-optimized/191 993s ok 494 /regex/match-optimized/192 993s ok 495 /regex/match-optimized/193 993s ok 496 /regex/match-optimized/194 993s ok 497 /regex/match-optimized/195 993s ok 498 /regex/match-optimized/196 993s ok 499 /regex/match-optimized/197 993s ok 500 /regex/match-optimized/198 993s ok 501 /regex/match-optimized/199 993s ok 502 /regex/match-optimized/200 993s ok 503 /regex/match-optimized/201 993s ok 504 /regex/match-optimized/202 993s ok 505 /regex/match-optimized/203 993s ok 506 /regex/match-optimized/204 993s ok 507 /regex/match-optimized/205 993s ok 508 /regex/match-optimized/206 993s ok 509 /regex/match-optimized/207 993s ok 510 /regex/match-optimized/208 993s ok 511 /regex/match-optimized/209 993s ok 512 /regex/match-optimized/210 993s ok 513 /regex/match-optimized/211 993s ok 514 /regex/match-optimized/212 993s ok 515 /regex/match-optimized/213 993s ok 516 /regex/match-optimized/214 993s ok 517 /regex/match-optimized/215 993s ok 518 /regex/match-optimized/216 993s ok 519 /regex/match-optimized/217 993s ok 520 /regex/match-optimized/218 993s ok 521 /regex/match-optimized/219 993s ok 522 /regex/match-optimized/220 993s ok 523 /regex/match-optimized/221 993s ok 524 /regex/match-optimized/222 993s ok 525 /regex/match-optimized/223 993s ok 526 /regex/match-optimized/224 993s ok 527 /regex/match-optimized/225 993s ok 528 /regex/match-optimized/226 993s ok 529 /regex/match-optimized/227 993s ok 530 /regex/match-optimized/228 993s ok 531 /regex/match-optimized/229 993s ok 532 /regex/match-optimized/230 993s ok 533 /regex/match-optimized/231 993s ok 534 /regex/match-optimized/232 993s ok 535 /regex/match-optimized/233 993s ok 536 /regex/match-optimized/234 993s ok 537 /regex/match-optimized/235 993s ok 538 /regex/match-optimized/236 993s ok 539 /regex/match-optimized/237 993s ok 540 /regex/match-optimized/238 993s ok 541 /regex/match-optimized/239 993s ok 542 /regex/match-optimized/240 993s ok 543 /regex/match-optimized/241 993s ok 544 /regex/match-optimized/242 993s ok 545 /regex/match-optimized/243 993s ok 546 /regex/match-optimized/244 993s ok 547 /regex/match-optimized/245 993s ok 548 /regex/match-optimized/246 993s ok 549 /regex/match-optimized/247 993s # End of match-optimized tests 993s # Start of fetch-all0 tests 993s ok 550 /regex/fetch-all0/336 993s ok 551 /regex/fetch-all0/337 993s # End of fetch-all0 tests 993s # Start of fetch-all1 tests 993s ok 552 /regex/fetch-all1/338 993s ok 553 /regex/fetch-all1/339 993s ok 554 /regex/fetch-all1/340 993s # End of fetch-all1 tests 993s # Start of fetch-all2 tests 993s ok 555 /regex/fetch-all2/341 993s ok 556 /regex/fetch-all2/342 993s ok 557 /regex/fetch-all2/343 993s # End of fetch-all2 tests 993s # Start of fetch-all3 tests 993s ok 558 /regex/fetch-all3/344 993s ok 559 /regex/fetch-all3/345 993s ok 560 /regex/fetch-all3/346 993s ok 561 /regex/fetch-all3/347 993s ok 562 /regex/fetch-all3/348 993s # End of fetch-all3 tests 993s # Start of split tests 993s # Start of simple0 tests 993s ok 563 /regex/split/simple0/349 993s ok 564 /regex/split/simple0/350 993s ok 565 /regex/split/simple0/365 993s ok 566 /regex/split/simple0/366 993s # End of simple0 tests 993s # Start of simple1 tests 993s ok 567 /regex/split/simple1/351 993s ok 568 /regex/split/simple1/352 993s # End of simple1 tests 993s # Start of simple2 tests 993s ok 569 /regex/split/simple2/353 993s ok 570 /regex/split/simple2/359 993s ok 571 /regex/split/simple2/361 993s # End of simple2 tests 993s # Start of simple3 tests 993s ok 572 /regex/split/simple3/354 993s ok 573 /regex/split/simple3/355 993s ok 574 /regex/split/simple3/356 993s ok 575 /regex/split/simple3/357 993s ok 576 /regex/split/simple3/358 993s ok 577 /regex/split/simple3/360 993s ok 578 /regex/split/simple3/362 993s ok 579 /regex/split/simple3/363 993s ok 580 /regex/split/simple3/364 993s # End of simple3 tests 993s # End of split tests 993s # Start of split0 tests 993s ok 581 /regex/split0/367 993s ok 582 /regex/split0/369 993s # End of split0 tests 993s # Start of full-split0 tests 993s ok 583 /regex/full-split0/368 993s ok 584 /regex/full-split0/370 993s ok 585 /regex/full-split0/371 993s ok 586 /regex/full-split0/372 993s ok 587 /regex/full-split0/373 993s # End of full-split0 tests 993s # Start of split1 tests 993s ok 588 /regex/split1/374 993s ok 589 /regex/split1/377 993s # End of split1 tests 993s # Start of full-split1 tests 993s ok 590 /regex/full-split1/375 993s ok 591 /regex/full-split1/376 993s ok 592 /regex/full-split1/378 993s ok 593 /regex/full-split1/379 993s ok 594 /regex/full-split1/405 993s # End of full-split1 tests 993s # Start of split2 tests 993s ok 595 /regex/split2/380 993s ok 596 /regex/split2/384 993s ok 597 /regex/split2/396 993s # End of split2 tests 993s # Start of full-split2 tests 993s ok 598 /regex/full-split2/381 993s ok 599 /regex/full-split2/382 993s ok 600 /regex/full-split2/383 993s ok 601 /regex/full-split2/385 993s ok 602 /regex/full-split2/397 993s ok 603 /regex/full-split2/400 993s ok 604 /regex/full-split2/406 993s # End of full-split2 tests 993s # Start of split3 tests 993s ok 605 /regex/split3/386 993s ok 606 /regex/split3/388 993s ok 607 /regex/split3/390 993s ok 608 /regex/split3/392 993s ok 609 /regex/split3/394 993s ok 610 /regex/split3/398 993s ok 611 /regex/split3/401 993s ok 612 /regex/split3/403 993s # End of split3 tests 993s # Start of full-split3 tests 993s ok 613 /regex/full-split3/387 993s ok 614 /regex/full-split3/389 993s ok 615 /regex/full-split3/391 993s ok 616 /regex/full-split3/393 993s ok 617 /regex/full-split3/395 993s ok 618 /regex/full-split3/399 993s ok 619 /regex/full-split3/402 993s ok 620 /regex/full-split3/404 993s ok 621 /regex/full-split3/407 993s ok 622 /regex/full-split3/408 993s # End of full-split3 tests 993s # Start of check-repacement tests 993s ok 623 /regex/check-repacement/409 993s ok 624 /regex/check-repacement/410 993s ok 625 /regex/check-repacement/411 993s ok 626 /regex/check-repacement/412 993s ok 627 /regex/check-repacement/413 993s ok 628 /regex/check-repacement/414 993s ok 629 /regex/check-repacement/415 993s ok 630 /regex/check-repacement/416 993s # End of check-repacement tests 993s # Start of expand tests 993s ok 631 /regex/expand/417 993s ok 632 /regex/expand/418 993s ok 633 /regex/expand/419 993s ok 634 /regex/expand/420 993s ok 635 /regex/expand/421 993s ok 636 /regex/expand/422 993s ok 637 /regex/expand/423 993s ok 638 /regex/expand/424 993s ok 639 /regex/expand/425 993s ok 640 /regex/expand/426 993s ok 641 /regex/expand/427 993s ok 642 /regex/expand/428 993s ok 643 /regex/expand/429 993s ok 644 /regex/expand/430 993s ok 645 /regex/expand/431 993s ok 646 /regex/expand/432 993s ok 647 /regex/expand/433 993s ok 648 /regex/expand/434 993s ok 649 /regex/expand/435 993s ok 650 /regex/expand/436 993s ok 651 /regex/expand/437 993s ok 652 /regex/expand/438 993s ok 653 /regex/expand/439 993s ok 654 /regex/expand/440 993s ok 655 /regex/expand/441 993s ok 656 /regex/expand/442 993s ok 657 /regex/expand/443 993s ok 658 /regex/expand/444 993s ok 659 /regex/expand/445 993s ok 660 /regex/expand/446 993s ok 661 /regex/expand/447 993s ok 662 /regex/expand/448 993s ok 663 /regex/expand/449 993s ok 664 /regex/expand/450 993s ok 665 /regex/expand/451 993s ok 666 /regex/expand/452 993s ok 667 /regex/expand/453 993s ok 668 /regex/expand/454 993s ok 669 /regex/expand/455 993s ok 670 /regex/expand/456 993s ok 671 /regex/expand/457 993s ok 672 /regex/expand/458 993s ok 673 /regex/expand/459 993s ok 674 /regex/expand/460 993s ok 675 /regex/expand/461 993s ok 676 /regex/expand/462 993s ok 677 /regex/expand/463 993s ok 678 /regex/expand/464 993s ok 679 /regex/expand/465 993s ok 680 /regex/expand/466 993s ok 681 /regex/expand/467 993s ok 682 /regex/expand/468 993s ok 683 /regex/expand/469 993s ok 684 /regex/expand/470 993s ok 685 /regex/expand/471 993s ok 686 /regex/expand/472 993s ok 687 /regex/expand/473 993s ok 688 /regex/expand/474 993s ok 689 /regex/expand/475 993s ok 690 /regex/expand/476 993s ok 691 /regex/expand/477 993s ok 692 /regex/expand/478 993s ok 693 /regex/expand/479 993s ok 694 /regex/expand/480 993s ok 695 /regex/expand/481 993s ok 696 /regex/expand/482 993s # End of expand tests 993s # Start of replace tests 993s ok 697 /regex/replace/483 993s ok 698 /regex/replace/484 993s ok 699 /regex/replace/485 993s ok 700 /regex/replace/486 993s ok 701 /regex/replace/487 993s ok 702 /regex/replace/488 993s ok 703 /regex/replace/489 993s ok 704 /regex/replace/490 993s ok 705 /regex/replace/491 993s ok 706 /regex/replace/492 993s ok 707 /regex/replace/493 993s ok 708 /regex/replace/494 993s ok 709 /regex/replace/495 993s ok 710 /regex/replace/496 993s ok 711 /regex/replace/497 993s ok 712 /regex/replace/498 993s ok 713 /regex/replace/499 993s ok 714 /regex/replace/500 993s ok 715 /regex/replace/501 993s ok 716 /regex/replace/502 993s ok - glib/regex.test 993s # Running test: glib/thread.test 993s ok - glib/thread.test 993s # Running test: glib/unicode.test 993s ok 717 /regex/replace/503 993s ok 718 /regex/replace/504 993s ok 719 /regex/replace/505 993s ok 720 /regex/replace/506 993s ok 721 /regex/replace/507 993s ok 722 /regex/replace/508 993s ok 723 /regex/replace/509 993s ok 724 /regex/replace/510 993s # End of replace tests 993s # Start of replace-optimized tests 993s ok 725 /regex/replace-optimized/483 993s ok 726 /regex/replace-optimized/484 993s ok 727 /regex/replace-optimized/485 993s ok 728 /regex/replace-optimized/486 993s ok 729 /regex/replace-optimized/487 993s ok 730 /regex/replace-optimized/488 993s ok 731 /regex/replace-optimized/489 993s ok 732 /regex/replace-optimized/490 993s ok 733 /regex/replace-optimized/491 993s ok 734 /regex/replace-optimized/492 993s ok 735 /regex/replace-optimized/493 993s ok 736 /regex/replace-optimized/494 993s ok 737 /regex/replace-optimized/495 993s ok 738 /regex/replace-optimized/496 993s ok 739 /regex/replace-optimized/497 993s ok 740 /regex/replace-optimized/498 993s ok 741 /regex/replace-optimized/499 993s ok 742 /regex/replace-optimized/500 993s ok 743 /regex/replace-optimized/501 993s ok 744 /regex/replace-optimized/502 993s ok 745 /regex/replace-optimized/503 993s ok 746 /regex/replace-optimized/504 993s ok 747 /regex/replace-optimized/505 993s ok 748 /regex/replace-optimized/506 993s ok 749 /regex/replace-optimized/507 993s ok 750 /regex/replace-optimized/508 993s ok 751 /regex/replace-optimized/509 993s ok 752 /regex/replace-optimized/510 993s # End of replace-optimized tests 993s # Start of replace-literally tests 993s ok 753 /regex/replace-literally/511 993s ok 754 /regex/replace-literally/512 993s ok 755 /regex/replace-literally/513 993s ok 756 /regex/replace-literally/514 993s ok 757 /regex/replace-literally/515 993s ok 758 /regex/replace-literally/516 993s ok 759 /regex/replace-literally/517 993s ok 760 /regex/replace-literally/518 993s ok 761 /regex/replace-literally/519 993s ok 762 /regex/replace-literally/520 993s ok 763 /regex/replace-literally/521 993s ok 764 /regex/replace-literally/522 993s ok 765 /regex/replace-literally/523 993s ok 766 /regex/replace-literally/524 993s ok 767 /regex/replace-literally/525 993s ok 768 /regex/replace-literally/526 993s ok 769 /regex/replace-literally/527 993s ok 770 /regex/replace-literally/528 993s ok 771 /regex/replace-literally/529 993s ok 772 /regex/replace-literally/530 993s # End of replace-literally tests 993s # Start of string-number tests 993s ok 773 /regex/string-number/531 993s ok 774 /regex/string-number/532 993s ok 775 /regex/string-number/533 993s ok 776 /regex/string-number/534 993s ok 777 /regex/string-number/535 993s ok 778 /regex/string-number/536 993s ok 779 /regex/string-number/537 993s ok 780 /regex/string-number/538 993s ok 781 /regex/string-number/539 993s ok 782 /regex/string-number/540 993s ok 783 /regex/string-number/541 993s ok 784 /regex/string-number/542 993s ok 785 /regex/string-number/543 993s ok 786 /regex/string-number/544 993s ok 787 /regex/string-number/545 993s # End of string-number tests 993s # Start of escape_nul tests 993s ok 788 /regex/escape_nul/546 993s ok 789 /regex/escape_nul/547 993s ok 790 /regex/escape_nul/548 993s ok 791 /regex/escape_nul/549 993s ok 792 /regex/escape_nul/550 993s ok 793 /regex/escape_nul/551 993s ok 794 /regex/escape_nul/552 993s ok 795 /regex/escape_nul/553 993s ok 796 /regex/escape_nul/554 993s ok 797 /regex/escape_nul/555 993s ok 798 /regex/escape_nul/556 993s ok 799 /regex/escape_nul/557 993s ok 800 /regex/escape_nul/558 993s ok 801 /regex/escape_nul/559 993s ok 802 /regex/escape_nul/560 993s # End of escape_nul tests 993s # Start of escape tests 993s ok 803 /regex/escape/561 993s ok 804 /regex/escape/562 993s ok 805 /regex/escape/563 993s ok 806 /regex/escape/564 993s ok 807 /regex/escape/565 993s ok 808 /regex/escape/566 993s ok 809 /regex/escape/567 993s ok 810 /regex/escape/568 993s ok 811 /regex/escape/569 993s ok 812 /regex/escape/570 993s ok 813 /regex/escape/571 993s ok 814 /regex/escape/572 993s ok 815 /regex/escape/573 993s ok 816 /regex/escape/574 993s ok 817 /regex/escape/575 993s ok 818 /regex/escape/576 993s ok 819 /regex/escape/577 993s ok 820 /regex/escape/578 993s # End of escape tests 993s # Start of match-all0 tests 993s ok 821 /regex/match-all0/579 993s ok 822 /regex/match-all0/581 993s # End of match-all0 tests 993s # Start of match-all-full0 tests 993s ok 823 /regex/match-all-full0/580 993s ok 824 /regex/match-all-full0/582 993s ok 825 /regex/match-all-full0/583 993s ok 826 /regex/match-all-full0/584 993s # End of match-all-full0 tests 993s # Start of match-all1 tests 993s ok 827 /regex/match-all1/585 993s ok 828 /regex/match-all1/587 993s ok 829 /regex/match-all1/592 993s # End of match-all1 tests 993s # Start of match-all-full1 tests 993s ok 830 /regex/match-all-full1/586 993s ok 831 /regex/match-all-full1/588 993s ok 832 /regex/match-all-full1/589 993s ok 833 /regex/match-all-full1/590 993s ok 834 /regex/match-all-full1/591 993s ok 835 /regex/match-all-full1/593 993s # End of match-all-full1 tests 993s # Start of match-all2 tests 993s ok 836 /regex/match-all2/594 993s ok 837 /regex/match-all2/596 993s ok 838 /regex/match-all2/598 993s # End of match-all2 tests 993s # Start of match-all-full2 tests 993s ok 839 /regex/match-all-full2/595 993s ok 840 /regex/match-all-full2/597 993s ok 841 /regex/match-all-full2/599 993s # End of match-all-full2 tests 993s # Start of match-all3 tests 993s ok 842 /regex/match-all3/600 993s ok 843 /regex/match-all3/602 993s # End of match-all3 tests 993s # Start of match-all-full3 tests 993s ok 844 /regex/match-all-full3/601 993s ok 845 /regex/match-all-full3/603 993s # End of match-all-full3 tests 993s # Start of match-notempty tests 993s ok 846 /regex/match-notempty/604 993s # End of match-notempty tests 993s # Start of match-notempty-optimized tests 993s ok 847 /regex/match-notempty-optimized/604 993s # End of match-notempty-optimized tests 993s # Start of match-notempty-atstart tests 993s ok 848 /regex/match-notempty-atstart/605 993s # End of match-notempty-atstart tests 993s # Start of match-notempty-atstart-optimized tests 993s ok 849 /regex/match-notempty-atstart-optimized/605 993s # End of match-notempty-atstart-optimized tests 993s # End of regex tests 993s TAP version 14 993s # random seed: R02Sdc8378cf333c283e1ca329ae3c848f6e 993s 1..7 993s # Start of thread tests 993s ok 1 /thread/thread1 993s ok 2 /thread/thread2 993s ok 3 /thread/thread3 993s ok 4 /thread/thread4 993s ok 5 /thread/thread5 993s ok 6 /thread/thread6 993s ok 7 /thread/thread7 993s # End of thread tests 993s TAP version 14 993s # random seed: R02Sebc2f312c6ad61154e77ffc386c49ccf 993s 1..41 993s # Start of unicode tests 993s ok 1 /unicode/alnum 993s ok 2 /unicode/alpha 993s ok 3 /unicode/break-type 993s ok 4 /unicode/canonical-decomposition 993s ok 5 /unicode/casefold 993s # Converting 'i' => 'İ' (line 6) 993s # Converting 'I' => 'I' (line 7) 993s # Converting 'İ' => 'İ' (line 8) 993s # Converting 'i' => 'İ' (line 9) 993s # Converting 'I' => 'I' (line 10) 993s # Converting 'İ' => 'İ' (line 11) 993s # Converting 'ᾁ' => 'ἉΙ' (line 13) 993s # Converting 'ᾁ' => 'ἉΙ' (line 14) 993s # Converting 'ΜΆΙΟΣ ' => 'ΜΆΙΟΣ ' (line 16) 993s # Converting 'ΜΆΙΟΣ' => 'ΜΆΙΟΣ' (line 17) 993s # Converting 'ΣΙΓΜΑ' => 'ΣΙΓΜΑ' (line 18) 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Cannot set locale to lt_LT, skipping 993s # Converting 'iė' => 'IE' (line 32) 993s # Converting 'iė' => 'IE' (line 33) 993s # Converting 'Ì' => 'Ì' (line 34) 993s # Converting 'Í' => 'Í' (line 35) 993s # Converting 'Ĩ' => 'Ĩ' (line 36) 993s # Converting 'Í' => 'Í' (line 37) 993s # Converting 'Ì' => 'Ì' (line 38) 993s # Converting 'Ĩ' => 'Ĩ' (line 39) 993s # Converting 'Į́' => 'Į́' (line 40) 993s # Converting 'J́' => 'J́' (line 41) 993s # Converting 'Į́' => 'Į́' (line 42) 993s # Converting 'affl' => 'AFFL' (line 44) 993s # Converting 'A' => 'A' (line 48) 993s # Converting 'B' => 'B' (line 49) 993s # Converting 'C' => 'C' (line 50) 993s # Converting 'D' => 'D' (line 51) 993s # Converting 'E' => 'E' (line 52) 993s # Converting 'F' => 'F' (line 53) 993s # Converting 'G' => 'G' (line 54) 993s # Converting 'H' => 'H' (line 55) 993s # Converting 'I' => 'I' (line 56) 993s # Converting 'J' => 'J' (line 57) 993s # Converting 'K' => 'K' (line 58) 993s # Converting 'L' => 'L' (line 59) 993s # Converting 'M' => 'M' (line 60) 993s # Converting 'N' => 'N' (line 61) 993s # Converting 'O' => 'O' (line 62) 993s # Converting 'P' => 'P' (line 63) 993s # Converting 'Q' => 'Q' (line 64) 993s # Converting 'R' => 'R' (line 65) 993s # Converting 'S' => 'S' (line 66) 993s # Converting 'T' => 'T' (line 67) 993s # Converting 'U' => 'U' (line 68) 993s # Converting 'V' => 'V' (line 69) 993s # Converting 'W' => 'W' (line 70) 993s # Converting 'X' => 'X' (line 71) 993s # Converting 'Y' => 'Y' (line 72) 993s # Converting 'Z' => 'Z' (line 73) 993s # Converting 'a' => 'A' (line 74) 993s # Converting 'b' => 'B' (line 75) 993s # Converting 'c' => 'C' (line 76) 993s # Converting 'd' => 'D' (line 77) 993s # Converting 'e' => 'E' (line 78) 993s # Converting 'f' => 'F' (line 79) 993s # Converting 'g' => 'G' (line 80) 993s # Converting 'h' => 'H' (line 81) 993s # Converting 'i' => 'I' (line 82) 993s # Converting 'j' => 'J' (line 83) 993s # Converting 'k' => 'K' (line 84) 993s # Converting 'l' => 'L' (line 85) 993s # Converting 'm' => 'M' (line 86) 993s # Converting 'n' => 'N' (line 87) 993s # Converting 'o' => 'O' (line 88) 993s # Converting 'p' => 'P' (line 89) 993s # Converting 'q' => 'Q' (line 90) 993s # Converting 'r' => 'R' (line 91) 993s # Converting 's' => 'S' (line 92) 993s # Converting 't' => 'T' (line 93) 993s # Converting 'u' => 'U' (line 94) 993s # Converting 'v' => 'V' (line 95) 993s # Converting 'w' => 'W' (line 96) 993s # Converting 'x' => 'X' (line 97) 993s # Converting 'y' => 'Y' (line 98) 993s # Converting 'z' => 'Z' (line 99) 993s # Converting 'µ' => 'Μ' (line 100) 993s # Converting 'À' => 'À' (line 101) 993s # Converting 'Á' => 'Á' (line 102) 993s # Converting 'Â' => 'Â' (line 103) 993s # Converting 'Ã' => 'Ã' (line 104) 993s # Converting 'Ä' => 'Ä' (line 105) 993s # Converting 'Å' => 'Å' (line 106) 993s # Converting 'Æ' => 'Æ' (line 107) 993s # Converting 'Ç' => 'Ç' (line 108) 993s # Converting 'È' => 'È' (line 109) 993s # Converting 'É' => 'É' (line 110) 993s # Converting 'Ê' => 'Ê' (line 111) 993s # Converting 'Ë' => 'Ë' (line 112) 993s # Converting 'Ì' => 'Ì' (line 113) 993s # Converting 'Í' => 'Í' (line 114) 993s # Converting 'Î' => 'Î' (line 115) 993s # Converting 'Ï' => 'Ï' (line 116) 993s # Converting 'Ð' => 'Ð' (line 117) 993s # Converting 'Ñ' => 'Ñ' (line 118) 993s # Converting 'Ò' => 'Ò' (line 119) 993s # Converting 'Ó' => 'Ó' (line 120) 993s # Converting 'Ô' => 'Ô' (line 121) 993s # Converting 'Õ' => 'Õ' (line 122) 993s # Converting 'Ö' => 'Ö' (line 123) 993s # Converting 'Ø' => 'Ø' (line 124) 993s # Converting 'Ù' => 'Ù' (line 125) 993s # Converting 'Ú' => 'Ú' (line 126) 993s # Converting 'Û' => 'Û' (line 127) 993s # Converting 'Ü' => 'Ü' (line 128) 993s # Converting 'Ý' => 'Ý' (line 129) 993s # Converting 'Þ' => 'Þ' (line 130) 993s # Converting 'ß' => 'SS' (line 131) 993s # Converting 'à' => 'À' (line 132) 993s # Converting 'á' => 'Á' (line 133) 993s # Converting 'â' => 'Â' (line 134) 993s # Converting 'ã' => 'Ã' (line 135) 993s # Converting 'ä' => 'Ä' (line 136) 993s # Converting 'å' => 'Å' (line 137) 993s # Converting 'æ' => 'Æ' (line 138) 993s # Converting 'ç' => 'Ç' (line 139) 993s # Converting 'è' => 'È' (line 140) 993s # Converting 'é' => 'É' (line 141) 993s # Converting 'ê' => 'Ê' (line 142) 993s # Converting 'ë' => 'Ë' (line 143) 993s # Converting 'ì' => 'Ì' (line 144) 993s # Converting 'í' => 'Í' (line 145) 993s # Converting 'î' => 'Î' (line 146) 993s # Converting 'ï' => 'Ï' (line 147) 993s # Converting 'ð' => 'Ð' (line 148) 993s # Converting 'ñ' => 'Ñ' (line 149) 993s # Converting 'ò' => 'Ò' (line 150) 993s # Converting 'ó' => 'Ó' (line 151) 993s # Converting 'ô' => 'Ô' (line 152) 993s # Converting 'õ' => 'Õ' (line 153) 993s # Converting 'ö' => 'Ö' (line 154) 993s # Converting 'ø' => 'Ø' (line 155) 993s # Converting 'ù' => 'Ù' (line 156) 993s # Converting 'ú' => 'Ú' (line 157) 993s # Converting 'û' => 'Û' (line 158) 993s # Converting 'ü' => 'Ü' (line 159) 993s # Converting 'ý' => 'Ý' (line 160) 993s # Converting 'þ' => 'Þ' (line 161) 993s # Converting 'ÿ' => 'Ÿ' (line 162) 993s # Converting 'Ā' => 'Ā' (line 163) 993s # Converting 'ā' => 'Ā' (line 164) 993s # Converting 'Ă' => 'Ă' (line 165) 993s # Converting 'ă' => 'Ă' (line 166) 993s # Converting 'Ą' => 'Ą' (line 167) 993s # Converting 'ą' => 'Ą' (line 168) 993s # Converting 'Ć' => 'Ć' (line 169) 993s # Converting 'ć' => 'Ć' (line 170) 993s # Converting 'Ĉ' => 'Ĉ' (line 171) 993s # Converting 'ĉ' => 'Ĉ' (line 172) 993s # Converting 'Ċ' => 'Ċ' (line 173) 993s # Converting 'ċ' => 'Ċ' (line 174) 993s # Converting 'Č' => 'Č' (line 175) 993s # Converting 'č' => 'Č' (line 176) 993s # Converting 'Ď' => 'Ď' (line 177) 993s # Converting 'ď' => 'Ď' (line 178) 993s # Converting 'Đ' => 'Đ' (line 179) 993s # Converting 'đ' => 'Đ' (line 180) 993s # Converting 'Ē' => 'Ē' (line 181) 993s # Converting 'ē' => 'Ē' (line 182) 993s # Converting 'Ĕ' => 'Ĕ' (line 183) 993s # Converting 'ĕ' => 'Ĕ' (line 184) 993s # Converting 'Ė' => 'Ė' (line 185) 993s # Converting 'ė' => 'Ė' (line 186) 993s # Converting 'Ę' => 'Ę' (line 187) 993s # Converting 'ę' => 'Ę' (line 188) 993s # Converting 'Ě' => 'Ě' (line 189) 993s # Converting 'ě' => 'Ě' (line 190) 993s # Converting 'Ĝ' => 'Ĝ' (line 191) 993s # Converting 'ĝ' => 'Ĝ' (line 192) 993s # Converting 'Ğ' => 'Ğ' (line 193) 993s # Converting 'ğ' => 'Ğ' (line 194) 993s # Converting 'Ġ' => 'Ġ' (line 195) 993s # Converting 'ġ' => 'Ġ' (line 196) 993s # Converting 'Ģ' => 'Ģ' (line 197) 993s # Converting 'ģ' => 'Ģ' (line 198) 993s # Converting 'Ĥ' => 'Ĥ' (line 199) 993s # Converting 'ĥ' => 'Ĥ' (line 200) 993s # Converting 'Ħ' => 'Ħ' (line 201) 993s # Converting 'ħ' => 'Ħ' (line 202) 993s # Converting 'Ĩ' => 'Ĩ' (line 203) 993s # Converting 'ĩ' => 'Ĩ' (line 204) 993s # Converting 'Ī' => 'Ī' (line 205) 993s # Converting 'ī' => 'Ī' (line 206) 993s # Converting 'Ĭ' => 'Ĭ' (line 207) 993s # Converting 'ĭ' => 'Ĭ' (line 208) 993s # Converting 'Į' => 'Į' (line 209) 993s # Converting 'į' => 'Į' (line 210) 993s # Converting 'İ' => 'İ' (line 211) 993s # Converting 'ı' => 'I' (line 212) 993s # Converting 'IJ' => 'IJ' (line 213) 993s # Converting 'ij' => 'IJ' (line 214) 993s # Converting 'Ĵ' => 'Ĵ' (line 215) 993s # Converting 'ĵ' => 'Ĵ' (line 216) 993s # Converting 'Ķ' => 'Ķ' (line 217) 993s # Converting 'ķ' => 'Ķ' (line 218) 993s # Converting 'ĸ' => 'ĸ' (line 219) 993s # Converting 'Ĺ' => 'Ĺ' (line 220) 993s # Converting 'ĺ' => 'Ĺ' (line 221) 993s # Converting 'Ļ' => 'Ļ' (line 222) 993s # Converting 'ļ' => 'Ļ' (line 223) 993s # Converting 'Ľ' => 'Ľ' (line 224) 993s # Converting 'ľ' => 'Ľ' (line 225) 993s # Converting 'Ŀ' => 'Ŀ' (line 226) 993s # Converting 'ŀ' => 'Ŀ' (line 227) 993s # Converting 'Ł' => 'Ł' (line 228) 993s # Converting 'ł' => 'Ł' (line 229) 993s # Converting 'Ń' => 'Ń' (line 230) 993s # Converting 'ń' => 'Ń' (line 231) 993s # Converting 'Ņ' => 'Ņ' (line 232) 993s # Converting 'ņ' => 'Ņ' (line 233) 993s # Converting 'Ň' => 'Ň' (line 234) 993s # Converting 'ň' => 'Ň' (line 235) 993s # Converting 'ʼn' => 'ʼN' (line 236) 993s # Converting 'Ŋ' => 'Ŋ' (line 237) 993s # Converting 'ŋ' => 'Ŋ' (line 238) 993s # Converting 'Ō' => 'Ō' (line 239) 993s # Converting 'ō' => 'Ō' (line 240) 993s # Converting 'Ŏ' => 'Ŏ' (line 241) 993s # Converting 'ŏ' => 'Ŏ' (line 242) 993s # Converting 'Ő' => 'Ő' (line 243) 993s # Converting 'ő' => 'Ő' (line 244) 993s # Converting 'Œ' => 'Œ' (line 245) 993s # Converting 'œ' => 'Œ' (line 246) 993s # Converting 'Ŕ' => 'Ŕ' (line 247) 993s # Converting 'ŕ' => 'Ŕ' (line 248) 993s # Converting 'Ŗ' => 'Ŗ' (line 249) 993s # Converting 'ŗ' => 'Ŗ' (line 250) 993s # Converting 'Ř' => 'Ř' (line 251) 993s # Converting 'ř' => 'Ř' (line 252) 993s # Converting 'Ś' => 'Ś' (line 253) 993s # Converting 'ś' => 'Ś' (line 254) 993s # Converting 'Ŝ' => 'Ŝ' (line 255) 993s # Converting 'ŝ' => 'Ŝ' (line 256) 993s # Converting 'Ş' => 'Ş' (line 257) 993s # Converting 'ş' => 'Ş' (line 258) 993s # Converting 'Š' => 'Š' (line 259) 993s # Converting 'š' => 'Š' (line 260) 993s # Converting 'Ţ' => 'Ţ' (line 261) 993s # Converting 'ţ' => 'Ţ' (line 262) 993s # Converting 'Ť' => 'Ť' (line 263) 993s # Converting 'ť' => 'Ť' (line 264) 993s # Converting 'Ŧ' => 'Ŧ' (line 265) 993s # Converting 'ŧ' => 'Ŧ' (line 266) 993s # Converting 'Ũ' => 'Ũ' (line 267) 993s # Converting 'ũ' => 'Ũ' (line 268) 993s # Converting 'Ū' => 'Ū' (line 269) 993s # Converting 'ū' => 'Ū' (line 270) 993s # Converting 'Ŭ' => 'Ŭ' (line 271) 993s # Converting 'ŭ' => 'Ŭ' (line 272) 993s # Converting 'Ů' => 'Ů' (line 273) 993s # Converting 'ů' => 'Ů' (line 274) 993s # Converting 'Ű' => 'Ű' (line 275) 993s # Converting 'ű' => 'Ű' (line 276) 993s # Converting 'Ų' => 'Ų' (line 277) 993s # Converting 'ų' => 'Ų' (line 278) 993s # Converting 'Ŵ' => 'Ŵ' (line 279) 993s # Converting 'ŵ' => 'Ŵ' (line 280) 993s # Converting 'Ŷ' => 'Ŷ' (line 281) 993s # Converting 'ŷ' => 'Ŷ' (line 282) 993s # Converting 'Ÿ' => 'Ÿ' (line 283) 993s # Converting 'Ź' => 'Ź' (line 284) 993s # Converting 'ź' => 'Ź' (line 285) 993s # Converting 'Ż' => 'Ż' (line 286) 993s # Converting 'ż' => 'Ż' (line 287) 993s # Converting 'Ž' => 'Ž' (line 288) 993s # Converting 'ž' => 'Ž' (line 289) 993s # Converting 'ſ' => 'S' (line 290) 993s # Converting 'ƀ' => 'Ƀ' (line 291) 993s # Converting 'Ɓ' => 'Ɓ' (line 292) 993s # Converting 'Ƃ' => 'Ƃ' (line 293) 993s # Converting 'ƃ' => 'Ƃ' (line 294) 993s # Converting 'Ƅ' => 'Ƅ' (line 295) 993s # Converting 'ƅ' => 'Ƅ' (line 296) 993s # Converting 'Ɔ' => 'Ɔ' (line 297) 993s # Converting 'Ƈ' => 'Ƈ' (line 298) 993s # Converting 'ƈ' => 'Ƈ' (line 299) 993s # Converting 'Ɖ' => 'Ɖ' (line 300) 993s # Converting 'Ɗ' => 'Ɗ' (line 301) 993s # Converting 'Ƌ' => 'Ƌ' (line 302) 993s # Converting 'ƌ' => 'Ƌ' (line 303) 993s # Converting 'ƍ' => 'ƍ' (line 304) 993s # Converting 'Ǝ' => 'Ǝ' (line 305) 993s # Converting 'Ə' => 'Ə' (line 306) 993s # Converting 'Ɛ' => 'Ɛ' (line 307) 993s # Converting 'Ƒ' => 'Ƒ' (line 308) 993s # Converting 'ƒ' => 'Ƒ' (line 309) 993s # Converting 'Ɠ' => 'Ɠ' (line 310) 993s # Converting 'Ɣ' => 'Ɣ' (line 311) 993s # Converting 'ƕ' => 'Ƕ' (line 312) 993s # Converting 'Ɩ' => 'Ɩ' (line 313) 993s # Converting 'Ɨ' => 'Ɨ' (line 314) 993s # Converting 'Ƙ' => 'Ƙ' (line 315) 993s # Converting 'ƙ' => 'Ƙ' (line 316) 993s # Converting 'ƚ' => 'Ƚ' (line 317) 993s # Converting 'ƛ' => 'Ƛ' (line 318) 993s # Converting 'Ɯ' => 'Ɯ' (line 319) 993s # Converting 'Ɲ' => 'Ɲ' (line 320) 993s # Converting 'ƞ' => 'Ƞ' (line 321) 993s # Converting 'Ɵ' => 'Ɵ' (line 322) 993s # Converting 'Ơ' => 'Ơ' (line 323) 993s # Converting 'ơ' => 'Ơ' (line 324) 993s # Converting 'Ƣ' => 'Ƣ' (line 325) 993s # Converting 'ƣ' => 'Ƣ' (line 326) 993s # Converting 'Ƥ' => 'Ƥ' (line 327) 993s # Converting 'ƥ' => 'Ƥ' (line 328) 993s # Converting 'Ʀ' => 'Ʀ' (line 329) 993s # Converting 'Ƨ' => 'Ƨ' (line 330) 993s # Converting 'ƨ' => 'Ƨ' (line 331) 993s # Converting 'Ʃ' => 'Ʃ' (line 332) 993s # Converting 'ƪ' => 'ƪ' (line 333) 993s # Converting 'ƫ' => 'ƫ' (line 334) 993s # Converting 'Ƭ' => 'Ƭ' (line 335) 993s # Converting 'ƭ' => 'Ƭ' (line 336) 993s # Converting 'Ʈ' => 'Ʈ' (line 337) 993s # Converting 'Ư' => 'Ư' (line 338) 993s # Converting 'ư' => 'Ư' (line 339) 993s # Converting 'Ʊ' => 'Ʊ' (line 340) 993s # Converting 'Ʋ' => 'Ʋ' (line 341) 993s # Converting 'Ƴ' => 'Ƴ' (line 342) 993s # Converting 'ƴ' => 'Ƴ' (line 343) 993s # Converting 'Ƶ' => 'Ƶ' (line 344) 993s # Converting 'ƶ' => 'Ƶ' (line 345) 993s # Converting 'Ʒ' => 'Ʒ' (line 346) 993s # Converting 'Ƹ' => 'Ƹ' (line 347) 993s # Converting 'ƹ' => 'Ƹ' (line 348) 993s # Converting 'ƺ' => 'ƺ' (line 349) 993s # Converting 'Ƽ' => 'Ƽ' (line 350) 993s # Converting 'ƽ' => 'Ƽ' (line 351) 993s # Converting 'ƾ' => 'ƾ' (line 352) 993s # Converting 'ƿ' => 'Ƿ' (line 353) 993s # Converting 'DŽ' => 'DŽ' (line 354) 993s # Converting 'Dž' => 'DŽ' (line 355) 993s # Converting 'dž' => 'DŽ' (line 356) 993s # Converting 'LJ' => 'LJ' (line 357) 993s # Converting 'Lj' => 'LJ' (line 358) 993s # Converting 'lj' => 'LJ' (line 359) 993s # Converting 'NJ' => 'NJ' (line 360) 993s # Converting 'Nj' => 'NJ' (line 361) 993s # Converting 'nj' => 'NJ' (line 362) 993s # Converting 'Ǎ' => 'Ǎ' (line 363) 993s # Converting 'ǎ' => 'Ǎ' (line 364) 993s # Converting 'Ǐ' => 'Ǐ' (line 365) 993s # Converting 'ǐ' => 'Ǐ' (line 366) 993s # Converting 'Ǒ' => 'Ǒ' (line 367) 993s # Converting 'ǒ' => 'Ǒ' (line 368) 993s # Converting 'Ǔ' => 'Ǔ' (line 369) 993s # Converting 'ǔ' => 'Ǔ' (line 370) 993s # Converting 'Ǖ' => 'Ǖ' (line 371) 993s # Converting 'ǖ' => 'Ǖ' (line 372) 993s # Converting 'Ǘ' => 'Ǘ' (line 373) 993s # Converting 'ǘ' => 'Ǘ' (line 374) 993s # Converting 'Ǚ' => 'Ǚ' (line 375) 993s # Converting 'ǚ' => 'Ǚ' (line 376) 993s # Converting 'Ǜ' => 'Ǜ' (line 377) 993s # Converting 'ǜ' => 'Ǜ' (line 378) 993s # Converting 'ǝ' => 'Ǝ' (line 379) 993s # Converting 'Ǟ' => 'Ǟ' (line 380) 993s # Converting 'ǟ' => 'Ǟ' (line 381) 993s # Converting 'Ǡ' => 'Ǡ' (line 382) 993s # Converting 'ǡ' => 'Ǡ' (line 383) 993s # Converting 'Ǣ' => 'Ǣ' (line 384) 993s # Converting 'ǣ' => 'Ǣ' (line 385) 993s # Converting 'Ǥ' => 'Ǥ' (line 386) 993s # Converting 'ǥ' => 'Ǥ' (line 387) 993s # Converting 'Ǧ' => 'Ǧ' (line 388) 993s # Converting 'ǧ' => 'Ǧ' (line 389) 993s # Converting 'Ǩ' => 'Ǩ' (line 390) 993s # Converting 'ǩ' => 'Ǩ' (line 391) 993s # Converting 'Ǫ' => 'Ǫ' (line 392) 993s # Converting 'ǫ' => 'Ǫ' (line 393) 993s # Converting 'Ǭ' => 'Ǭ' (line 394) 993s # Converting 'ǭ' => 'Ǭ' (line 395) 993s # Converting 'Ǯ' => 'Ǯ' (line 396) 993s # Converting 'ǯ' => 'Ǯ' (line 397) 993s # Converting 'ǰ' => 'J̌' (line 398) 993s # Converting 'DZ' => 'DZ' (line 399) 993s # Converting 'Dz' => 'DZ' (line 400) 993s # Converting 'dz' => 'DZ' (line 401) 993s # Converting 'Ǵ' => 'Ǵ' (line 402) 993s # Converting 'ǵ' => 'Ǵ' (line 403) 993s # Converting 'Ƕ' => 'Ƕ' (line 404) 993s # Converting 'Ƿ' => 'Ƿ' (line 405) 993s # Converting 'Ǹ' => 'Ǹ' (line 406) 993s # Converting 'ǹ' => 'Ǹ' (line 407) 993s # Converting 'Ǻ' => 'Ǻ' (line 408) 993s # Converting 'ǻ' => 'Ǻ' (line 409) 993s # Converting 'Ǽ' => 'Ǽ' (line 410) 993s # Converting 'ǽ' => 'Ǽ' (line 411) 993s # Converting 'Ǿ' => 'Ǿ' (line 412) 993s # Converting 'ǿ' => 'Ǿ' (line 413) 993s # Converting 'Ȁ' => 'Ȁ' (line 414) 993s # Converting 'ȁ' => 'Ȁ' (line 415) 993s # Converting 'Ȃ' => 'Ȃ' (line 416) 993s # Converting 'ȃ' => 'Ȃ' (line 417) 993s # Converting 'Ȅ' => 'Ȅ' (line 418) 993s # Converting 'ȅ' => 'Ȅ' (line 419) 993s # Converting 'Ȇ' => 'Ȇ' (line 420) 993s # Converting 'ȇ' => 'Ȇ' (line 421) 993s # Converting 'Ȉ' => 'Ȉ' (line 422) 993s # Converting 'ȉ' => 'Ȉ' (line 423) 993s # Converting 'Ȋ' => 'Ȋ' (line 424) 993s # Converting 'ȋ' => 'Ȋ' (line 425) 993s # Converting 'Ȍ' => 'Ȍ' (line 426) 993s # Converting 'ȍ' => 'Ȍ' (line 427) 993s # Converting 'Ȏ' => 'Ȏ' (line 428) 993s # Converting 'ȏ' => 'Ȏ' (line 429) 993s # Converting 'Ȑ' => 'Ȑ' (line 430) 993s # Converting 'ȑ' => 'Ȑ' (line 431) 993s # Converting 'Ȓ' => 'Ȓ' (line 432) 993s # Converting 'ȓ' => 'Ȓ' (line 433) 993s # Converting 'Ȕ' => 'Ȕ' (line 434) 993s # Converting 'ȕ' => 'Ȕ' (line 435) 993s # Converting 'Ȗ' => 'Ȗ' (line 436) 993s # Converting 'ȗ' => 'Ȗ' (line 437) 993s # Converting 'Ș' => 'Ș' (line 438) 993s # Converting 'ș' => 'Ș' (line 439) 993s # Converting 'Ț' => 'Ț' (line 440) 993s # Converting 'ț' => 'Ț' (line 441) 993s # Converting 'Ȝ' => 'Ȝ' (line 442) 993s # Converting 'ȝ' => 'Ȝ' (line 443) 993s # Converting 'Ȟ' => 'Ȟ' (line 444) 993s # Converting 'ȟ' => 'Ȟ' (line 445) 993s # Converting 'Ƞ' => 'Ƞ' (line 446) 993s # Converting 'ȡ' => 'ȡ' (line 447) 993s # Converting 'Ȣ' => 'Ȣ' (line 448) 993s # Converting 'ȣ' => 'Ȣ' (line 449) 993s # Converting 'Ȥ' => 'Ȥ' (line 450) 993s # Converting 'ȥ' => 'Ȥ' (line 451) 993s # Converting 'Ȧ' => 'Ȧ' (line 452) 993s # Converting 'ȧ' => 'Ȧ' (line 453) 993s # Converting 'Ȩ' => 'Ȩ' (line 454) 993s # Converting 'ȩ' => 'Ȩ' (line 455) 993s # Converting 'Ȫ' => 'Ȫ' (line 456) 993s # Converting 'ȫ' => 'Ȫ' (line 457) 993s # Converting 'Ȭ' => 'Ȭ' (line 458) 993s # Converting 'ȭ' => 'Ȭ' (line 459) 993s # Converting 'Ȯ' => 'Ȯ' (line 460) 993s # Converting 'ȯ' => 'Ȯ' (line 461) 993s # Converting 'Ȱ' => 'Ȱ' (line 462) 993s # Converting 'ȱ' => 'Ȱ' (line 463) 993s # Converting 'Ȳ' => 'Ȳ' (line 464) 993s # Converting 'ȳ' => 'Ȳ' (line 465) 993s # Converting 'ȴ' => 'ȴ' (line 466) 993s # Converting 'ȵ' => 'ȵ' (line 467) 993s # Converting 'ȶ' => 'ȶ' (line 468) 993s # Converting 'ȷ' => 'ȷ' (line 469) 993s # Converting 'ȸ' => 'ȸ' (line 470) 993s # Converting 'ȹ' => 'ȹ' (line 471) 993s # Converting 'Ⱥ' => 'Ⱥ' (line 472) 993s # Converting 'Ȼ' => 'Ȼ' (line 473) 993s # Converting 'ȼ' => 'Ȼ' (line 474) 993s # Converting 'Ƚ' => 'Ƚ' (line 475) 993s # Converting 'Ⱦ' => 'Ⱦ' (line 476) 993s # Converting 'ȿ' => 'Ȿ' (line 477) 993s # Converting 'ɀ' => 'Ɀ' (line 478) 993s # Converting 'Ɂ' => 'Ɂ' (line 479) 993s # Converting 'ɂ' => 'Ɂ' (line 480) 993s # Converting 'Ƀ' => 'Ƀ' (line 481) 993s # Converting 'Ʉ' => 'Ʉ' (line 482) 993s # Converting 'Ʌ' => 'Ʌ' (line 483) 993s # Converting 'Ɇ' => 'Ɇ' (line 484) 993s # Converting 'ɇ' => 'Ɇ' (line 485) 993s # Converting 'Ɉ' => 'Ɉ' (line 486) 993s # Converting 'ɉ' => 'Ɉ' (line 487) 993s # Converting 'Ɋ' => 'Ɋ' (line 488) 993s # Converting 'ɋ' => 'Ɋ' (line 489) 993s # Converting 'Ɍ' => 'Ɍ' (line 490) 993s # Converting 'ɍ' => 'Ɍ' (line 491) 993s # Converting 'Ɏ' => 'Ɏ' (line 492) 993s # Converting 'ɏ' => 'Ɏ' (line 493) 993s # Converting 'ɐ' => 'Ɐ' (line 494) 993s # Converting 'ɑ' => 'Ɑ' (line 495) 993s # Converting 'ɒ' => 'Ɒ' (line 496) 993s # Converting 'ɓ' => 'Ɓ' (line 497) 993s # Converting 'ɔ' => 'Ɔ' (line 498) 993s # Converting 'ɕ' => 'ɕ' (line 499) 993s # Converting 'ɖ' => 'Ɖ' (line 500) 993s # Converting 'ɗ' => 'Ɗ' (line 501) 993s # Converting 'ɘ' => 'ɘ' (line 502) 993s # Converting 'ə' => 'Ə' (line 503) 993s # Converting 'ɚ' => 'ɚ' (line 504) 993s # Converting 'ɛ' => 'Ɛ' (line 505) 993s # Converting 'ɜ' => 'Ɜ' (line 506) 993s # Converting 'ɝ' => 'ɝ' (line 507) 993s # Converting 'ɞ' => 'ɞ' (line 508) 993s # Converting 'ɟ' => 'ɟ' (line 509) 993s # Converting 'ɠ' => 'Ɠ' (line 510) 993s # Converting 'ɡ' => 'Ɡ' (line 511) 993s # Converting 'ɢ' => 'ɢ' (line 512) 993s # Converting 'ɣ' => 'Ɣ' (line 513) 993s # Converting 'ɤ' => 'Ɤ' (line 514) 993s # Converting 'ɥ' => 'Ɥ' (line 515) 993s # Converting 'ɦ' => 'Ɦ' (line 516) 993s # Converting 'ɧ' => 'ɧ' (line 517) 993s # Converting 'ɨ' => 'Ɨ' (line 518) 993s # Converting 'ɩ' => 'Ɩ' (line 519) 993s # Converting 'ɪ' => 'Ɪ' (line 520) 993s # Converting 'ɫ' => 'Ɫ' (line 521) 993s # Converting 'ɬ' => 'Ɬ' (line 522) 993s # Converting 'ɭ' => 'ɭ' (line 523) 993s # Converting 'ɮ' => 'ɮ' (line 524) 993s # Converting 'ɯ' => 'Ɯ' (line 525) 993s # Converting 'ɰ' => 'ɰ' (line 526) 993s # Converting 'ɱ' => 'Ɱ' (line 527) 993s # Converting 'ɲ' => 'Ɲ' (line 528) 993s # Converting 'ɳ' => 'ɳ' (line 529) 993s # Converting 'ɴ' => 'ɴ' (line 530) 993s # Converting 'ɵ' => 'Ɵ' (line 531) 993s # Converting 'ɶ' => 'ɶ' (line 532) 993s # Converting 'ɷ' => 'ɷ' (line 533) 993s # Converting 'ɸ' => 'ɸ' (line 534) 993s # Converting 'ɹ' => 'ɹ' (line 535) 993s # Converting 'ɺ' => 'ɺ' (line 536) 993s # Converting 'ɻ' => 'ɻ' (line 537) 993s # Converting 'ɼ' => 'ɼ' (line 538) 993s # Converting 'ɽ' => 'Ɽ' (line 539) 993s # Converting 'ɾ' => 'ɾ' (line 540) 993s # Converting 'ɿ' => 'ɿ' (line 541) 993s # Converting 'ʀ' => 'Ʀ' (line 542) 993s # Converting 'ʁ' => 'ʁ' (line 543) 993s # Converting 'ʂ' => 'Ʂ' (line 544) 993s # Converting 'ʃ' => 'Ʃ' (line 545) 993s # Converting 'ʄ' => 'ʄ' (line 546) 993s # Converting 'ʅ' => 'ʅ' (line 547) 993s # Converting 'ʆ' => 'ʆ' (line 548) 993s # Converting 'ʇ' => 'Ʇ' (line 549) 993s # Converting 'ʈ' => 'Ʈ' (line 550) 993s # Converting 'ʉ' => 'Ʉ' (line 551) 993s # Converting 'ʊ' => 'Ʊ' (line 552) 993s # Converting 'ʋ' => 'Ʋ' (line 553) 993s # Converting 'ʌ' => 'Ʌ' (line 554) 993s # Converting 'ʍ' => 'ʍ' (line 555) 993s # Converting 'ʎ' => 'ʎ' (line 556) 993s # Converting 'ʏ' => 'ʏ' (line 557) 993s # Converting 'ʐ' => 'ʐ' (line 558) 993s # Converting 'ʑ' => 'ʑ' (line 559) 993s # Converting 'ʒ' => 'Ʒ' (line 560) 993s # Converting 'ʓ' => 'ʓ' (line 561) 993s # Converting 'ʖ' => 'ʖ' (line 562) 993s # Converting 'ʗ' => 'ʗ' (line 563) 993s # Converting 'ʘ' => 'ʘ' (line 564) 993s # Converting 'ʙ' => 'ʙ' (line 565) 993s # Converting 'ʚ' => 'ʚ' (line 566) 993s # Converting 'ʛ' => 'ʛ' (line 567) 993s # Converting 'ʜ' => 'ʜ' (line 568) 993s # Converting 'ʝ' => 'Ʝ' (line 569) 993s # Converting 'ʞ' => 'Ʞ' (line 570) 993s # Converting 'ʟ' => 'ʟ' (line 571) 993s # Converting 'ʠ' => 'ʠ' (line 572) 993s # Converting 'ʡ' => 'ʡ' (line 573) 993s # Converting 'ʢ' => 'ʢ' (line 574) 993s # Converting 'ʣ' => 'ʣ' (line 575) 993s # Converting 'ʤ' => 'ʤ' (line 576) 993s # Converting 'ʥ' => 'ʥ' (line 577) 993s # Converting 'ʦ' => 'ʦ' (line 578) 993s # Converting 'ʧ' => 'ʧ' (line 579) 993s # Converting 'ʨ' => 'ʨ' (line 580) 993s # Converting 'ʩ' => 'ʩ' (line 581) 993s # Converting 'ʪ' => 'ʪ' (line 582) 993s # Converting 'ʫ' => 'ʫ' (line 583) 993s # Converting 'ʬ' => 'ʬ' (line 584) 993s # Converting 'ʭ' => 'ʭ' (line 585) 993s # Converting 'ʮ' => 'ʮ' (line 586) 993s # Converting 'ʯ' => 'ʯ' (line 587) 993s # Converting 'Ͱ' => 'Ͱ' (line 588) 993s # Converting 'ͱ' => 'Ͱ' (line 589) 993s # Converting 'Ͳ' => 'Ͳ' (line 590) 993s # Converting 'ͳ' => 'Ͳ' (line 591) 993s # Converting 'Ͷ' => 'Ͷ' (line 592) 993s # Converting 'ͷ' => 'Ͷ' (line 593) 993s # Converting 'ͻ' => 'Ͻ' (line 594) 993s # Converting 'ͼ' => 'Ͼ' (line 595) 993s # Converting 'ͽ' => 'Ͽ' (line 596) 993s # Converting 'Ϳ' => 'Ϳ' (line 597) 993s # Converting 'Ά' => 'Ά' (line 598) 993s # Converting 'Έ' => 'Έ' (line 599) 993s # Converting 'Ή' => 'Ή' (line 600) 993s # Converting 'Ί' => 'Ί' (line 601) 993s # Converting 'Ό' => 'Ό' (line 602) 993s # Converting 'Ύ' => 'Ύ' (line 603) 993s # Converting 'Ώ' => 'Ώ' (line 604) 993s # Converting 'ΐ' => 'Ϊ́' (line 605) 993s # Converting 'Α' => 'Α' (line 606) 993s # Converting 'Β' => 'Β' (line 607) 993s # Converting 'Γ' => 'Γ' (line 608) 993s # Converting 'Δ' => 'Δ' (line 609) 993s # Converting 'Ε' => 'Ε' (line 610) 993s # Converting 'Ζ' => 'Ζ' (line 611) 993s # Converting 'Η' => 'Η' (line 612) 993s # Converting 'Θ' => 'Θ' (line 613) 993s # Converting 'Ι' => 'Ι' (line 614) 993s # Converting 'Κ' => 'Κ' (line 615) 993s # Converting 'Λ' => 'Λ' (line 616) 993s # Converting 'Μ' => 'Μ' (line 617) 993s # Converting 'Ν' => 'Ν' (line 618) 993s # Converting 'Ξ' => 'Ξ' (line 619) 993s # Converting 'Ο' => 'Ο' (line 620) 993s # Converting 'Π' => 'Π' (line 621) 993s # Converting 'Ρ' => 'Ρ' (line 622) 993s # Converting 'Τ' => 'Τ' (line 623) 993s # Converting 'Υ' => 'Υ' (line 624) 993s # Converting 'Φ' => 'Φ' (line 625) 993s # Converting 'Χ' => 'Χ' (line 626) 993s # Converting 'Ψ' => 'Ψ' (line 627) 993s # Converting 'Ω' => 'Ω' (line 628) 993s # Converting 'Ϊ' => 'Ϊ' (line 629) 993s # Converting 'Ϋ' => 'Ϋ' (line 630) 993s # Converting 'ά' => 'Ά' (line 631) 993s # Converting 'έ' => 'Έ' (line 632) 993s # Converting 'ή' => 'Ή' (line 633) 993s # Converting 'ί' => 'Ί' (line 634) 993s # Converting 'ΰ' => 'Ϋ́' (line 635) 993s # Converting 'α' => 'Α' (line 636) 993s # Converting 'β' => 'Β' (line 637) 993s # Converting 'γ' => 'Γ' (line 638) 993s # Converting 'δ' => 'Δ' (line 639) 993s # Converting 'ε' => 'Ε' (line 640) 993s # Converting 'ζ' => 'Ζ' (line 641) 993s # Converting 'η' => 'Η' (line 642) 993s # Converting 'θ' => 'Θ' (line 643) 993s # Converting 'ι' => 'Ι' (line 644) 993s # Converting 'κ' => 'Κ' (line 645) 993s # Converting 'λ' => 'Λ' (line 646) 993s # Converting 'μ' => 'Μ' (line 647) 993s # Converting 'ν' => 'Ν' (line 648) 993s # Converting 'ξ' => 'Ξ' (line 649) 993s # Converting 'ο' => 'Ο' (line 650) 993s # Converting 'π' => 'Π' (line 651) 993s # Converting 'ρ' => 'Ρ' (line 652) 993s # Converting 'ς' => 'Σ' (line 653) 993s # Converting 'σ' => 'Σ' (line 654) 993s # Converting 'τ' => 'Τ' (line 655) 993s # Converting 'υ' => 'Υ' (line 656) 993s # Converting 'φ' => 'Φ' (line 657) 993s # Converting 'χ' => 'Χ' (line 658) 993s # Converting 'ψ' => 'Ψ' (line 659) 993s # Converting 'ω' => 'Ω' (line 660) 993s # Converting 'ϊ' => 'Ϊ' (line 661) 993s # Converting 'ϋ' => 'Ϋ' (line 662) 993s # Converting 'ό' => 'Ό' (line 663) 993s # Converting 'ύ' => 'Ύ' (line 664) 993s # Converting 'ώ' => 'Ώ' (line 665) 993s # Converting 'Ϗ' => 'Ϗ' (line 666) 993s # Converting 'ϐ' => 'Β' (line 667) 993s # Converting 'ϑ' => 'Θ' (line 668) 993s # Converting 'ϒ' => 'ϒ' (line 669) 993s # Converting 'ϓ' => 'ϓ' (line 670) 993s # Converting 'ϔ' => 'ϔ' (line 671) 993s # Converting 'ϕ' => 'Φ' (line 672) 993s # Converting 'ϖ' => 'Π' (line 673) 993s # Converting 'ϗ' => 'Ϗ' (line 674) 993s # Converting 'Ϙ' => 'Ϙ' (line 675) 993s # Converting 'ϙ' => 'Ϙ' (line 676) 993s # Converting 'Ϛ' => 'Ϛ' (line 677) 993s # Converting 'ϛ' => 'Ϛ' (line 678) 993s # Converting 'Ϝ' => 'Ϝ' (line 679) 993s # Converting 'ϝ' => 'Ϝ' (line 680) 993s # Converting 'Ϟ' => 'Ϟ' (line 681) 993s # Converting 'ϟ' => 'Ϟ' (line 682) 993s # Converting 'Ϡ' => 'Ϡ' (line 683) 993s # Converting 'ϡ' => 'Ϡ' (line 684) 993s # Converting 'Ϣ' => 'Ϣ' (line 685) 993s # Converting 'ϣ' => 'Ϣ' (line 686) 993s # Converting 'Ϥ' => 'Ϥ' (line 687) 993s # Converting 'ϥ' => 'Ϥ' (line 688) 993s # Converting 'Ϧ' => 'Ϧ' (line 689) 993s # Converting 'ϧ' => 'Ϧ' (line 690) 993s # Converting 'Ϩ' => 'Ϩ' (line 691) 993s # Converting 'ϩ' => 'Ϩ' (line 692) 993s # Converting 'Ϫ' => 'Ϫ' (line 693) 993s # Converting 'ϫ' => 'Ϫ' (line 694) 993s # Converting 'Ϭ' => 'Ϭ' (line 695) 993s # Converting 'ϭ' => 'Ϭ' (line 696) 993s # Converting 'Ϯ' => 'Ϯ' (line 697) 993s # Converting 'ϯ' => 'Ϯ' (line 698) 993s # Converting 'ϰ' => 'Κ' (line 699) 993s # Converting 'ϱ' => 'Ρ' (line 700) 993s # Converting 'ϲ' => 'Ϲ' (line 701) 993s # Converting 'ϳ' => 'Ϳ' (line 702) 993s # Converting 'ϴ' => 'ϴ' (line 703) 993s # Converting 'ϵ' => 'Ε' (line 704) 993s # Converting 'Ϸ' => 'Ϸ' (line 705) 993s # Converting 'ϸ' => 'Ϸ' (line 706) 993s # Converting 'Ϲ' => 'Ϲ' (line 707) 993s # Converting 'Ϻ' => 'Ϻ' (line 708) 993s # Converting 'ϻ' => 'Ϻ' (line 709) 993s # Converting 'ϼ' => 'ϼ' (line 710) 993s # Converting 'Ͻ' => 'Ͻ' (line 711) 993s # Converting 'Ͼ' => 'Ͼ' (line 712) 993s # Converting 'Ͽ' => 'Ͽ' (line 713) 993s # Converting 'Ѐ' => 'Ѐ' (line 714) 993s # Converting 'Ё' => 'Ё' (line 715) 993s # Converting 'Ђ' => 'Ђ' (line 716) 993s # Converting 'Ѓ' => 'Ѓ' (line 717) 993s # Converting 'Є' => 'Є' (line 718) 993s # Converting 'Ѕ' => 'Ѕ' (line 719) 993s # Converting 'І' => 'І' (line 720) 993s # Converting 'Ї' => 'Ї' (line 721) 993s # Converting 'Ј' => 'Ј' (line 722) 993s # Converting 'Љ' => 'Љ' (line 723) 993s # Converting 'Њ' => 'Њ' (line 724) 993s # Converting 'Ћ' => 'Ћ' (line 725) 993s # Converting 'Ќ' => 'Ќ' (line 726) 993s # Converting 'Ѝ' => 'Ѝ' (line 727) 993s # Converting 'Ў' => 'Ў' (line 728) 993s # Converting 'Џ' => 'Џ' (line 729) 993s # Converting 'А' => 'А' (line 730) 993s # Converting 'Б' => 'Б' (line 731) 993s # Converting 'В' => 'В' (line 732) 993s # Converting 'Г' => 'Г' (line 733) 993s # Converting 'Д' => 'Д' (line 734) 993s # Converting 'Е' => 'Е' (line 735) 993s # Converting 'Ж' => 'Ж' (line 736) 993s # Converting 'З' => 'З' (line 737) 993s # Converting 'И' => 'И' (line 738) 993s # Converting 'Й' => 'Й' (line 739) 993s # Converting 'К' => 'К' (line 740) 993s # Converting 'Л' => 'Л' (line 741) 993s # Converting 'М' => 'М' (line 742) 993s # Converting 'Н' => 'Н' (line 743) 993s # Converting 'О' => 'О' (line 744) 993s # Converting 'П' => 'П' (line 745) 993s # Converting 'Р' => 'Р' (line 746) 993s # Converting 'С' => 'С' (line 747) 993s # Converting 'Т' => 'Т' (line 748) 993s # Converting 'У' => 'У' (line 749) 993s # Converting 'Ф' => 'Ф' (line 750) 993s # Converting 'Х' => 'Х' (line 751) 993s # Converting 'Ц' => 'Ц' (line 752) 993s # Converting 'Ч' => 'Ч' (line 753) 993s # Converting 'Ш' => 'Ш' (line 754) 993s # Converting 'Щ' => 'Щ' (line 755) 993s # Converting 'Ъ' => 'Ъ' (line 756) 993s # Converting 'Ы' => 'Ы' (line 757) 993s # Converting 'Ь' => 'Ь' (line 758) 993s # Converting 'Э' => 'Э' (line 759) 993s # Converting 'Ю' => 'Ю' (line 760) 993s # Converting 'Я' => 'Я' (line 761) 993s # Converting 'а' => 'А' (line 762) 993s # Converting 'б' => 'Б' (line 763) 993s # Converting 'в' => 'В' (line 764) 993s # Converting 'г' => 'Г' (line 765) 993s # Converting 'д' => 'Д' (line 766) 993s # Converting 'е' => 'Е' (line 767) 993s # Converting 'ж' => 'Ж' (line 768) 993s # Converting 'з' => 'З' (line 769) 993s # Converting 'и' => 'И' (line 770) 993s # Converting 'й' => 'Й' (line 771) 993s # Converting 'к' => 'К' (line 772) 993s # Converting 'л' => 'Л' (line 773) 993s # Converting 'м' => 'М' (line 774) 993s # Converting 'н' => 'Н' (line 775) 993s # Converting 'о' => 'О' (line 776) 993s # Converting 'п' => 'П' (line 777) 993s # Converting 'р' => 'Р' (line 778) 993s # Converting 'с' => 'С' (line 779) 993s # Converting 'т' => 'Т' (line 780) 993s # Converting 'у' => 'У' (line 781) 993s # Converting 'ф' => 'Ф' (line 782) 993s # Converting 'х' => 'Х' (line 783) 993s # Converting 'ц' => 'Ц' (line 784) 993s # Converting 'ч' => 'Ч' (line 785) 993s # Converting 'ш' => 'Ш' (line 786) 993s # Converting 'щ' => 'Щ' (line 787) 993s # Converting 'ъ' => 'Ъ' (line 788) 993s # Converting 'ы' => 'Ы' (line 789) 993s # Converting 'ь' => 'Ь' (line 790) 993s # Converting 'э' => 'Э' (line 791) 993s # Converting 'ю' => 'Ю' (line 792) 993s # Converting 'я' => 'Я' (line 793) 993s # Converting 'ѐ' => 'Ѐ' (line 794) 993s # Converting 'ё' => 'Ё' (line 795) 993s # Converting 'ђ' => 'Ђ' (line 796) 993s # Converting 'ѓ' => 'Ѓ' (line 797) 993s # Converting 'є' => 'Є' (line 798) 993s # Converting 'ѕ' => 'Ѕ' (line 799) 993s # Converting 'і' => 'І' (line 800) 993s # Converting 'ї' => 'Ї' (line 801) 993s # Converting 'ј' => 'Ј' (line 802) 993s # Converting 'љ' => 'Љ' (line 803) 993s # Converting 'њ' => 'Њ' (line 804) 993s # Converting 'ћ' => 'Ћ' (line 805) 993s # Converting 'ќ' => 'Ќ' (line 806) 993s # Converting 'ѝ' => 'Ѝ' (line 807) 993s # Converting 'ў' => 'Ў' (line 808) 993s # Converting 'џ' => 'Џ' (line 809) 993s # Converting 'Ѡ' => 'Ѡ' (line 810) 993s # Converting 'ѡ' => 'Ѡ' (line 811) 993s # Converting 'Ѣ' => 'Ѣ' (line 812) 993s # Converting 'ѣ' => 'Ѣ' (line 813) 993s # Converting 'Ѥ' => 'Ѥ' (line 814) 993s # Converting 'ѥ' => 'Ѥ' (line 815) 993s # Converting 'Ѧ' => 'Ѧ' (line 816) 993s # Converting 'ѧ' => 'Ѧ' (line 817) 993s # Converting 'Ѩ' => 'Ѩ' (line 818) 993s # Converting 'ѩ' => 'Ѩ' (line 819) 993s # Converting 'Ѫ' => 'Ѫ' (line 820) 993s # Converting 'ѫ' => 'Ѫ' (line 821) 993s # Converting 'Ѭ' => 'Ѭ' (line 822) 993s # Converting 'ѭ' => 'Ѭ' (line 823) 993s # Converting 'Ѯ' => 'Ѯ' (line 824) 993s # Converting 'ѯ' => 'Ѯ' (line 825) 993s # Converting 'Ѱ' => 'Ѱ' (line 826) 993s # Converting 'ѱ' => 'Ѱ' (line 827) 993s # Converting 'Ѳ' => 'Ѳ' (line 828) 993s # Converting 'ѳ' => 'Ѳ' (line 829) 993s # Converting 'Ѵ' => 'Ѵ' (line 830) 993s # Converting 'ѵ' => 'Ѵ' (line 831) 993s # Converting 'Ѷ' => 'Ѷ' (line 832) 993s # Converting 'ѷ' => 'Ѷ' (line 833) 993s # Converting 'Ѹ' => 'Ѹ' (line 834) 993s # Converting 'ѹ' => 'Ѹ' (line 835) 993s # Converting 'Ѻ' => 'Ѻ' (line 836) 993s # Converting 'ѻ' => 'Ѻ' (line 837) 993s # Converting 'Ѽ' => 'Ѽ' (line 838) 993s # Converting 'ѽ' => 'Ѽ' (line 839) 993s # Converting 'Ѿ' => 'Ѿ' (line 840) 993s # Converting 'ѿ' => 'Ѿ' (line 841) 993s # Converting 'Ҁ' => 'Ҁ' (line 842) 993s # Converting 'ҁ' => 'Ҁ' (line 843) 993s # Converting 'Ҋ' => 'Ҋ' (line 844) 993s # Converting 'ҋ' => 'Ҋ' (line 845) 993s # Converting 'Ҍ' => 'Ҍ' (line 846) 993s # Converting 'ҍ' => 'Ҍ' (line 847) 993s # Converting 'Ҏ' => 'Ҏ' (line 848) 993s # Converting 'ҏ' => 'Ҏ' (line 849) 993s # Converting 'Ґ' => 'Ґ' (line 850) 993s # Converting 'ґ' => 'Ґ' (line 851) 993s # Converting 'Ғ' => 'Ғ' (line 852) 993s # Converting 'ғ' => 'Ғ' (line 853) 993s # Converting 'Ҕ' => 'Ҕ' (line 854) 993s # Converting 'ҕ' => 'Ҕ' (line 855) 993s # Converting 'Җ' => 'Җ' (line 856) 993s # Converting 'җ' => 'Җ' (line 857) 993s # Converting 'Ҙ' => 'Ҙ' (line 858) 993s # Converting 'ҙ' => 'Ҙ' (line 859) 993s # Converting 'Қ' => 'Қ' (line 860) 993s # Converting 'қ' => 'Қ' (line 861) 993s # Converting 'Ҝ' => 'Ҝ' (line 862) 993s # Converting 'ҝ' => 'Ҝ' (line 863) 993s # Converting 'Ҟ' => 'Ҟ' (line 864) 993s # Converting 'ҟ' => 'Ҟ' (line 865) 993s # Converting 'Ҡ' => 'Ҡ' (line 866) 993s # Converting 'ҡ' => 'Ҡ' (line 867) 993s # Converting 'Ң' => 'Ң' (line 868) 993s # Converting 'ң' => 'Ң' (line 869) 993s # Converting 'Ҥ' => 'Ҥ' (line 870) 993s # Converting 'ҥ' => 'Ҥ' (line 871) 993s # Converting 'Ҧ' => 'Ҧ' (line 872) 993s # Converting 'ҧ' => 'Ҧ' (line 873) 993s # Converting 'Ҩ' => 'Ҩ' (line 874) 993s # Converting 'ҩ' => 'Ҩ' (line 875) 993s # Converting 'Ҫ' => 'Ҫ' (line 876) 993s # Converting 'ҫ' => 'Ҫ' (line 877) 993s # Converting 'Ҭ' => 'Ҭ' (line 878) 993s # Converting 'ҭ' => 'Ҭ' (line 879) 993s # Converting 'Ү' => 'Ү' (line 880) 993s # Converting 'ү' => 'Ү' (line 881) 993s # Converting 'Ұ' => 'Ұ' (line 882) 993s # Converting 'ұ' => 'Ұ' (line 883) 993s # Converting 'Ҳ' => 'Ҳ' (line 884) 993s # Converting 'ҳ' => 'Ҳ' (line 885) 993s # Converting 'Ҵ' => 'Ҵ' (line 886) 993s # Converting 'ҵ' => 'Ҵ' (line 887) 993s # Converting 'Ҷ' => 'Ҷ' (line 888) 993s # Converting 'ҷ' => 'Ҷ' (line 889) 993s # Converting 'Ҹ' => 'Ҹ' (line 890) 993s # Converting 'ҹ' => 'Ҹ' (line 891) 993s # Converting 'Һ' => 'Һ' (line 892) 993s # Converting 'һ' => 'Һ' (line 893) 993s # Converting 'Ҽ' => 'Ҽ' (line 894) 993s # Converting 'ҽ' => 'Ҽ' (line 895) 993s # Converting 'Ҿ' => 'Ҿ' (line 896) 993s # Converting 'ҿ' => 'Ҿ' (line 897) 993s # Converting 'Ӏ' => 'Ӏ' (line 898) 993s # Converting 'Ӂ' => 'Ӂ' (line 899) 993s # Converting 'ӂ' => 'Ӂ' (line 900) 993s # Converting 'Ӄ' => 'Ӄ' (line 901) 993s # Converting 'ӄ' => 'Ӄ' (line 902) 993s # Converting 'Ӆ' => 'Ӆ' (line 903) 993s # Converting 'ӆ' => 'Ӆ' (line 904) 993s # Converting 'Ӈ' => 'Ӈ' (line 905) 993s # Converting 'ӈ' => 'Ӈ' (line 906) 993s # Converting 'Ӊ' => 'Ӊ' (line 907) 993s # Converting 'ӊ' => 'Ӊ' (line 908) 993s # Converting 'Ӌ' => 'Ӌ' (line 909) 993s # Converting 'ӌ' => 'Ӌ' (line 910) 993s # Converting 'Ӎ' => 'Ӎ' (line 911) 993s # Converting 'ӎ' => 'Ӎ' (line 912) 993s # Converting 'ӏ' => 'Ӏ' (line 913) 993s # Converting 'Ӑ' => 'Ӑ' (line 914) 993s # Converting 'ӑ' => 'Ӑ' (line 915) 993s # Converting 'Ӓ' => 'Ӓ' (line 916) 993s # Converting 'ӓ' => 'Ӓ' (line 917) 993s # Converting 'Ӕ' => 'Ӕ' (line 918) 993s # Converting 'ӕ' => 'Ӕ' (line 919) 993s # Converting 'Ӗ' => 'Ӗ' (line 920) 993s # Converting 'ӗ' => 'Ӗ' (line 921) 993s # Converting 'Ә' => 'Ә' (line 922) 993s # Converting 'ә' => 'Ә' (line 923) 993s # Converting 'Ӛ' => 'Ӛ' (line 924) 993s # Converting 'ӛ' => 'Ӛ' (line 925) 993s # Converting 'Ӝ' => 'Ӝ' (line 926) 993s # Converting 'ӝ' => 'Ӝ' (line 927) 993s # Converting 'Ӟ' => 'Ӟ' (line 928) 993s # Converting 'ӟ' => 'Ӟ' (line 929) 993s # Converting 'Ӡ' => 'Ӡ' (line 930) 993s # Converting 'ӡ' => 'Ӡ' (line 931) 993s # Converting 'Ӣ' => 'Ӣ' (line 932) 993s # Converting 'ӣ' => 'Ӣ' (line 933) 993s # Converting 'Ӥ' => 'Ӥ' (line 934) 993s # Converting 'ӥ' => 'Ӥ' (line 935) 993s # Converting 'Ӧ' => 'Ӧ' (line 936) 993s # Converting 'ӧ' => 'Ӧ' (line 937) 993s # Converting 'Ө' => 'Ө' (line 938) 993s # Converting 'ө' => 'Ө' (line 939) 993s # Converting 'Ӫ' => 'Ӫ' (line 940) 993s # Converting 'ӫ' => 'Ӫ' (line 941) 993s # Converting 'Ӭ' => 'Ӭ' (line 942) 993s # Converting 'ӭ' => 'Ӭ' (line 943) 993s # Converting 'Ӯ' => 'Ӯ' (line 944) 993s # Converting 'ӯ' => 'Ӯ' (line 945) 993s # Converting 'Ӱ' => 'Ӱ' (line 946) 993s # Converting 'ӱ' => 'Ӱ' (line 947) 993s # Converting 'Ӳ' => 'Ӳ' (line 948) 993s # Converting 'ӳ' => 'Ӳ' (line 949) 993s # Converting 'Ӵ' => 'Ӵ' (line 950) 993s # Converting 'ӵ' => 'Ӵ' (line 951) 993s # Converting 'Ӷ' => 'Ӷ' (line 952) 993s # Converting 'ӷ' => 'Ӷ' (line 953) 993s # Converting 'Ӹ' => 'Ӹ' (line 954) 993s # Converting 'ӹ' => 'Ӹ' (line 955) 993s # Converting 'Ӻ' => 'Ӻ' (line 956) 993s # Converting 'ӻ' => 'Ӻ' (line 957) 993s # Converting 'Ӽ' => 'Ӽ' (line 958) 993s # Converting 'ӽ' => 'Ӽ' (line 959) 993s # Converting 'Ӿ' => 'Ӿ' (line 960) 993s # Converting 'ӿ' => 'Ӿ' (line 961) 993s # Converting 'Ԁ' => 'Ԁ' (line 962) 993s # Converting 'ԁ' => 'Ԁ' (line 963) 993s # Converting 'Ԃ' => 'Ԃ' (line 964) 993s # Converting 'ԃ' => 'Ԃ' (line 965) 993s # Converting 'Ԅ' => 'Ԅ' (line 966) 993s # Converting 'ԅ' => 'Ԅ' (line 967) 993s # Converting 'Ԇ' => 'Ԇ' (line 968) 993s # Converting 'ԇ' => 'Ԇ' (line 969) 993s # Converting 'Ԉ' => 'Ԉ' (line 970) 993s # Converting 'ԉ' => 'Ԉ' (line 971) 993s # Converting 'Ԋ' => 'Ԋ' (line 972) 993s # Converting 'ԋ' => 'Ԋ' (line 973) 993s # Converting 'Ԍ' => 'Ԍ' (line 974) 993s # Converting 'ԍ' => 'Ԍ' (line 975) 993s # Converting 'Ԏ' => 'Ԏ' (line 976) 993s # Converting 'ԏ' => 'Ԏ' (line 977) 993s # Converting 'Ԑ' => 'Ԑ' (line 978) 993s # Converting 'ԑ' => 'Ԑ' (line 979) 993s # Converting 'Ԓ' => 'Ԓ' (line 980) 993s # Converting 'ԓ' => 'Ԓ' (line 981) 993s # Converting 'Ԕ' => 'Ԕ' (line 982) 993s # Converting 'ԕ' => 'Ԕ' (line 983) 993s # Converting 'Ԗ' => 'Ԗ' (line 984) 993s # Converting 'ԗ' => 'Ԗ' (line 985) 993s # Converting 'Ԙ' => 'Ԙ' (line 986) 993s # Converting 'ԙ' => 'Ԙ' (line 987) 993s # Converting 'Ԛ' => 'Ԛ' (line 988) 993s # Converting 'ԛ' => 'Ԛ' (line 989) 993s # Converting 'Ԝ' => 'Ԝ' (line 990) 993s # Converting 'ԝ' => 'Ԝ' (line 991) 993s # Converting 'Ԟ' => 'Ԟ' (line 992) 993s # Converting 'ԟ' => 'Ԟ' (line 993) 993s # Converting 'Ԡ' => 'Ԡ' (line 994) 993s # Converting 'ԡ' => 'Ԡ' (line 995) 993s # Converting 'Ԣ' => 'Ԣ' (line 996) 993s # Converting 'ԣ' => 'Ԣ' (line 997) 993s # Converting 'Ԥ' => 'Ԥ' (line 998) 993s # Converting 'ԥ' => 'Ԥ' (line 999) 993s # Converting 'Ԧ' => 'Ԧ' (line 1000) 993s # Converting 'ԧ' => 'Ԧ' (line 1001) 993s # Converting 'Ԩ' => 'Ԩ' (line 1002) 993s # Converting 'ԩ' => 'Ԩ' (line 1003) 993s # Converting 'Ԫ' => 'Ԫ' (line 1004) 993s # Converting 'ԫ' => 'Ԫ' (line 1005) 993s # Converting 'Ԭ' => 'Ԭ' (line 1006) 993s # Converting 'ԭ' => 'Ԭ' (line 1007) 993s # Converting 'Ԯ' => 'Ԯ' (line 1008) 993s # Converting 'ԯ' => 'Ԯ' (line 1009) 993s # Converting 'Ա' => 'Ա' (line 1010) 993s # Converting 'Բ' => 'Բ' (line 1011) 993s # Converting 'Գ' => 'Գ' (line 1012) 993s # Converting 'Դ' => 'Դ' (line 1013) 993s # Converting 'Ե' => 'Ե' (line 1014) 993s # Converting 'Զ' => 'Զ' (line 1015) 993s # Converting 'Է' => 'Է' (line 1016) 993s # Converting 'Ը' => 'Ը' (line 1017) 993s # Converting 'Թ' => 'Թ' (line 1018) 993s # Converting 'Ժ' => 'Ժ' (line 1019) 993s # Converting 'Ի' => 'Ի' (line 1020) 993s # Converting 'Լ' => 'Լ' (line 1021) 993s # Converting 'Խ' => 'Խ' (line 1022) 993s # Converting 'Ծ' => 'Ծ' (line 1023) 993s # Converting 'Կ' => 'Կ' (line 1024) 993s # Converting 'Հ' => 'Հ' (line 1025) 993s # Converting 'Ձ' => 'Ձ' (line 1026) 993s # Converting 'Ղ' => 'Ղ' (line 1027) 993s # Converting 'Ճ' => 'Ճ' (line 1028) 993s # Converting 'Մ' => 'Մ' (line 1029) 993s # Converting 'Յ' => 'Յ' (line 1030) 993s # Converting 'Ն' => 'Ն' (line 1031) 993s # Converting 'Շ' => 'Շ' (line 1032) 993s # Converting 'Ո' => 'Ո' (line 1033) 993s # Converting 'Չ' => 'Չ' (line 1034) 993s # Converting 'Պ' => 'Պ' (line 1035) 993s # Converting 'Ջ' => 'Ջ' (line 1036) 993s # Converting 'Ռ' => 'Ռ' (line 1037) 993s # Converting 'Ս' => 'Ս' (line 1038) 993s # Converting 'Վ' => 'Վ' (line 1039) 993s # Converting 'Տ' => 'Տ' (line 1040) 993s # Converting 'Ր' => 'Ր' (line 1041) 993s # Converting 'Ց' => 'Ց' (line 1042) 993s # Converting 'Ւ' => 'Ւ' (line 1043) 993s # Converting 'Փ' => 'Փ' (line 1044) 993s # Converting 'Ք' => 'Ք' (line 1045) 993s # Converting 'Օ' => 'Օ' (line 1046) 993s # Converting 'Ֆ' => 'Ֆ' (line 1047) 993s # Converting 'ՠ' => 'ՠ' (line 1048) 993s # Converting 'ա' => 'Ա' (line 1049) 993s # Converting 'բ' => 'Բ' (line 1050) 993s # Converting 'գ' => 'Գ' (line 1051) 993s # Converting 'դ' => 'Դ' (line 1052) 993s # Converting 'ե' => 'Ե' (line 1053) 993s # Converting 'զ' => 'Զ' (line 1054) 993s # Converting 'է' => 'Է' (line 1055) 993s # Converting 'ը' => 'Ը' (line 1056) 993s # Converting 'թ' => 'Թ' (line 1057) 993s # Converting 'ժ' => 'Ժ' (line 1058) 993s # Converting 'ի' => 'Ի' (line 1059) 993s # Converting 'լ' => 'Լ' (line 1060) 993s # Converting 'խ' => 'Խ' (line 1061) 993s # Converting 'ծ' => 'Ծ' (line 1062) 993s # Converting 'կ' => 'Կ' (line 1063) 993s # Converting 'հ' => 'Հ' (line 1064) 993s # Converting 'ձ' => 'Ձ' (line 1065) 993s # Converting 'ղ' => 'Ղ' (line 1066) 993s # Converting 'ճ' => 'Ճ' (line 1067) 993s # Converting 'մ' => 'Մ' (line 1068) 993s # Converting 'յ' => 'Յ' (line 1069) 993s # Converting 'ն' => 'Ն' (line 1070) 993s # Converting 'շ' => 'Շ' (line 1071) 993s # Converting 'ո' => 'Ո' (line 1072) 993s # Converting 'չ' => 'Չ' (line 1073) 993s # Converting 'պ' => 'Պ' (line 1074) 993s # Converting 'ջ' => 'Ջ' (line 1075) 993s # Converting 'ռ' => 'Ռ' (line 1076) 993s # Converting 'ս' => 'Ս' (line 1077) 993s # Converting 'վ' => 'Վ' (line 1078) 993s # Converting 'տ' => 'Տ' (line 1079) 993s # Converting 'ր' => 'Ր' (line 1080) 993s # Converting 'ց' => 'Ց' (line 1081) 993s # Converting 'ւ' => 'Ւ' (line 1082) 993s # Converting 'փ' => 'Փ' (line 1083) 993s # Converting 'ք' => 'Ք' (line 1084) 993s # Converting 'օ' => 'Օ' (line 1085) 993s # Converting 'ֆ' => 'Ֆ' (line 1086) 993s # Converting 'և' => 'ԵՒ' (line 1087) 993s # Converting 'ֈ' => 'ֈ' (line 1088) 993s # Converting 'Ⴀ' => 'Ⴀ' (line 1089) 993s # Converting 'Ⴁ' => 'Ⴁ' (line 1090) 993s # Converting 'Ⴂ' => 'Ⴂ' (line 1091) 993s # Converting 'Ⴃ' => 'Ⴃ' (line 1092) 993s # Converting 'Ⴄ' => 'Ⴄ' (line 1093) 993s # Converting 'Ⴅ' => 'Ⴅ' (line 1094) 993s # Converting 'Ⴆ' => 'Ⴆ' (line 1095) 993s # Converting 'Ⴇ' => 'Ⴇ' (line 1096) 993s # Converting 'Ⴈ' => 'Ⴈ' (line 1097) 993s # Converting 'Ⴉ' => 'Ⴉ' (line 1098) 993s # Converting 'Ⴊ' => 'Ⴊ' (line 1099) 993s # Converting 'Ⴋ' => 'Ⴋ' (line 1100) 993s # Converting 'Ⴌ' => 'Ⴌ' (line 1101) 993s # Converting 'Ⴍ' => 'Ⴍ' (line 1102) 993s # Converting 'Ⴎ' => 'Ⴎ' (line 1103) 993s # Converting 'Ⴏ' => 'Ⴏ' (line 1104) 993s # Converting 'Ⴐ' => 'Ⴐ' (line 1105) 993s # Converting 'Ⴑ' => 'Ⴑ' (line 1106) 993s # Converting 'Ⴒ' => 'Ⴒ' (line 1107) 993s # Converting 'Ⴓ' => 'Ⴓ' (line 1108) 993s # Converting 'Ⴔ' => 'Ⴔ' (line 1109) 993s # Converting 'Ⴕ' => 'Ⴕ' (line 1110) 993s # Converting 'Ⴖ' => 'Ⴖ' (line 1111) 993s # Converting 'Ⴗ' => 'Ⴗ' (line 1112) 993s # Converting 'Ⴘ' => 'Ⴘ' (line 1113) 993s # Converting 'Ⴙ' => 'Ⴙ' (line 1114) 993s # Converting 'Ⴚ' => 'Ⴚ' (line 1115) 993s # Converting 'Ⴛ' => 'Ⴛ' (line 1116) 993s # Converting 'Ⴜ' => 'Ⴜ' (line 1117) 993s # Converting 'Ⴝ' => 'Ⴝ' (line 1118) 993s # Converting 'Ⴞ' => 'Ⴞ' (line 1119) 993s # Converting 'Ⴟ' => 'Ⴟ' (line 1120) 993s # Converting 'Ⴠ' => 'Ⴠ' (line 1121) 993s # Converting 'Ⴡ' => 'Ⴡ' (line 1122) 993s # Converting 'Ⴢ' => 'Ⴢ' (line 1123) 993s # Converting 'Ⴣ' => 'Ⴣ' (line 1124) 993s # Converting 'Ⴤ' => 'Ⴤ' (line 1125) 993s # Converting 'Ⴥ' => 'Ⴥ' (line 1126) 993s # Converting 'Ⴧ' => 'Ⴧ' (line 1127) 993s # Converting 'Ⴭ' => 'Ⴭ' (line 1128) 993s # Converting 'ა' => 'Ა' (line 1129) 993s # Converting 'ბ' => 'Ბ' (line 1130) 993s # Converting 'გ' => 'Გ' (line 1131) 993s # Converting 'დ' => 'Დ' (line 1132) 993s # Converting 'ე' => 'Ე' (line 1133) 993s # Converting 'ვ' => 'Ვ' (line 1134) 993s # Converting 'ზ' => 'Ზ' (line 1135) 993s # Converting 'თ' => 'Თ' (line 1136) 993s # Converting 'ი' => 'Ი' (line 1137) 993s # Converting 'კ' => 'Კ' (line 1138) 993s # Converting 'ლ' => 'Ლ' (line 1139) 993s # Converting 'მ' => 'Მ' (line 1140) 993s # Converting 'ნ' => 'Ნ' (line 1141) 993s # Converting 'ო' => 'Ო' (line 1142) 993s # Converting 'პ' => 'Პ' (line 1143) 993s # Converting 'ჟ' => 'Ჟ' (line 1144) 993s # Converting 'რ' => 'Რ' (line 1145) 993s # Converting 'ს' => 'Ს' (line 1146) 993s # Converting 'ტ' => 'Ტ' (line 1147) 993s # Converting 'უ' => 'Უ' (line 1148) 993s # Converting 'ფ' => 'Ფ' (line 1149) 993s # Converting 'ქ' => 'Ქ' (line 1150) 993s # Converting 'ღ' => 'Ღ' (line 1151) 993s # Converting 'ყ' => 'Ყ' (line 1152) 993s # Converting 'შ' => 'Შ' (line 1153) 993s # Converting 'ჩ' => 'Ჩ' (line 1154) 993s # Converting 'ც' => 'Ც' (line 1155) 993s # Converting 'ძ' => 'Ძ' (line 1156) 993s # Converting 'წ' => 'Წ' (line 1157) 993s # Converting 'ჭ' => 'Ჭ' (line 1158) 993s # Converting 'ხ' => 'Ხ' (line 1159) 993s # Converting 'ჯ' => 'Ჯ' (line 1160) 993s # Converting 'ჰ' => 'Ჰ' (line 1161) 993s # Converting 'ჱ' => 'Ჱ' (line 1162) 993s # Converting 'ჲ' => 'Ჲ' (line 1163) 993s # Converting 'ჳ' => 'Ჳ' (line 1164) 993s # Converting 'ჴ' => 'Ჴ' (line 1165) 993s # Converting 'ჵ' => 'Ჵ' (line 1166) 993s # Converting 'ჶ' => 'Ჶ' (line 1167) 993s # Converting 'ჷ' => 'Ჷ' (line 1168) 993s # Converting 'ჸ' => 'Ჸ' (line 1169) 993s # Converting 'ჹ' => 'Ჹ' (line 1170) 993s # Converting 'ჺ' => 'Ჺ' (line 1171) 993s # Converting 'ჽ' => 'Ჽ' (line 1172) 993s # Converting 'ჾ' => 'Ჾ' (line 1173) 993s # Converting 'ჿ' => 'Ჿ' (line 1174) 993s # Converting 'Ꭰ' => 'Ꭰ' (line 1175) 993s # Converting 'Ꭱ' => 'Ꭱ' (line 1176) 993s # Converting 'Ꭲ' => 'Ꭲ' (line 1177) 993s # Converting 'Ꭳ' => 'Ꭳ' (line 1178) 993s # Converting 'Ꭴ' => 'Ꭴ' (line 1179) 993s # Converting 'Ꭵ' => 'Ꭵ' (line 1180) 993s # Converting 'Ꭶ' => 'Ꭶ' (line 1181) 993s # Converting 'Ꭷ' => 'Ꭷ' (line 1182) 993s # Converting 'Ꭸ' => 'Ꭸ' (line 1183) 993s # Converting 'Ꭹ' => 'Ꭹ' (line 1184) 993s # Converting 'Ꭺ' => 'Ꭺ' (line 1185) 993s # Converting 'Ꭻ' => 'Ꭻ' (line 1186) 993s # Converting 'Ꭼ' => 'Ꭼ' (line 1187) 993s # Converting 'Ꭽ' => 'Ꭽ' (line 1188) 993s # Converting 'Ꭾ' => 'Ꭾ' (line 1189) 993s # Converting 'Ꭿ' => 'Ꭿ' (line 1190) 993s # Converting 'Ꮀ' => 'Ꮀ' (line 1191) 993s # Converting 'Ꮁ' => 'Ꮁ' (line 1192) 993s # Converting 'Ꮂ' => 'Ꮂ' (line 1193) 993s # Converting 'Ꮃ' => 'Ꮃ' (line 1194) 993s # Converting 'Ꮄ' => 'Ꮄ' (line 1195) 993s # Converting 'Ꮅ' => 'Ꮅ' (line 1196) 993s # Converting 'Ꮆ' => 'Ꮆ' (line 1197) 993s # Converting 'Ꮇ' => 'Ꮇ' (line 1198) 993s # Converting 'Ꮈ' => 'Ꮈ' (line 1199) 993s # Converting 'Ꮉ' => 'Ꮉ' (line 1200) 993s # Converting 'Ꮊ' => 'Ꮊ' (line 1201) 993s # Converting 'Ꮋ' => 'Ꮋ' (line 1202) 993s # Converting 'Ꮌ' => 'Ꮌ' (line 1203) 993s # Converting 'Ꮍ' => 'Ꮍ' (line 1204) 993s # Converting 'Ꮎ' => 'Ꮎ' (line 1205) 993s # Converting 'Ꮏ' => 'Ꮏ' (line 1206) 993s # Converting 'Ꮐ' => 'Ꮐ' (line 1207) 993s # Converting 'Ꮑ' => 'Ꮑ' (line 1208) 993s # Converting 'Ꮒ' => 'Ꮒ' (line 1209) 993s # Converting 'Ꮓ' => 'Ꮓ' (line 1210) 993s # Converting 'Ꮔ' => 'Ꮔ' (line 1211) 993s # Converting 'Ꮕ' => 'Ꮕ' (line 1212) 993s # Converting 'Ꮖ' => 'Ꮖ' (line 1213) 993s # Converting 'Ꮗ' => 'Ꮗ' (line 1214) 993s # Converting 'Ꮘ' => 'Ꮘ' (line 1215) 993s # Converting 'Ꮙ' => 'Ꮙ' (line 1216) 993s # Converting 'Ꮚ' => 'Ꮚ' (line 1217) 993s # Converting 'Ꮛ' => 'Ꮛ' (line 1218) 993s # Converting 'Ꮜ' => 'Ꮜ' (line 1219) 993s # Converting 'Ꮝ' => 'Ꮝ' (line 1220) 993s # Converting 'Ꮞ' => 'Ꮞ' (line 1221) 993s # Converting 'Ꮟ' => 'Ꮟ' (line 1222) 993s # Converting 'Ꮠ' => 'Ꮠ' (line 1223) 993s # Converting 'Ꮡ' => 'Ꮡ' (line 1224) 993s # Converting 'Ꮢ' => 'Ꮢ' (line 1225) 993s # Converting 'Ꮣ' => 'Ꮣ' (line 1226) 993s # Converting 'Ꮤ' => 'Ꮤ' (line 1227) 993s # Converting 'Ꮥ' => 'Ꮥ' (line 1228) 993s # Converting 'Ꮦ' => 'Ꮦ' (line 1229) 993s # Converting 'Ꮧ' => 'Ꮧ' (line 1230) 993s # Converting 'Ꮨ' => 'Ꮨ' (line 1231) 993s # Converting 'Ꮩ' => 'Ꮩ' (line 1232) 993s # Converting 'Ꮪ' => 'Ꮪ' (line 1233) 993s # Converting 'Ꮫ' => 'Ꮫ' (line 1234) 993s # Converting 'Ꮬ' => 'Ꮬ' (line 1235) 993s # Converting 'Ꮭ' => 'Ꮭ' (line 1236) 993s # Converting 'Ꮮ' => 'Ꮮ' (line 1237) 993s # Converting 'Ꮯ' => 'Ꮯ' (line 1238) 993s # Converting 'Ꮰ' => 'Ꮰ' (line 1239) 993s # Converting 'Ꮱ' => 'Ꮱ' (line 1240) 993s # Converting 'Ꮲ' => 'Ꮲ' (line 1241) 993s # Converting 'Ꮳ' => 'Ꮳ' (line 1242) 993s # Converting 'Ꮴ' => 'Ꮴ' (line 1243) 993s # Converting 'Ꮵ' => 'Ꮵ' (line 1244) 993s # Converting 'Ꮶ' => 'Ꮶ' (line 1245) 993s # Converting 'Ꮷ' => 'Ꮷ' (line 1246) 993s # Converting 'Ꮸ' => 'Ꮸ' (line 1247) 993s # Converting 'Ꮹ' => 'Ꮹ' (line 1248) 993s # Converting 'Ꮺ' => 'Ꮺ' (line 1249) 993s # Converting 'Ꮻ' => 'Ꮻ' (line 1250) 993s # Converting 'Ꮼ' => 'Ꮼ' (line 1251) 993s # Converting 'Ꮽ' => 'Ꮽ' (line 1252) 993s # Converting 'Ꮾ' => 'Ꮾ' (line 1253) 993s # Converting 'Ꮿ' => 'Ꮿ' (line 1254) 993s # Converting 'Ᏸ' => 'Ᏸ' (line 1255) 993s # Converting 'Ᏹ' => 'Ᏹ' (line 1256) 993s # Converting 'Ᏺ' => 'Ᏺ' (line 1257) 993s # Converting 'Ᏻ' => 'Ᏻ' (line 1258) 993s # Converting 'Ᏼ' => 'Ᏼ' (line 1259) 993s # Converting 'Ᏽ' => 'Ᏽ' (line 1260) 993s # Converting 'ᏸ' => 'Ᏸ' (line 1261) 993s # Converting 'ᏹ' => 'Ᏹ' (line 1262) 993s # Converting 'ᏺ' => 'Ᏺ' (line 1263) 993s # Converting 'ᏻ' => 'Ᏻ' (line 1264) 993s # Converting 'ᏼ' => 'Ᏼ' (line 1265) 993s # Converting 'ᏽ' => 'Ᏽ' (line 1266) 993s # Converting 'ᲀ' => 'В' (line 1267) 993s # Converting 'ᲁ' => 'Д' (line 1268) 993s # Converting 'ᲂ' => 'О' (line 1269) 993s # Converting 'ᲃ' => 'С' (line 1270) 993s # Converting 'ᲄ' => 'Т' (line 1271) 993s # Converting 'ᲅ' => 'Т' (line 1272) 993s # Converting 'ᲆ' => 'Ъ' (line 1273) 993s # Converting 'ᲇ' => 'Ѣ' (line 1274) 993s # Converting 'ᲈ' => 'Ꙋ' (line 1275) 993s # Converting 'Ᲊ' => 'Ᲊ' (line 1276) 993s # Converting 'ᲊ' => 'Ᲊ' (line 1277) 993s # Converting 'Ა' => 'Ა' (line 1278) 993s # Converting 'Ბ' => 'Ბ' (line 1279) 993s # Converting 'Გ' => 'Გ' (line 1280) 993s # Converting 'Დ' => 'Დ' (line 1281) 993s # Converting 'Ე' => 'Ე' (line 1282) 993s # Converting 'Ვ' => 'Ვ' (line 1283) 993s # Converting 'Ზ' => 'Ზ' (line 1284) 993s # Converting 'Თ' => 'Თ' (line 1285) 993s # Converting 'Ი' => 'Ი' (line 1286) 993s # Converting 'Კ' => 'Კ' (line 1287) 993s # Converting 'Ლ' => 'Ლ' (line 1288) 993s # Converting 'Მ' => 'Მ' (line 1289) 993s # Converting 'Ნ' => 'Ნ' (line 1290) 993s # Converting 'Ო' => 'Ო' (line 1291) 993s # Converting 'Პ' => 'Პ' (line 1292) 993s # Converting 'Ჟ' => 'Ჟ' (line 1293) 993s # Converting 'Რ' => 'Რ' (line 1294) 993s # Converting 'Ს' => 'Ს' (line 1295) 993s # Converting 'Ტ' => 'Ტ' (line 1296) 993s # Converting 'Უ' => 'Უ' (line 1297) 993s # Converting 'Ფ' => 'Ფ' (line 1298) 993s # Converting 'Ქ' => 'Ქ' (line 1299) 993s # Converting 'Ღ' => 'Ღ' (line 1300) 993s # Converting 'Ყ' => 'Ყ' (line 1301) 993s # Converting 'Შ' => 'Შ' (line 1302) 993s # Converting 'Ჩ' => 'Ჩ' (line 1303) 993s # Converting 'Ც' => 'Ც' (line 1304) 993s # Converting 'Ძ' => 'Ძ' (line 1305) 993s # Converting 'Წ' => 'Წ' (line 1306) 993s # Converting 'Ჭ' => 'Ჭ' (line 1307) 993s # Converting 'Ხ' => 'Ხ' (line 1308) 993s # Converting 'Ჯ' => 'Ჯ' (line 1309) 993s # Converting 'Ჰ' => 'Ჰ' (line 1310) 993s # Converting 'Ჱ' => 'Ჱ' (line 1311) 993s # Converting 'Ჲ' => 'Ჲ' (line 1312) 993s # Converting 'Ჳ' => 'Ჳ' (line 1313) 993s # Converting 'Ჴ' => 'Ჴ' (line 1314) 993s # Converting 'Ჵ' => 'Ჵ' (line 1315) 993s # Converting 'Ჶ' => 'Ჶ' (line 1316) 993s # Converting 'Ჷ' => 'Ჷ' (line 1317) 993s # Converting 'Ჸ' => 'Ჸ' (line 1318) 993s # Converting 'Ჹ' => 'Ჹ' (line 1319) 993s # Converting 'Ჺ' => 'Ჺ' (line 1320) 993s # Converting 'Ჽ' => 'Ჽ' (line 1321) 993s # Converting 'Ჾ' => 'Ჾ' (line 1322) 993s # Converting 'Ჿ' => 'Ჿ' (line 1323) 993s # Converting 'ᴀ' => 'ᴀ' (line 1324) 993s # Converting 'ᴁ' => 'ᴁ' (line 1325) 993s # Converting 'ᴂ' => 'ᴂ' (line 1326) 993s # Converting 'ᴃ' => 'ᴃ' (line 1327) 993s # Converting 'ᴄ' => 'ᴄ' (line 1328) 993s # Converting 'ᴅ' => 'ᴅ' (line 1329) 993s # Converting 'ᴆ' => 'ᴆ' (line 1330) 993s # Converting 'ᴇ' => 'ᴇ' (line 1331) 993s # Converting 'ᴈ' => 'ᴈ' (line 1332) 993s # Converting 'ᴉ' => 'ᴉ' (line 1333) 993s # Converting 'ᴊ' => 'ᴊ' (line 1334) 993s # Converting 'ᴋ' => 'ᴋ' (line 1335) 993s # Converting 'ᴌ' => 'ᴌ' (line 1336) 993s # Converting 'ᴍ' => 'ᴍ' (line 1337) 993s # Converting 'ᴎ' => 'ᴎ' (line 1338) 993s # Converting 'ᴏ' => 'ᴏ' (line 1339) 993s # Converting 'ᴐ' => 'ᴐ' (line 1340) 993s # Converting 'ᴑ' => 'ᴑ' (line 1341) 993s # Converting 'ᴒ' => 'ᴒ' (line 1342) 993s # Converting 'ᴓ' => 'ᴓ' (line 1343) 993s # Converting 'ᴔ' => 'ᴔ' (line 1344) 993s # Converting 'ᴕ' => 'ᴕ' (line 1345) 993s # Converting 'ᴖ' => 'ᴖ' (line 1346) 993s # Converting 'ᴗ' => 'ᴗ' (line 1347) 993s # Converting 'ᴘ' => 'ᴘ' (line 1348) 993s # Converting 'ᴙ' => 'ᴙ' (line 1349) 993s # Converting 'ᴚ' => 'ᴚ' (line 1350) 993s # Converting 'ᴛ' => 'ᴛ' (line 1351) 993s # Converting 'ᴜ' => 'ᴜ' (line 1352) 993s # Converting 'ᴝ' => 'ᴝ' (line 1353) 993s # Converting 'ᴞ' => 'ᴞ' (line 1354) 993s # Converting 'ᴟ' => 'ᴟ' (line 1355) 993s # Converting 'ᴠ' => 'ᴠ' (line 1356) 993s # Converting 'ᴡ' => 'ᴡ' (line 1357) 993s # Converting 'ᴢ' => 'ᴢ' (line 1358) 993s # Converting 'ᴣ' => 'ᴣ' (line 1359) 993s # Converting 'ᴤ' => 'ᴤ' (line 1360) 993s # Converting 'ᴥ' => 'ᴥ' (line 1361) 993s # Converting 'ᴦ' => 'ᴦ' (line 1362) 993s # Converting 'ᴧ' => 'ᴧ' (line 1363) 993s # Converting 'ᴨ' => 'ᴨ' (line 1364) 993s # Converting 'ᴩ' => 'ᴩ' (line 1365) 993s # Converting 'ᴪ' => 'ᴪ' (line 1366) 993s # Converting 'ᴫ' => 'ᴫ' (line 1367) 993s # Converting 'ᵫ' => 'ᵫ' (line 1368) 993s # Converting 'ᵬ' => 'ᵬ' (line 1369) 993s # Converting 'ᵭ' => 'ᵭ' (line 1370) 993s # Converting 'ᵮ' => 'ᵮ' (line 1371) 993s # Converting 'ᵯ' => 'ᵯ' (line 1372) 993s # Converting 'ᵰ' => 'ᵰ' (line 1373) 993s # Converting 'ᵱ' => 'ᵱ' (line 1374) 993s # Converting 'ᵲ' => 'ᵲ' (line 1375) 993s # Converting 'ᵳ' => 'ᵳ' (line 1376) 993s # Converting 'ᵴ' => 'ᵴ' (line 1377) 993s # Converting 'ᵵ' => 'ᵵ' (line 1378) 993s # Converting 'ᵶ' => 'ᵶ' (line 1379) 993s # Converting 'ᵷ' => 'ᵷ' (line 1380) 993s # Converting 'ᵹ' => 'Ᵹ' (line 1381) 993s # Converting 'ᵺ' => 'ᵺ' (line 1382) 993s # Converting 'ᵻ' => 'ᵻ' (line 1383) 993s # Converting 'ᵼ' => 'ᵼ' (line 1384) 993s # Converting 'ᵽ' => 'Ᵽ' (line 1385) 993s # Converting 'ᵾ' => 'ᵾ' (line 1386) 993s # Converting 'ᵿ' => 'ᵿ' (line 1387) 993s # Converting 'ᶀ' => 'ᶀ' (line 1388) 993s # Converting 'ᶁ' => 'ᶁ' (line 1389) 993s # Converting 'ᶂ' => 'ᶂ' (line 1390) 993s # Converting 'ᶃ' => 'ᶃ' (line 1391) 993s # Converting 'ᶄ' => 'ᶄ' (line 1392) 993s # Converting 'ᶅ' => 'ᶅ' (line 1393) 993s # Converting 'ᶆ' => 'ᶆ' (line 1394) 993s # Converting 'ᶇ' => 'ᶇ' (line 1395) 993s # Converting 'ᶈ' => 'ᶈ' (line 1396) 993s # Converting 'ᶉ' => 'ᶉ' (line 1397) 993s # Converting 'ᶊ' => 'ᶊ' (line 1398) 993s # Converting 'ᶋ' => 'ᶋ' (line 1399) 993s # Converting 'ᶌ' => 'ᶌ' (line 1400) 993s # Converting 'ᶍ' => 'ᶍ' (line 1401) 993s # Converting 'ᶎ' => 'Ᶎ' (line 1402) 993s # Converting 'ᶏ' => 'ᶏ' (line 1403) 993s # Converting 'ᶐ' => 'ᶐ' (line 1404) 993s # Converting 'ᶑ' => 'ᶑ' (line 1405) 993s # Converting 'ᶒ' => 'ᶒ' (line 1406) 993s # Converting 'ᶓ' => 'ᶓ' (line 1407) 993s # Converting 'ᶔ' => 'ᶔ' (line 1408) 993s # Converting 'ᶕ' => 'ᶕ' (line 1409) 993s # Converting 'ᶖ' => 'ᶖ' (line 1410) 993s # Converting 'ᶗ' => 'ᶗ' (line 1411) 993s # Converting 'ᶘ' => 'ᶘ' (line 1412) 993s # Converting 'ᶙ' => 'ᶙ' (line 1413) 993s # Converting 'ᶚ' => 'ᶚ' (line 1414) 993s # Converting 'Ḁ' => 'Ḁ' (line 1415) 993s # Converting 'ḁ' => 'Ḁ' (line 1416) 993s # Converting 'Ḃ' => 'Ḃ' (line 1417) 993s # Converting 'ḃ' => 'Ḃ' (line 1418) 993s # Converting 'Ḅ' => 'Ḅ' (line 1419) 993s # Converting 'ḅ' => 'Ḅ' (line 1420) 993s # Converting 'Ḇ' => 'Ḇ' (line 1421) 993s # Converting 'ḇ' => 'Ḇ' (line 1422) 993s # Converting 'Ḉ' => 'Ḉ' (line 1423) 993s # Converting 'ḉ' => 'Ḉ' (line 1424) 993s # Converting 'Ḋ' => 'Ḋ' (line 1425) 993s # Converting 'ḋ' => 'Ḋ' (line 1426) 993s # Converting 'Ḍ' => 'Ḍ' (line 1427) 993s # Converting 'ḍ' => 'Ḍ' (line 1428) 993s # Converting 'Ḏ' => 'Ḏ' (line 1429) 993s # Converting 'ḏ' => 'Ḏ' (line 1430) 993s # Converting 'Ḑ' => 'Ḑ' (line 1431) 993s # Converting 'ḑ' => 'Ḑ' (line 1432) 993s # Converting 'Ḓ' => 'Ḓ' (line 1433) 993s # Converting 'ḓ' => 'Ḓ' (line 1434) 993s # Converting 'Ḕ' => 'Ḕ' (line 1435) 993s # Converting 'ḕ' => 'Ḕ' (line 1436) 993s # Converting 'Ḗ' => 'Ḗ' (line 1437) 993s # Converting 'ḗ' => 'Ḗ' (line 1438) 993s # Converting 'Ḙ' => 'Ḙ' (line 1439) 993s # Converting 'ḙ' => 'Ḙ' (line 1440) 993s # Converting 'Ḛ' => 'Ḛ' (line 1441) 993s # Converting 'ḛ' => 'Ḛ' (line 1442) 993s # Converting 'Ḝ' => 'Ḝ' (line 1443) 993s # Converting 'ḝ' => 'Ḝ' (line 1444) 993s # Converting 'Ḟ' => 'Ḟ' (line 1445) 993s # Converting 'ḟ' => 'Ḟ' (line 1446) 993s # Converting 'Ḡ' => 'Ḡ' (line 1447) 993s # Converting 'ḡ' => 'Ḡ' (line 1448) 993s # Converting 'Ḣ' => 'Ḣ' (line 1449) 993s # Converting 'ḣ' => 'Ḣ' (line 1450) 993s # Converting 'Ḥ' => 'Ḥ' (line 1451) 993s # Converting 'ḥ' => 'Ḥ' (line 1452) 993s # Converting 'Ḧ' => 'Ḧ' (line 1453) 993s # Converting 'ḧ' => 'Ḧ' (line 1454) 993s # Converting 'Ḩ' => 'Ḩ' (line 1455) 993s # Converting 'ḩ' => 'Ḩ' (line 1456) 993s # Converting 'Ḫ' => 'Ḫ' (line 1457) 993s # Converting 'ḫ' => 'Ḫ' (line 1458) 993s # Converting 'Ḭ' => 'Ḭ' (line 1459) 993s # Converting 'ḭ' => 'Ḭ' (line 1460) 993s # Converting 'Ḯ' => 'Ḯ' (line 1461) 993s # Converting 'ḯ' => 'Ḯ' (line 1462) 993s # Converting 'Ḱ' => 'Ḱ' (line 1463) 993s # Converting 'ḱ' => 'Ḱ' (line 1464) 993s # Converting 'Ḳ' => 'Ḳ' (line 1465) 993s # Converting 'ḳ' => 'Ḳ' (line 1466) 993s # Converting 'Ḵ' => 'Ḵ' (line 1467) 993s # Converting 'ḵ' => 'Ḵ' (line 1468) 993s # Converting 'Ḷ' => 'Ḷ' (line 1469) 993s # Converting 'ḷ' => 'Ḷ' (line 1470) 993s # Converting 'Ḹ' => 'Ḹ' (line 1471) 993s # Converting 'ḹ' => 'Ḹ' (line 1472) 993s # Converting 'Ḻ' => 'Ḻ' (line 1473) 993s # Converting 'ḻ' => 'Ḻ' (line 1474) 993s # Converting 'Ḽ' => 'Ḽ' (line 1475) 993s # Converting 'ḽ' => 'Ḽ' (line 1476) 993s # Converting 'Ḿ' => 'Ḿ' (line 1477) 993s # Converting 'ḿ' => 'Ḿ' (line 1478) 993s # Converting 'Ṁ' => 'Ṁ' (line 1479) 993s # Converting 'ṁ' => 'Ṁ' (line 1480) 993s # Converting 'Ṃ' => 'Ṃ' (line 1481) 993s # Converting 'ṃ' => 'Ṃ' (line 1482) 993s # Converting 'Ṅ' => 'Ṅ' (line 1483) 993s # Converting 'ṅ' => 'Ṅ' (line 1484) 993s # Converting 'Ṇ' => 'Ṇ' (line 1485) 993s # Converting 'ṇ' => 'Ṇ' (line 1486) 993s # Converting 'Ṉ' => 'Ṉ' (line 1487) 993s # Converting 'ṉ' => 'Ṉ' (line 1488) 993s # Converting 'Ṋ' => 'Ṋ' (line 1489) 993s # Converting 'ṋ' => 'Ṋ' (line 1490) 993s # Converting 'Ṍ' => 'Ṍ' (line 1491) 993s # Converting 'ṍ' => 'Ṍ' (line 1492) 993s # Converting 'Ṏ' => 'Ṏ' (line 1493) 993s # Converting 'ṏ' => 'Ṏ' (line 1494) 993s # Converting 'Ṑ' => 'Ṑ' (line 1495) 993s # Converting 'ṑ' => 'Ṑ' (line 1496) 993s # Converting 'Ṓ' => 'Ṓ' (line 1497) 993s # Converting 'ṓ' => 'Ṓ' (line 1498) 993s # Converting 'Ṕ' => 'Ṕ' (line 1499) 993s # Converting 'ṕ' => 'Ṕ' (line 1500) 993s # Converting 'Ṗ' => 'Ṗ' (line 1501) 993s # Converting 'ṗ' => 'Ṗ' (line 1502) 993s # Converting 'Ṙ' => 'Ṙ' (line 1503) 993s # Converting 'ṙ' => 'Ṙ' (line 1504) 993s # Converting 'Ṛ' => 'Ṛ' (line 1505) 993s # Converting 'ṛ' => 'Ṛ' (line 1506) 993s # Converting 'Ṝ' => 'Ṝ' (line 1507) 993s # Converting 'ṝ' => 'Ṝ' (line 1508) 993s # Converting 'Ṟ' => 'Ṟ' (line 1509) 993s # Converting 'ṟ' => 'Ṟ' (line 1510) 993s # Converting 'Ṡ' => 'Ṡ' (line 1511) 993s # Converting 'ṡ' => 'Ṡ' (line 1512) 993s # Converting 'Ṣ' => 'Ṣ' (line 1513) 993s # Converting 'ṣ' => 'Ṣ' (line 1514) 993s # Converting 'Ṥ' => 'Ṥ' (line 1515) 993s # Converting 'ṥ' => 'Ṥ' (line 1516) 993s # Converting 'Ṧ' => 'Ṧ' (line 1517) 993s # Converting 'ṧ' => 'Ṧ' (line 1518) 993s # Converting 'Ṩ' => 'Ṩ' (line 1519) 993s # Converting 'ṩ' => 'Ṩ' (line 1520) 993s # Converting 'Ṫ' => 'Ṫ' (line 1521) 993s # Converting 'ṫ' => 'Ṫ' (line 1522) 993s # Converting 'Ṭ' => 'Ṭ' (line 1523) 993s # Converting 'ṭ' => 'Ṭ' (line 1524) 993s # Converting 'Ṯ' => 'Ṯ' (line 1525) 993s # Converting 'ṯ' => 'Ṯ' (line 1526) 993s # Converting 'Ṱ' => 'Ṱ' (line 1527) 993s # Converting 'ṱ' => 'Ṱ' (line 1528) 993s # Converting 'Ṳ' => 'Ṳ' (line 1529) 993s # Converting 'ṳ' => 'Ṳ' (line 1530) 993s # Converting 'Ṵ' => 'Ṵ' (line 1531) 993s # Converting 'ṵ' => 'Ṵ' (line 1532) 993s # Converting 'Ṷ' => 'Ṷ' (line 1533) 993s # Converting 'ṷ' => 'Ṷ' (line 1534) 993s # Converting 'Ṹ' => 'Ṹ' (line 1535) 993s # Converting 'ṹ' => 'Ṹ' (line 1536) 993s # Converting 'Ṻ' => 'Ṻ' (line 1537) 993s # Converting 'ṻ' => 'Ṻ' (line 1538) 993s # Converting 'Ṽ' => 'Ṽ' (line 1539) 993s # Converting 'ṽ' => 'Ṽ' (line 1540) 993s # Converting 'Ṿ' => 'Ṿ' (line 1541) 993s # Converting 'ṿ' => 'Ṿ' (line 1542) 993s # Converting 'Ẁ' => 'Ẁ' (line 1543) 993s # Converting 'ẁ' => 'Ẁ' (line 1544) 993s # Converting 'Ẃ' => 'Ẃ' (line 1545) 993s # Converting 'ẃ' => 'Ẃ' (line 1546) 993s # Converting 'Ẅ' => 'Ẅ' (line 1547) 993s # Converting 'ẅ' => 'Ẅ' (line 1548) 993s # Converting 'Ẇ' => 'Ẇ' (line 1549) 993s # Converting 'ẇ' => 'Ẇ' (line 1550) 993s # Converting 'Ẉ' => 'Ẉ' (line 1551) 993s # Converting 'ẉ' => 'Ẉ' (line 1552) 993s # Converting 'Ẋ' => 'Ẋ' (line 1553) 993s # Converting 'ẋ' => 'Ẋ' (line 1554) 993s # Converting 'Ẍ' => 'Ẍ' (line 1555) 993s # Converting 'ẍ' => 'Ẍ' (line 1556) 993s # Converting 'Ẏ' => 'Ẏ' (line 1557) 993s # Converting 'ẏ' => 'Ẏ' (line 1558) 993s # Converting 'Ẑ' => 'Ẑ' (line 1559) 993s # Converting 'ẑ' => 'Ẑ' (line 1560) 993s # Converting 'Ẓ' => 'Ẓ' (line 1561) 993s # Converting 'ẓ' => 'Ẓ' (line 1562) 993s # Converting 'Ẕ' => 'Ẕ' (line 1563) 993s # Converting 'ẕ' => 'Ẕ' (line 1564) 993s # Converting 'ẖ' => 'H̱' (line 1565) 993s # Converting 'ẗ' => 'T̈' (line 1566) 993s # Converting 'ẘ' => 'W̊' (line 1567) 993s # Converting 'ẙ' => 'Y̊' (line 1568) 993s # Converting 'ẚ' => 'Aʾ' (line 1569) 993s # Converting 'ẛ' => 'Ṡ' (line 1570) 993s # Converting 'ẜ' => 'ẜ' (line 1571) 993s # Converting 'ẝ' => 'ẝ' (line 1572) 993s # Converting 'ẞ' => 'ẞ' (line 1573) 993s # Converting 'ẟ' => 'ẟ' (line 1574) 993s # Converting 'Ạ' => 'Ạ' (line 1575) 993s # Converting 'ạ' => 'Ạ' (line 1576) 993s # Converting 'Ả' => 'Ả' (line 1577) 993s # Converting 'ả' => 'Ả' (line 1578) 993s # Converting 'Ấ' => 'Ấ' (line 1579) 993s # Converting 'ấ' => 'Ấ' (line 1580) 993s # Converting 'Ầ' => 'Ầ' (line 1581) 993s # Converting 'ầ' => 'Ầ' (line 1582) 993s # Converting 'Ẩ' => 'Ẩ' (line 1583) 993s # Converting 'ẩ' => 'Ẩ' (line 1584) 993s # Converting 'Ẫ' => 'Ẫ' (line 1585) 993s # Converting 'ẫ' => 'Ẫ' (line 1586) 993s # Converting 'Ậ' => 'Ậ' (line 1587) 993s # Converting 'ậ' => 'Ậ' (line 1588) 993s # Converting 'Ắ' => 'Ắ' (line 1589) 993s # Converting 'ắ' => 'Ắ' (line 1590) 993s # Converting 'Ằ' => 'Ằ' (line 1591) 993s # Converting 'ằ' => 'Ằ' (line 1592) 993s # Converting 'Ẳ' => 'Ẳ' (line 1593) 993s # Converting 'ẳ' => 'Ẳ' (line 1594) 993s # Converting 'Ẵ' => 'Ẵ' (line 1595) 993s # Converting 'ẵ' => 'Ẵ' (line 1596) 993s # Converting 'Ặ' => 'Ặ' (line 1597) 993s # Converting 'ặ' => 'Ặ' (line 1598) 993s # Converting 'Ẹ' => 'Ẹ' (line 1599) 993s # Converting 'ẹ' => 'Ẹ' (line 1600) 993s # Converting 'Ẻ' => 'Ẻ' (line 1601) 993s # Converting 'ẻ' => 'Ẻ' (line 1602) 993s # Converting 'Ẽ' => 'Ẽ' (line 1603) 993s # Converting 'ẽ' => 'Ẽ' (line 1604) 993s # Converting 'Ế' => 'Ế' (line 1605) 993s # Converting 'ế' => 'Ế' (line 1606) 993s # Converting 'Ề' => 'Ề' (line 1607) 993s # Converting 'ề' => 'Ề' (line 1608) 993s # Converting 'Ể' => 'Ể' (line 1609) 993s # Converting 'ể' => 'Ể' (line 1610) 993s # Converting 'Ễ' => 'Ễ' (line 1611) 993s # Converting 'ễ' => 'Ễ' (line 1612) 993s # Converting 'Ệ' => 'Ệ' (line 1613) 993s # Converting 'ệ' => 'Ệ' (line 1614) 993s # Converting 'Ỉ' => 'Ỉ' (line 1615) 993s # Converting 'ỉ' => 'Ỉ' (line 1616) 993s # Converting 'Ị' => 'Ị' (line 1617) 993s # Converting 'ị' => 'Ị' (line 1618) 993s # Converting 'Ọ' => 'Ọ' (line 1619) 993s # Converting 'ọ' => 'Ọ' (line 1620) 993s # Converting 'Ỏ' => 'Ỏ' (line 1621) 993s # Converting 'ỏ' => 'Ỏ' (line 1622) 993s # Converting 'Ố' => 'Ố' (line 1623) 993s # Converting 'ố' => 'Ố' (line 1624) 993s # Converting 'Ồ' => 'Ồ' (line 1625) 993s # Converting 'ồ' => 'Ồ' (line 1626) 993s # Converting 'Ổ' => 'Ổ' (line 1627) 993s # Converting 'ổ' => 'Ổ' (line 1628) 993s # Converting 'Ỗ' => 'Ỗ' (line 1629) 993s # Converting 'ỗ' => 'Ỗ' (line 1630) 993s # Converting 'Ộ' => 'Ộ' (line 1631) 993s # Converting 'ộ' => 'Ộ' (line 1632) 993s # Converting 'Ớ' => 'Ớ' (line 1633) 993s # Converting 'ớ' => 'Ớ' (line 1634) 993s # Converting 'Ờ' => 'Ờ' (line 1635) 993s # Converting 'ờ' => 'Ờ' (line 1636) 993s # Converting 'Ở' => 'Ở' (line 1637) 993s # Converting 'ở' => 'Ở' (line 1638) 993s # Converting 'Ỡ' => 'Ỡ' (line 1639) 993s # Converting 'ỡ' => 'Ỡ' (line 1640) 993s # Converting 'Ợ' => 'Ợ' (line 1641) 993s # Converting 'ợ' => 'Ợ' (line 1642) 993s # Converting 'Ụ' => 'Ụ' (line 1643) 993s # Converting 'ụ' => 'Ụ' (line 1644) 993s # Converting 'Ủ' => 'Ủ' (line 1645) 993s # Converting 'ủ' => 'Ủ' (line 1646) 993s # Converting 'Ứ' => 'Ứ' (line 1647) 993s # Converting 'ứ' => 'Ứ' (line 1648) 993s # Converting 'Ừ' => 'Ừ' (line 1649) 993s # Converting 'ừ' => 'Ừ' (line 1650) 993s # Converting 'Ử' => 'Ử' (line 1651) 993s # Converting 'ử' => 'Ử' (line 1652) 993s # Converting 'Ữ' => 'Ữ' (line 1653) 993s # Converting 'ữ' => 'Ữ' (line 1654) 993s # Converting 'Ự' => 'Ự' (line 1655) 993s # Converting 'ự' => 'Ự' (line 1656) 993s # Converting 'Ỳ' => 'Ỳ' (line 1657) 993s # Converting 'ỳ' => 'Ỳ' (line 1658) 993s # Converting 'Ỵ' => 'Ỵ' (line 1659) 993s # Converting 'ỵ' => 'Ỵ' (line 1660) 993s # Converting 'Ỷ' => 'Ỷ' (line 1661) 993s # Converting 'ỷ' => 'Ỷ' (line 1662) 993s # Converting 'Ỹ' => 'Ỹ' (line 1663) 993s # Converting 'ỹ' => 'Ỹ' (line 1664) 993s # Converting 'Ỻ' => 'Ỻ' (line 1665) 993s # Converting 'ỻ' => 'Ỻ' (line 1666) 993s # Converting 'Ỽ' => 'Ỽ' (line 1667) 993s # Converting 'ỽ' => 'Ỽ' (line 1668) 993s # Converting 'Ỿ' => 'Ỿ' (line 1669) 993s # Converting 'ỿ' => 'Ỿ' (line 1670) 993s # Converting 'ἀ' => 'Ἀ' (line 1671) 993s # Converting 'ἁ' => 'Ἁ' (line 1672) 993s # Converting 'ἂ' => 'Ἂ' (line 1673) 993s # Converting 'ἃ' => 'Ἃ' (line 1674) 993s # Converting 'ἄ' => 'Ἄ' (line 1675) 993s # Converting 'ἅ' => 'Ἅ' (line 1676) 993s # Converting 'ἆ' => 'Ἆ' (line 1677) 993s # Converting 'ἇ' => 'Ἇ' (line 1678) 993s # Converting 'Ἀ' => 'Ἀ' (line 1679) 993s # Converting 'Ἁ' => 'Ἁ' (line 1680) 993s # Converting 'Ἂ' => 'Ἂ' (line 1681) 993s # Converting 'Ἃ' => 'Ἃ' (line 1682) 993s # Converting 'Ἄ' => 'Ἄ' (line 1683) 993s # Converting 'Ἅ' => 'Ἅ' (line 1684) 993s # Converting 'Ἆ' => 'Ἆ' (line 1685) 993s # Converting 'Ἇ' => 'Ἇ' (line 1686) 993s # Converting 'ἐ' => 'Ἐ' (line 1687) 993s # Converting 'ἑ' => 'Ἑ' (line 1688) 993s # Converting 'ἒ' => 'Ἒ' (line 1689) 993s # Converting 'ἓ' => 'Ἓ' (line 1690) 993s # Converting 'ἔ' => 'Ἔ' (line 1691) 993s # Converting 'ἕ' => 'Ἕ' (line 1692) 993s # Converting 'Ἐ' => 'Ἐ' (line 1693) 993s # Converting 'Ἑ' => 'Ἑ' (line 1694) 993s # Converting 'Ἒ' => 'Ἒ' (line 1695) 993s # Converting 'Ἓ' => 'Ἓ' (line 1696) 993s # Converting 'Ἔ' => 'Ἔ' (line 1697) 993s # Converting 'Ἕ' => 'Ἕ' (line 1698) 993s # Converting 'ἠ' => 'Ἠ' (line 1699) 993s # Converting 'ἡ' => 'Ἡ' (line 1700) 993s # Converting 'ἢ' => 'Ἢ' (line 1701) 993s # Converting 'ἣ' => 'Ἣ' (line 1702) 993s # Converting 'ἤ' => 'Ἤ' (line 1703) 993s # Converting 'ἥ' => 'Ἥ' (line 1704) 993s # Converting 'ἦ' => 'Ἦ' (line 1705) 993s # Converting 'ἧ' => 'Ἧ' (line 1706) 993s # Converting 'Ἠ' => 'Ἠ' (line 1707) 993s # Converting 'Ἡ' => 'Ἡ' (line 1708) 993s # Converting 'Ἢ' => 'Ἢ' (line 1709) 993s # Converting 'Ἣ' => 'Ἣ' (line 1710) 993s # Converting 'Ἤ' => 'Ἤ' (line 1711) 993s # Converting 'Ἥ' => 'Ἥ' (line 1712) 993s # Converting 'Ἦ' => 'Ἦ' (line 1713) 993s # Converting 'Ἧ' => 'Ἧ' (line 1714) 993s # Converting 'ἰ' => 'Ἰ' (line 1715) 993s # Converting 'ἱ' => 'Ἱ' (line 1716) 993s # Converting 'ἲ' => 'Ἲ' (line 1717) 993s # Converting 'ἳ' => 'Ἳ' (line 1718) 993s # Converting 'ἴ' => 'Ἴ' (line 1719) 993s # Converting 'ἵ' => 'Ἵ' (line 1720) 993s # Converting 'ἶ' => 'Ἶ' (line 1721) 993s # Converting 'ἷ' => 'Ἷ' (line 1722) 993s # Converting 'Ἰ' => 'Ἰ' (line 1723) 993s # Converting 'Ἱ' => 'Ἱ' (line 1724) 993s # Converting 'Ἲ' => 'Ἲ' (line 1725) 993s # Converting 'Ἳ' => 'Ἳ' (line 1726) 993s # Converting 'Ἴ' => 'Ἴ' (line 1727) 993s # Converting 'Ἵ' => 'Ἵ' (line 1728) 993s # Converting 'Ἶ' => 'Ἶ' (line 1729) 993s # Converting 'Ἷ' => 'Ἷ' (line 1730) 993s # Converting 'ὀ' => 'Ὀ' (line 1731) 993s # Converting 'ὁ' => 'Ὁ' (line 1732) 993s # Converting 'ὂ' => 'Ὂ' (line 1733) 993s # Converting 'ὃ' => 'Ὃ' (line 1734) 993s # Converting 'ὄ' => 'Ὄ' (line 1735) 993s # Converting 'ὅ' => 'Ὅ' (line 1736) 993s # Converting 'Ὀ' => 'Ὀ' (line 1737) 993s # Converting 'Ὁ' => 'Ὁ' (line 1738) 993s # Converting 'Ὂ' => 'Ὂ' (line 1739) 993s # Converting 'Ὃ' => 'Ὃ' (line 1740) 993s # Converting 'Ὄ' => 'Ὄ' (line 1741) 993s # Converting 'Ὅ' => 'Ὅ' (line 1742) 993s # Converting 'ὐ' => 'Υ̓' (line 1743) 993s # Converting 'ὑ' => 'Ὑ' (line 1744) 993s # Converting 'ὒ' => 'Υ̓̀' (line 1745) 993s # Converting 'ὓ' => 'Ὓ' (line 1746) 993s # Converting 'ὔ' => 'Υ̓́' (line 1747) 993s # Converting 'ὕ' => 'Ὕ' (line 1748) 993s # Converting 'ὖ' => 'Υ̓͂' (line 1749) 993s # Converting 'ὗ' => 'Ὗ' (line 1750) 993s # Converting 'Ὑ' => 'Ὑ' (line 1751) 993s # Converting 'Ὓ' => 'Ὓ' (line 1752) 993s # Converting 'Ὕ' => 'Ὕ' (line 1753) 993s # Converting 'Ὗ' => 'Ὗ' (line 1754) 993s # Converting 'ὠ' => 'Ὠ' (line 1755) 993s # Converting 'ὡ' => 'Ὡ' (line 1756) 993s # Converting 'ὢ' => 'Ὢ' (line 1757) 993s # Converting 'ὣ' => 'Ὣ' (line 1758) 993s # Converting 'ὤ' => 'Ὤ' (line 1759) 993s # Converting 'ὥ' => 'Ὥ' (line 1760) 993s # Converting 'ὦ' => 'Ὦ' (line 1761) 993s # Converting 'ὧ' => 'Ὧ' (line 1762) 993s # Converting 'Ὠ' => 'Ὠ' (line 1763) 993s # Converting 'Ὡ' => 'Ὡ' (line 1764) 993s # Converting 'Ὢ' => 'Ὢ' (line 1765) 993s # Converting 'Ὣ' => 'Ὣ' (line 1766) 993s # Converting 'Ὤ' => 'Ὤ' (line 1767) 993s # Converting 'Ὥ' => 'Ὥ' (line 1768) 993s # Converting 'Ὦ' => 'Ὦ' (line 1769) 993s # Converting 'Ὧ' => 'Ὧ' (line 1770) 993s # Converting 'ὰ' => 'Ὰ' (line 1771) 993s # Converting 'ά' => 'Ά' (line 1772) 993s # Converting 'ὲ' => 'Ὲ' (line 1773) 993s # Converting 'έ' => 'Έ' (line 1774) 993s # Converting 'ὴ' => 'Ὴ' (line 1775) 993s # Converting 'ή' => 'Ή' (line 1776) 993s # Converting 'ὶ' => 'Ὶ' (line 1777) 993s # Converting 'ί' => 'Ί' (line 1778) 993s # Converting 'ὸ' => 'Ὸ' (line 1779) 993s # Converting 'ό' => 'Ό' (line 1780) 993s # Converting 'ὺ' => 'Ὺ' (line 1781) 993s # Converting 'ύ' => 'Ύ' (line 1782) 993s # Converting 'ὼ' => 'Ὼ' (line 1783) 993s # Converting 'ώ' => 'Ώ' (line 1784) 993s # Converting 'ᾀ' => 'ἈΙ' (line 1785) 993s # Converting 'ᾁ' => 'ἉΙ' (line 1786) 993s # Converting 'ᾂ' => 'ἊΙ' (line 1787) 993s # Converting 'ᾃ' => 'ἋΙ' (line 1788) 993s # Converting 'ᾄ' => 'ἌΙ' (line 1789) 993s # Converting 'ᾅ' => 'ἍΙ' (line 1790) 993s # Converting 'ᾆ' => 'ἎΙ' (line 1791) 993s # Converting 'ᾇ' => 'ἏΙ' (line 1792) 993s # Converting 'ᾈ' => 'ἈΙ' (line 1793) 993s # Converting 'ᾉ' => 'ἉΙ' (line 1794) 993s # Converting 'ᾊ' => 'ἊΙ' (line 1795) 993s # Converting 'ᾋ' => 'ἋΙ' (line 1796) 993s # Converting 'ᾌ' => 'ἌΙ' (line 1797) 993s # Converting 'ᾍ' => 'ἍΙ' (line 1798) 993s # Converting 'ᾎ' => 'ἎΙ' (line 1799) 993s # Converting 'ᾏ' => 'ἏΙ' (line 1800) 993s # Converting 'ᾐ' => 'ἨΙ' (line 1801) 993s # Converting 'ᾑ' => 'ἩΙ' (line 1802) 993s # Converting 'ᾒ' => 'ἪΙ' (line 1803) 993s # Converting 'ᾓ' => 'ἫΙ' (line 1804) 993s # Converting 'ᾔ' => 'ἬΙ' (line 1805) 993s # Converting 'ᾕ' => 'ἭΙ' (line 1806) 993s # Converting 'ᾖ' => 'ἮΙ' (line 1807) 993s # Converting 'ᾗ' => 'ἯΙ' (line 1808) 993s # Converting 'ᾘ' => 'ἨΙ' (line 1809) 993s # Converting 'ᾙ' => 'ἩΙ' (line 1810) 993s # Converting 'ᾚ' => 'ἪΙ' (line 1811) 993s # Converting 'ᾛ' => 'ἫΙ' (line 1812) 993s # Converting 'ᾜ' => 'ἬΙ' (line 1813) 993s # Converting 'ᾝ' => 'ἭΙ' (line 1814) 993s # Converting 'ᾞ' => 'ἮΙ' (line 1815) 993s # Converting 'ᾟ' => 'ἯΙ' (line 1816) 993s # Converting 'ᾠ' => 'ὨΙ' (line 1817) 993s # Converting 'ᾡ' => 'ὩΙ' (line 1818) 993s # Converting 'ᾢ' => 'ὪΙ' (line 1819) 993s # Converting 'ᾣ' => 'ὫΙ' (line 1820) 993s # Converting 'ᾤ' => 'ὬΙ' (line 1821) 993s # Converting 'ᾥ' => 'ὭΙ' (line 1822) 993s # Converting 'ᾦ' => 'ὮΙ' (line 1823) 993s # Converting 'ᾧ' => 'ὯΙ' (line 1824) 993s # Converting 'ᾨ' => 'ὨΙ' (line 1825) 993s # Converting 'ᾩ' => 'ὩΙ' (line 1826) 993s # Converting 'ᾪ' => 'ὪΙ' (line 1827) 993s # Converting 'ᾫ' => 'ὫΙ' (line 1828) 993s # Converting 'ᾬ' => 'ὬΙ' (line 1829) 993s # Converting 'ᾭ' => 'ὭΙ' (line 1830) 993s # Converting 'ᾮ' => 'ὮΙ' (line 1831) 993s # Converting 'ᾯ' => 'ὯΙ' (line 1832) 993s # Converting 'ᾰ' => 'Ᾰ' (line 1833) 993s # Converting 'ᾱ' => 'Ᾱ' (line 1834) 993s # Converting 'ᾲ' => 'ᾺΙ' (line 1835) 993s # Converting 'ᾳ' => 'ΑΙ' (line 1836) 993s # Converting 'ᾴ' => 'ΆΙ' (line 1837) 993s # Converting 'ᾶ' => 'Α͂' (line 1838) 993s # Converting 'ᾷ' => 'Α͂Ι' (line 1839) 993s # Converting 'Ᾰ' => 'Ᾰ' (line 1840) 993s # Converting 'Ᾱ' => 'Ᾱ' (line 1841) 993s # Converting 'Ὰ' => 'Ὰ' (line 1842) 993s # Converting 'Ά' => 'Ά' (line 1843) 993s # Converting 'ᾼ' => 'ΑΙ' (line 1844) 993s # Converting 'ι' => 'Ι' (line 1845) 993s # Converting 'ῂ' => 'ῊΙ' (line 1846) 993s # Converting 'ῃ' => 'ΗΙ' (line 1847) 993s # Converting 'ῄ' => 'ΉΙ' (line 1848) 993s # Converting 'ῆ' => 'Η͂' (line 1849) 993s # Converting 'ῇ' => 'Η͂Ι' (line 1850) 993s # Converting 'Ὲ' => 'Ὲ' (line 1851) 993s # Converting 'Έ' => 'Έ' (line 1852) 993s # Converting 'Ὴ' => 'Ὴ' (line 1853) 993s # Converting 'Ή' => 'Ή' (line 1854) 993s # Converting 'ῌ' => 'ΗΙ' (line 1855) 993s # Converting 'ῐ' => 'Ῐ' (line 1856) 993s # Converting 'ῑ' => 'Ῑ' (line 1857) 993s # Converting 'ῒ' => 'Ϊ̀' (line 1858) 993s # Converting 'ΐ' => 'Ϊ́' (line 1859) 993s # Converting 'ῖ' => 'Ι͂' (line 1860) 993s # Converting 'ῗ' => 'Ϊ͂' (line 1861) 993s # Converting 'Ῐ' => 'Ῐ' (line 1862) 993s # Converting 'Ῑ' => 'Ῑ' (line 1863) 993s # Converting 'Ὶ' => 'Ὶ' (line 1864) 993s # Converting 'Ί' => 'Ί' (line 1865) 993s # Converting 'ῠ' => 'Ῠ' (line 1866) 993s # Converting 'ῡ' => 'Ῡ' (line 1867) 993s # Converting 'ῢ' => 'Ϋ̀' (line 1868) 993s # Converting 'ΰ' => 'Ϋ́' (line 1869) 993s # Converting 'ῤ' => 'Ρ̓' (line 1870) 993s # Converting 'ῥ' => 'Ῥ' (line 1871) 993s # Converting 'ῦ' => 'Υ͂' (line 1872) 993s # Converting 'ῧ' => 'Ϋ͂' (line 1873) 993s # Converting 'Ῠ' => 'Ῠ' (line 1874) 993s # Converting 'Ῡ' => 'Ῡ' (line 1875) 993s # Converting 'Ὺ' => 'Ὺ' (line 1876) 993s # Converting 'Ύ' => 'Ύ' (line 1877) 993s # Converting 'Ῥ' => 'Ῥ' (line 1878) 993s # Converting 'ῲ' => 'ῺΙ' (line 1879) 993s # Converting 'ῳ' => 'ΩΙ' (line 1880) 993s # Converting 'ῴ' => 'ΏΙ' (line 1881) 993s # Converting 'ῶ' => 'Ω͂' (line 1882) 993s # Converting 'ῷ' => 'Ω͂Ι' (line 1883) 993s # Converting 'Ὸ' => 'Ὸ' (line 1884) 993s # Converting 'Ό' => 'Ό' (line 1885) 993s # Converting 'Ὼ' => 'Ὼ' (line 1886) 993s # Converting 'Ώ' => 'Ώ' (line 1887) 993s # Converting 'ῼ' => 'ΩΙ' (line 1888) 993s # Converting 'ℂ' => 'ℂ' (line 1889) 993s # Converting 'ℇ' => 'ℇ' (line 1890) 993s # Converting 'ℊ' => 'ℊ' (line 1891) 993s # Converting 'ℋ' => 'ℋ' (line 1892) 993s # Converting 'ℌ' => 'ℌ' (line 1893) 993s # Converting 'ℍ' => 'ℍ' (line 1894) 993s # Converting 'ℎ' => 'ℎ' (line 1895) 993s # Converting 'ℏ' => 'ℏ' (line 1896) 993s # Converting 'ℐ' => 'ℐ' (line 1897) 993s # Converting 'ℑ' => 'ℑ' (line 1898) 993s # Converting 'ℒ' => 'ℒ' (line 1899) 993s # Converting 'ℓ' => 'ℓ' (line 1900) 993s # Converting 'ℕ' => 'ℕ' (line 1901) 993s # Converting 'ℙ' => 'ℙ' (line 1902) 993s # Converting 'ℚ' => 'ℚ' (line 1903) 993s # Converting 'ℛ' => 'ℛ' (line 1904) 993s # Converting 'ℜ' => 'ℜ' (line 1905) 993s # Converting 'ℝ' => 'ℝ' (line 1906) 993s # Converting 'ℤ' => 'ℤ' (line 1907) 993s # Converting 'Ω' => 'Ω' (line 1908) 993s # Converting 'ℨ' => 'ℨ' (line 1909) 993s # Converting 'K' => 'K' (line 1910) 993s # Converting 'Å' => 'Å' (line 1911) 993s # Converting 'ℬ' => 'ℬ' (line 1912) 993s # Converting 'ℭ' => 'ℭ' (line 1913) 993s # Converting 'ℯ' => 'ℯ' (line 1914) 993s # Converting 'ℰ' => 'ℰ' (line 1915) 993s # Converting 'ℱ' => 'ℱ' (line 1916) 993s # Converting 'Ⅎ' => 'Ⅎ' (line 1917) 993s # Converting 'ℳ' => 'ℳ' (line 1918) 993s # Converting 'ℴ' => 'ℴ' (line 1919) 993s # Converting 'ℹ' => 'ℹ' (line 1920) 993s # Converting 'ℼ' => 'ℼ' (line 1921) 993s # Converting 'ℽ' => 'ℽ' (line 1922) 993s # Converting 'ℾ' => 'ℾ' (line 1923) 993s # Converting 'ℿ' => 'ℿ' (line 1924) 993s # Converting 'ⅅ' => 'ⅅ' (line 1925) 993s # Converting 'ⅆ' => 'ⅆ' (line 1926) 993s # Converting 'ⅇ' => 'ⅇ' (line 1927) 993s # Converting 'ⅈ' => 'ⅈ' (line 1928) 993s # Converting 'ⅉ' => 'ⅉ' (line 1929) 993s # Converting 'ⅎ' => 'Ⅎ' (line 1930) 993s # Converting 'Ↄ' => 'Ↄ' (line 1931) 993s # Converting 'ↄ' => 'Ↄ' (line 1932) 993s # Converting 'Ⰰ' => 'Ⰰ' (line 1933) 993s # Converting 'Ⰱ' => 'Ⰱ' (line 1934) 993s # Converting 'Ⰲ' => 'Ⰲ' (line 1935) 993s # Converting 'Ⰳ' => 'Ⰳ' (line 1936) 993s # Converting 'Ⰴ' => 'Ⰴ' (line 1937) 993s # Converting 'Ⰵ' => 'Ⰵ' (line 1938) 993s # Converting 'Ⰶ' => 'Ⰶ' (line 1939) 993s # Converting 'Ⰷ' => 'Ⰷ' (line 1940) 993s # Converting 'Ⰸ' => 'Ⰸ' (line 1941) 993s # Converting 'Ⰹ' => 'Ⰹ' (line 1942) 993s # Converting 'Ⰺ' => 'Ⰺ' (line 1943) 993s # Converting 'Ⰻ' => 'Ⰻ' (line 1944) 993s # Converting 'Ⰼ' => 'Ⰼ' (line 1945) 993s # Converting 'Ⰽ' => 'Ⰽ' (line 1946) 993s # Converting 'Ⰾ' => 'Ⰾ' (line 1947) 993s # Converting 'Ⰿ' => 'Ⰿ' (line 1948) 993s # Converting 'Ⱀ' => 'Ⱀ' (line 1949) 993s # Converting 'Ⱁ' => 'Ⱁ' (line 1950) 993s # Converting 'Ⱂ' => 'Ⱂ' (line 1951) 993s # Converting 'Ⱃ' => 'Ⱃ' (line 1952) 993s # Converting 'Ⱄ' => 'Ⱄ' (line 1953) 993s # Converting 'Ⱅ' => 'Ⱅ' (line 1954) 993s # Converting 'Ⱆ' => 'Ⱆ' (line 1955) 993s # Converting 'Ⱇ' => 'Ⱇ' (line 1956) 993s # Converting 'Ⱈ' => 'Ⱈ' (line 1957) 993s # Converting 'Ⱉ' => 'Ⱉ' (line 1958) 993s # Converting 'Ⱊ' => 'Ⱊ' (line 1959) 993s # Converting 'Ⱋ' => 'Ⱋ' (line 1960) 993s # Converting 'Ⱌ' => 'Ⱌ' (line 1961) 993s # Converting 'Ⱍ' => 'Ⱍ' (line 1962) 993s # Converting 'Ⱎ' => 'Ⱎ' (line 1963) 993s # Converting 'Ⱏ' => 'Ⱏ' (line 1964) 993s # Converting 'Ⱐ' => 'Ⱐ' (line 1965) 993s # Converting 'Ⱑ' => 'Ⱑ' (line 1966) 993s # Converting 'Ⱒ' => 'Ⱒ' (line 1967) 993s # Converting 'Ⱓ' => 'Ⱓ' (line 1968) 993s # Converting 'Ⱔ' => 'Ⱔ' (line 1969) 993s # Converting 'Ⱕ' => 'Ⱕ' (line 1970) 993s # Converting 'Ⱖ' => 'Ⱖ' (line 1971) 993s # Converting 'Ⱗ' => 'Ⱗ' (line 1972) 993s # Converting 'Ⱘ' => 'Ⱘ' (line 1973) 993s # Converting 'Ⱙ' => 'Ⱙ' (line 1974) 993s # Converting 'Ⱚ' => 'Ⱚ' (line 1975) 993s # Converting 'Ⱛ' => 'Ⱛ' (line 1976) 993s # Converting 'Ⱜ' => 'Ⱜ' (line 1977) 993s # Converting 'Ⱝ' => 'Ⱝ' (line 1978) 993s # Converting 'Ⱞ' => 'Ⱞ' (line 1979) 993s # Converting 'Ⱟ' => 'Ⱟ' (line 1980) 993s # Converting 'ⰰ' => 'Ⰰ' (line 1981) 993s # Converting 'ⰱ' => 'Ⰱ' (line 1982) 993s # Converting 'ⰲ' => 'Ⰲ' (line 1983) 993s # Converting 'ⰳ' => 'Ⰳ' (line 1984) 993s # Converting 'ⰴ' => 'Ⰴ' (line 1985) 993s # Converting 'ⰵ' => 'Ⰵ' (line 1986) 993s # Converting 'ⰶ' => 'Ⰶ' (line 1987) 993s # Converting 'ⰷ' => 'Ⰷ' (line 1988) 993s # Converting 'ⰸ' => 'Ⰸ' (line 1989) 993s # Converting 'ⰹ' => 'Ⰹ' (line 1990) 993s # Converting 'ⰺ' => 'Ⰺ' (line 1991) 993s # Converting 'ⰻ' => 'Ⰻ' (line 1992) 993s # Converting 'ⰼ' => 'Ⰼ' (line 1993) 993s # Converting 'ⰽ' => 'Ⰽ' (line 1994) 993s # Converting 'ⰾ' => 'Ⰾ' (line 1995) 993s # Converting 'ⰿ' => 'Ⰿ' (line 1996) 993s # Converting 'ⱀ' => 'Ⱀ' (line 1997) 993s # Converting 'ⱁ' => 'Ⱁ' (line 1998) 993s # Converting 'ⱂ' => 'Ⱂ' (line 1999) 993s # Converting 'ⱃ' => 'Ⱃ' (line 2000) 993s # Converting 'ⱄ' => 'Ⱄ' (line 2001) 993s # Converting 'ⱅ' => 'Ⱅ' (line 2002) 993s # Converting 'ⱆ' => 'Ⱆ' (line 2003) 993s # Converting 'ⱇ' => 'Ⱇ' (line 2004) 993s # Converting 'ⱈ' => 'Ⱈ' (line 2005) 993s # Converting 'ⱉ' => 'Ⱉ' (line 2006) 993s # Converting 'ⱊ' => 'Ⱊ' (line 2007) 993s # Converting 'ⱋ' => 'Ⱋ' (line 2008) 993s # Converting 'ⱌ' => 'Ⱌ' (line 2009) 993s # Converting 'ⱍ' => 'Ⱍ' (line 2010) 993s # Converting 'ⱎ' => 'Ⱎ' (line 2011) 993s # Converting 'ⱏ' => 'Ⱏ' (line 2012) 993s # Converting 'ⱐ' => 'Ⱐ' (line 2013) 993s # Converting 'ⱑ' => 'Ⱑ' (line 2014) 993s # Converting 'ⱒ' => 'Ⱒ' (line 2015) 993s # Converting 'ⱓ' => 'Ⱓ' (line 2016) 993s # Converting 'ⱔ' => 'Ⱔ' (line 2017) 993s # Converting 'ⱕ' => 'Ⱕ' (line 2018) 993s # Converting 'ⱖ' => 'Ⱖ' (line 2019) 993s # Converting 'ⱗ' => 'Ⱗ' (line 2020) 993s # Converting 'ⱘ' => 'Ⱘ' (line 2021) 993s # Converting 'ⱙ' => 'Ⱙ' (line 2022) 993s # Converting 'ⱚ' => 'Ⱚ' (line 2023) 993s # Converting 'ⱛ' => 'Ⱛ' (line 2024) 993s # Converting 'ⱜ' => 'Ⱜ' (line 2025) 993s # Converting 'ⱝ' => 'Ⱝ' (line 2026) 993s # Converting 'ⱞ' => 'Ⱞ' (line 2027) 993s # Converting 'ⱟ' => 'Ⱟ' (line 2028) 993s # Converting 'Ⱡ' => 'Ⱡ' (line 2029) 993s # Converting 'ⱡ' => 'Ⱡ' (line 2030) 993s # Converting 'Ɫ' => 'Ɫ' (line 2031) 993s # Converting 'Ᵽ' => 'Ᵽ' (line 2032) 993s # Converting 'Ɽ' => 'Ɽ' (line 2033) 993s # Converting 'ⱥ' => 'Ⱥ' (line 2034) 993s # Converting 'ⱦ' => 'Ⱦ' (line 2035) 993s # Converting 'Ⱨ' => 'Ⱨ' (line 2036) 993s # Converting 'ⱨ' => 'Ⱨ' (line 2037) 993s # Converting 'Ⱪ' => 'Ⱪ' (line 2038) 993s # Converting 'ⱪ' => 'Ⱪ' (line 2039) 993s # Converting 'Ⱬ' => 'Ⱬ' (line 2040) 993s # Converting 'ⱬ' => 'Ⱬ' (line 2041) 993s # Converting 'Ɑ' => 'Ɑ' (line 2042) 993s # Converting 'Ɱ' => 'Ɱ' (line 2043) 993s # Converting 'Ɐ' => 'Ɐ' (line 2044) 993s # Converting 'Ɒ' => 'Ɒ' (line 2045) 993s # Converting 'ⱱ' => 'ⱱ' (line 2046) 993s # Converting 'Ⱳ' => 'Ⱳ' (line 2047) 993s # Converting 'ⱳ' => 'Ⱳ' (line 2048) 993s # Converting 'ⱴ' => 'ⱴ' (line 2049) 993s # Converting 'Ⱶ' => 'Ⱶ' (line 2050) 993s # Converting 'ⱶ' => 'Ⱶ' (line 2051) 993s # Converting 'ⱷ' => 'ⱷ' (line 2052) 993s # Converting 'ⱸ' => 'ⱸ' (line 2053) 993s # Converting 'ⱹ' => 'ⱹ' (line 2054) 993s # Converting 'ⱺ' => 'ⱺ' (line 2055) 993s # Converting 'ⱻ' => 'ⱻ' (line 2056) 993s # Converting 'Ȿ' => 'Ȿ' (line 2057) 993s # Converting 'Ɀ' => 'Ɀ' (line 2058) 993s # Converting 'Ⲁ' => 'Ⲁ' (line 2059) 993s # Converting 'ⲁ' => 'Ⲁ' (line 2060) 993s # Converting 'Ⲃ' => 'Ⲃ' (line 2061) 993s # Converting 'ⲃ' => 'Ⲃ' (line 2062) 993s # Converting 'Ⲅ' => 'Ⲅ' (line 2063) 993s # Converting 'ⲅ' => 'Ⲅ' (line 2064) 993s # Converting 'Ⲇ' => 'Ⲇ' (line 2065) 993s # Converting 'ⲇ' => 'Ⲇ' (line 2066) 993s # Converting 'Ⲉ' => 'Ⲉ' (line 2067) 993s # Converting 'ⲉ' => 'Ⲉ' (line 2068) 993s # Converting 'Ⲋ' => 'Ⲋ' (line 2069) 993s # Converting 'ⲋ' => 'Ⲋ' (line 2070) 993s # Converting 'Ⲍ' => 'Ⲍ' (line 2071) 993s # Converting 'ⲍ' => 'Ⲍ' (line 2072) 993s # Converting 'Ⲏ' => 'Ⲏ' (line 2073) 993s # Converting 'ⲏ' => 'Ⲏ' (line 2074) 993s # Converting 'Ⲑ' => 'Ⲑ' (line 2075) 993s # Converting 'ⲑ' => 'Ⲑ' (line 2076) 993s # Converting 'Ⲓ' => 'Ⲓ' (line 2077) 993s # Converting 'ⲓ' => 'Ⲓ' (line 2078) 993s # Converting 'Ⲕ' => 'Ⲕ' (line 2079) 993s # Converting 'ⲕ' => 'Ⲕ' (line 2080) 993s # Converting 'Ⲗ' => 'Ⲗ' (line 2081) 993s # Converting 'ⲗ' => 'Ⲗ' (line 2082) 993s # Converting 'Ⲙ' => 'Ⲙ' (line 2083) 993s # Converting 'ⲙ' => 'Ⲙ' (line 2084) 993s # Converting 'Ⲛ' => 'Ⲛ' (line 2085) 993s # Converting 'ⲛ' => 'Ⲛ' (line 2086) 993s # Converting 'Ⲝ' => 'Ⲝ' (line 2087) 993s # Converting 'ⲝ' => 'Ⲝ' (line 2088) 993s # Converting 'Ⲟ' => 'Ⲟ' (line 2089) 993s # Converting 'ⲟ' => 'Ⲟ' (line 2090) 993s # Converting 'Ⲡ' => 'Ⲡ' (line 2091) 993s # Converting 'ⲡ' => 'Ⲡ' (line 2092) 993s # Converting 'Ⲣ' => 'Ⲣ' (line 2093) 993s # Converting 'ⲣ' => 'Ⲣ' (line 2094) 993s # Converting 'Ⲥ' => 'Ⲥ' (line 2095) 993s # Converting 'ⲥ' => 'Ⲥ' (line 2096) 993s # Converting 'Ⲧ' => 'Ⲧ' (line 2097) 993s # Converting 'ⲧ' => 'Ⲧ' (line 2098) 993s # Converting 'Ⲩ' => 'Ⲩ' (line 2099) 993s # Converting 'ⲩ' => 'Ⲩ' (line 2100) 993s # Converting 'Ⲫ' => 'Ⲫ' (line 2101) 993s # Converting 'ⲫ' => 'Ⲫ' (line 2102) 993s # Converting 'Ⲭ' => 'Ⲭ' (line 2103) 993s # Converting 'ⲭ' => 'Ⲭ' (line 2104) 993s # Converting 'Ⲯ' => 'Ⲯ' (line 2105) 993s # Converting 'ⲯ' => 'Ⲯ' (line 2106) 993s # Converting 'Ⲱ' => 'Ⲱ' (line 2107) 993s # Converting 'ⲱ' => 'Ⲱ' (line 2108) 993s # Converting 'Ⲳ' => 'Ⲳ' (line 2109) 993s # Converting 'ⲳ' => 'Ⲳ' (line 2110) 993s # Converting 'Ⲵ' => 'Ⲵ' (line 2111) 993s # Converting 'ⲵ' => 'Ⲵ' (line 2112) 993s # Converting 'Ⲷ' => 'Ⲷ' (line 2113) 993s # Converting 'ⲷ' => 'Ⲷ' (line 2114) 993s # Converting 'Ⲹ' => 'Ⲹ' (line 2115) 993s # Converting 'ⲹ' => 'Ⲹ' (line 2116) 993s # Converting 'Ⲻ' => 'Ⲻ' (line 2117) 993s # Converting 'ⲻ' => 'Ⲻ' (line 2118) 993s # Converting 'Ⲽ' => 'Ⲽ' (line 2119) 993s # Converting 'ⲽ' => 'Ⲽ' (line 2120) 993s # Converting 'Ⲿ' => 'Ⲿ' (line 2121) 993s # Converting 'ⲿ' => 'Ⲿ' (line 2122) 993s # Converting 'Ⳁ' => 'Ⳁ' (line 2123) 993s # Converting 'ⳁ' => 'Ⳁ' (line 2124) 993s # Converting 'Ⳃ' => 'Ⳃ' (line 2125) 993s # Converting 'ⳃ' => 'Ⳃ' (line 2126) 993s # Converting 'Ⳅ' => 'Ⳅ' (line 2127) 993s # Converting 'ⳅ' => 'Ⳅ' (line 2128) 993s # Converting 'Ⳇ' => 'Ⳇ' (line 2129) 993s # Converting 'ⳇ' => 'Ⳇ' (line 2130) 993s # Converting 'Ⳉ' => 'Ⳉ' (line 2131) 993s # Converting 'ⳉ' => 'Ⳉ' (line 2132) 993s # Converting 'Ⳋ' => 'Ⳋ' (line 2133) 993s # Converting 'ⳋ' => 'Ⳋ' (line 2134) 993s # Converting 'Ⳍ' => 'Ⳍ' (line 2135) 993s # Converting 'ⳍ' => 'Ⳍ' (line 2136) 993s # Converting 'Ⳏ' => 'Ⳏ' (line 2137) 993s # Converting 'ⳏ' => 'Ⳏ' (line 2138) 993s # Converting 'Ⳑ' => 'Ⳑ' (line 2139) 993s # Converting 'ⳑ' => 'Ⳑ' (line 2140) 993s # Converting 'Ⳓ' => 'Ⳓ' (line 2141) 993s # Converting 'ⳓ' => 'Ⳓ' (line 2142) 993s # Converting 'Ⳕ' => 'Ⳕ' (line 2143) 993s # Converting 'ⳕ' => 'Ⳕ' (line 2144) 993s # Converting 'Ⳗ' => 'Ⳗ' (line 2145) 993s # Converting 'ⳗ' => 'Ⳗ' (line 2146) 993s # Converting 'Ⳙ' => 'Ⳙ' (line 2147) 993s # Converting 'ⳙ' => 'Ⳙ' (line 2148) 993s # Converting 'Ⳛ' => 'Ⳛ' (line 2149) 993s # Converting 'ⳛ' => 'Ⳛ' (line 2150) 993s # Converting 'Ⳝ' => 'Ⳝ' (line 2151) 993s # Converting 'ⳝ' => 'Ⳝ' (line 2152) 993s # Converting 'Ⳟ' => 'Ⳟ' (line 2153) 993s # Converting 'ⳟ' => 'Ⳟ' (line 2154) 993s # Converting 'Ⳡ' => 'Ⳡ' (line 2155) 993s # Converting 'ⳡ' => 'Ⳡ' (line 2156) 993s # Converting 'Ⳣ' => 'Ⳣ' (line 2157) 993s # Converting 'ⳣ' => 'Ⳣ' (line 2158) 993s # Converting 'ⳤ' => 'ⳤ' (line 2159) 993s # Converting 'Ⳬ' => 'Ⳬ' (line 2160) 993s # Converting 'ⳬ' => 'Ⳬ' (line 2161) 993s # Converting 'Ⳮ' => 'Ⳮ' (line 2162) 993s # Converting 'ⳮ' => 'Ⳮ' (line 2163) 993s # Converting 'Ⳳ' => 'Ⳳ' (line 2164) 993s # Converting 'ⳳ' => 'Ⳳ' (line 2165) 993s # Converting 'ⴀ' => 'Ⴀ' (line 2166) 993s # Converting 'ⴁ' => 'Ⴁ' (line 2167) 993s # Converting 'ⴂ' => 'Ⴂ' (line 2168) 993s # Converting 'ⴃ' => 'Ⴃ' (line 2169) 993s # Converting 'ⴄ' => 'Ⴄ' (line 2170) 993s # Converting 'ⴅ' => 'Ⴅ' (line 2171) 993s # Converting 'ⴆ' => 'Ⴆ' (line 2172) 993s # Converting 'ⴇ' => 'Ⴇ' (line 2173) 993s # Converting 'ⴈ' => 'Ⴈ' (line 2174) 993s # Converting 'ⴉ' => 'Ⴉ' (line 2175) 993s # Converting 'ⴊ' => 'Ⴊ' (line 2176) 993s # Converting 'ⴋ' => 'Ⴋ' (line 2177) 993s # Converting 'ⴌ' => 'Ⴌ' (line 2178) 993s # Converting 'ⴍ' => 'Ⴍ' (line 2179) 993s # Converting 'ⴎ' => 'Ⴎ' (line 2180) 993s # Converting 'ⴏ' => 'Ⴏ' (line 2181) 993s # Converting 'ⴐ' => 'Ⴐ' (line 2182) 993s # Converting 'ⴑ' => 'Ⴑ' (line 2183) 993s # Converting 'ⴒ' => 'Ⴒ' (line 2184) 993s # Converting 'ⴓ' => 'Ⴓ' (line 2185) 993s # Converting 'ⴔ' => 'Ⴔ' (line 2186) 993s # Converting 'ⴕ' => 'Ⴕ' (line 2187) 993s # Converting 'ⴖ' => 'Ⴖ' (line 2188) 993s # Converting 'ⴗ' => 'Ⴗ' (line 2189) 993s # Converting 'ⴘ' => 'Ⴘ' (line 2190) 993s # Converting 'ⴙ' => 'Ⴙ' (line 2191) 993s # Converting 'ⴚ' => 'Ⴚ' (line 2192) 993s # Converting 'ⴛ' => 'Ⴛ' (line 2193) 993s # Converting 'ⴜ' => 'Ⴜ' (line 2194) 993s # Converting 'ⴝ' => 'Ⴝ' (line 2195) 993s # Converting 'ⴞ' => 'Ⴞ' (line 2196) 993s # Converting 'ⴟ' => 'Ⴟ' (line 2197) 993s # Converting 'ⴠ' => 'Ⴠ' (line 2198) 993s # Converting 'ⴡ' => 'Ⴡ' (line 2199) 993s # Converting 'ⴢ' => 'Ⴢ' (line 2200) 993s # Converting 'ⴣ' => 'Ⴣ' (line 2201) 993s # Converting 'ⴤ' => 'Ⴤ' (line 2202) 993s # Converting 'ⴥ' => 'Ⴥ' (line 2203) 993s # Converting 'ⴧ' => 'Ⴧ' (line 2204) 993s # Converting 'ⴭ' => 'Ⴭ' (line 2205) 993s # Converting 'Ꙁ' => 'Ꙁ' (line 2206) 993s # Converting 'ꙁ' => 'Ꙁ' (line 2207) 993s # Converting 'Ꙃ' => 'Ꙃ' (line 2208) 993s # Converting 'ꙃ' => 'Ꙃ' (line 2209) 993s # Converting 'Ꙅ' => 'Ꙅ' (line 2210) 993s # Converting 'ꙅ' => 'Ꙅ' (line 2211) 993s # Converting 'Ꙇ' => 'Ꙇ' (line 2212) 993s # Converting 'ꙇ' => 'Ꙇ' (line 2213) 993s # Converting 'Ꙉ' => 'Ꙉ' (line 2214) 993s # Converting 'ꙉ' => 'Ꙉ' (line 2215) 993s # Converting 'Ꙋ' => 'Ꙋ' (line 2216) 993s # Converting 'ꙋ' => 'Ꙋ' (line 2217) 993s # Converting 'Ꙍ' => 'Ꙍ' (line 2218) 993s # Converting 'ꙍ' => 'Ꙍ' (line 2219) 993s # Converting 'Ꙏ' => 'Ꙏ' (line 2220) 993s # Converting 'ꙏ' => 'Ꙏ' (line 2221) 993s # Converting 'Ꙑ' => 'Ꙑ' (line 2222) 993s # Converting 'ꙑ' => 'Ꙑ' (line 2223) 993s # Converting 'Ꙓ' => 'Ꙓ' (line 2224) 993s # Converting 'ꙓ' => 'Ꙓ' (line 2225) 993s # Converting 'Ꙕ' => 'Ꙕ' (line 2226) 993s # Converting 'ꙕ' => 'Ꙕ' (line 2227) 993s # Converting 'Ꙗ' => 'Ꙗ' (line 2228) 993s # Converting 'ꙗ' => 'Ꙗ' (line 2229) 993s # Converting 'Ꙙ' => 'Ꙙ' (line 2230) 993s # Converting 'ꙙ' => 'Ꙙ' (line 2231) 993s # Converting 'Ꙛ' => 'Ꙛ' (line 2232) 993s # Converting 'ꙛ' => 'Ꙛ' (line 2233) 993s # Converting 'Ꙝ' => 'Ꙝ' (line 2234) 993s # Converting 'ꙝ' => 'Ꙝ' (line 2235) 993s # Converting 'Ꙟ' => 'Ꙟ' (line 2236) 993s # Converting 'ꙟ' => 'Ꙟ' (line 2237) 993s # Converting 'Ꙡ' => 'Ꙡ' (line 2238) 993s # Converting 'ꙡ' => 'Ꙡ' (line 2239) 993s # Converting 'Ꙣ' => 'Ꙣ' (line 2240) 993s # Converting 'ꙣ' => 'Ꙣ' (line 2241) 993s # Converting 'Ꙥ' => 'Ꙥ' (line 2242) 993s # Converting 'ꙥ' => 'Ꙥ' (line 2243) 993s # Converting 'Ꙧ' => 'Ꙧ' (line 2244) 993s # Converting 'ꙧ' => 'Ꙧ' (line 2245) 993s # Converting 'Ꙩ' => 'Ꙩ' (line 2246) 993s # Converting 'ꙩ' => 'Ꙩ' (line 2247) 993s # Converting 'Ꙫ' => 'Ꙫ' (line 2248) 993s # Converting 'ꙫ' => 'Ꙫ' (line 2249) 993s # Converting 'Ꙭ' => 'Ꙭ' (line 2250) 993s # Converting 'ꙭ' => 'Ꙭ' (line 2251) 993s # Converting 'Ꚁ' => 'Ꚁ' (line 2252) 993s # Converting 'ꚁ' => 'Ꚁ' (line 2253) 993s # Converting 'Ꚃ' => 'Ꚃ' (line 2254) 993s # Converting 'ꚃ' => 'Ꚃ' (line 2255) 993s # Converting 'Ꚅ' => 'Ꚅ' (line 2256) 993s # Converting 'ꚅ' => 'Ꚅ' (line 2257) 993s # Converting 'Ꚇ' => 'Ꚇ' (line 2258) 993s # Converting 'ꚇ' => 'Ꚇ' (line 2259) 993s # Converting 'Ꚉ' => 'Ꚉ' (line 2260) 993s # Converting 'ꚉ' => 'Ꚉ' (line 2261) 993s # Converting 'Ꚋ' => 'Ꚋ' (line 2262) 993s # Converting 'ꚋ' => 'Ꚋ' (line 2263) 993s # Converting 'Ꚍ' => 'Ꚍ' (line 2264) 993s # Converting 'ꚍ' => 'Ꚍ' (line 2265) 993s # Converting 'Ꚏ' => 'Ꚏ' (line 2266) 993s # Converting 'ꚏ' => 'Ꚏ' (line 2267) 993s # Converting 'Ꚑ' => 'Ꚑ' (line 2268) 993s # Converting 'ꚑ' => 'Ꚑ' (line 2269) 993s # Converting 'Ꚓ' => 'Ꚓ' (line 2270) 993s # Converting 'ꚓ' => 'Ꚓ' (line 2271) 993s # Converting 'Ꚕ' => 'Ꚕ' (line 2272) 993s # Converting 'ꚕ' => 'Ꚕ' (line 2273) 993s # Converting 'Ꚗ' => 'Ꚗ' (line 2274) 993s # Converting 'ꚗ' => 'Ꚗ' (line 2275) 993s # Converting 'Ꚙ' => 'Ꚙ' (line 2276) 993s # Converting 'ꚙ' => 'Ꚙ' (line 2277) 993s # Converting 'Ꚛ' => 'Ꚛ' (line 2278) 993s # Converting 'ꚛ' => 'Ꚛ' (line 2279) 993s # Converting 'Ꜣ' => 'Ꜣ' (line 2280) 993s # Converting 'ꜣ' => 'Ꜣ' (line 2281) 993s # Converting 'Ꜥ' => 'Ꜥ' (line 2282) 993s # Converting 'ꜥ' => 'Ꜥ' (line 2283) 993s # Converting 'Ꜧ' => 'Ꜧ' (line 2284) 993s # Converting 'ꜧ' => 'Ꜧ' (line 2285) 993s # Converting 'Ꜩ' => 'Ꜩ' (line 2286) 993s # Converting 'ꜩ' => 'Ꜩ' (line 2287) 993s # Converting 'Ꜫ' => 'Ꜫ' (line 2288) 993s # Converting 'ꜫ' => 'Ꜫ' (line 2289) 993s # Converting 'Ꜭ' => 'Ꜭ' (line 2290) 993s # Converting 'ꜭ' => 'Ꜭ' (line 2291) 993s # Converting 'Ꜯ' => 'Ꜯ' (line 2292) 993s # Converting 'ꜯ' => 'Ꜯ' (line 2293) 993s # Converting 'ꜰ' => 'ꜰ' (line 2294) 993s # Converting 'ꜱ' => 'ꜱ' (line 2295) 993s # Converting 'Ꜳ' => 'Ꜳ' (line 2296) 993s # Converting 'ꜳ' => 'Ꜳ' (line 2297) 993s # Converting 'Ꜵ' => 'Ꜵ' (line 2298) 993s # Converting 'ꜵ' => 'Ꜵ' (line 2299) 993s # Converting 'Ꜷ' => 'Ꜷ' (line 2300) 993s # Converting 'ꜷ' => 'Ꜷ' (line 2301) 993s # Converting 'Ꜹ' => 'Ꜹ' (line 2302) 993s # Converting 'ꜹ' => 'Ꜹ' (line 2303) 993s # Converting 'Ꜻ' => 'Ꜻ' (line 2304) 993s # Converting 'ꜻ' => 'Ꜻ' (line 2305) 993s # Converting 'Ꜽ' => 'Ꜽ' (line 2306) 993s # Converting 'ꜽ' => 'Ꜽ' (line 2307) 993s # Converting 'Ꜿ' => 'Ꜿ' (line 2308) 993s # Converting 'ꜿ' => 'Ꜿ' (line 2309) 993s # Converting 'Ꝁ' => 'Ꝁ' (line 2310) 993s # Converting 'ꝁ' => 'Ꝁ' (line 2311) 993s # Converting 'Ꝃ' => 'Ꝃ' (line 2312) 993s # Converting 'ꝃ' => 'Ꝃ' (line 2313) 993s # Converting 'Ꝅ' => 'Ꝅ' (line 2314) 993s # Converting 'ꝅ' => 'Ꝅ' (line 2315) 993s # Converting 'Ꝇ' => 'Ꝇ' (line 2316) 993s # Converting 'ꝇ' => 'Ꝇ' (line 2317) 993s # Converting 'Ꝉ' => 'Ꝉ' (line 2318) 993s # Converting 'ꝉ' => 'Ꝉ' (line 2319) 993s # Converting 'Ꝋ' => 'Ꝋ' (line 2320) 993s # Converting 'ꝋ' => 'Ꝋ' (line 2321) 993s # Converting 'Ꝍ' => 'Ꝍ' (line 2322) 993s # Converting 'ꝍ' => 'Ꝍ' (line 2323) 993s # Converting 'Ꝏ' => 'Ꝏ' (line 2324) 993s # Converting 'ꝏ' => 'Ꝏ' (line 2325) 993s # Converting 'Ꝑ' => 'Ꝑ' (line 2326) 993s # Converting 'ꝑ' => 'Ꝑ' (line 2327) 993s # Converting 'Ꝓ' => 'Ꝓ' (line 2328) 993s # Converting 'ꝓ' => 'Ꝓ' (line 2329) 993s # Converting 'Ꝕ' => 'Ꝕ' (line 2330) 993s # Converting 'ꝕ' => 'Ꝕ' (line 2331) 993s # Converting 'Ꝗ' => 'Ꝗ' (line 2332) 993s # Converting 'ꝗ' => 'Ꝗ' (line 2333) 993s # Converting 'Ꝙ' => 'Ꝙ' (line 2334) 993s # Converting 'ꝙ' => 'Ꝙ' (line 2335) 993s # Converting 'Ꝛ' => 'Ꝛ' (line 2336) 993s # Converting 'ꝛ' => 'Ꝛ' (line 2337) 993s # Converting 'Ꝝ' => 'Ꝝ' (line 2338) 993s # Converting 'ꝝ' => 'Ꝝ' (line 2339) 993s # Converting 'Ꝟ' => 'Ꝟ' (line 2340) 993s # Converting 'ꝟ' => 'Ꝟ' (line 2341) 993s # Converting 'Ꝡ' => 'Ꝡ' (line 2342) 993s # Converting 'ꝡ' => 'Ꝡ' (line 2343) 993s # Converting 'Ꝣ' => 'Ꝣ' (line 2344) 993s # Converting 'ꝣ' => 'Ꝣ' (line 2345) 993s # Converting 'Ꝥ' => 'Ꝥ' (line 2346) 993s # Converting 'ꝥ' => 'Ꝥ' (line 2347) 993s # Converting 'Ꝧ' => 'Ꝧ' (line 2348) 993s # Converting 'ꝧ' => 'Ꝧ' (line 2349) 993s # Converting 'Ꝩ' => 'Ꝩ' (line 2350) 993s # Converting 'ꝩ' => 'Ꝩ' (line 2351) 993s # Converting 'Ꝫ' => 'Ꝫ' (line 2352) 993s # Converting 'ꝫ' => 'Ꝫ' (line 2353) 993s # Converting 'Ꝭ' => 'Ꝭ' (line 2354) 993s # Converting 'ꝭ' => 'Ꝭ' (line 2355) 993s # Converting 'Ꝯ' => 'Ꝯ' (line 2356) 993s # Converting 'ꝯ' => 'Ꝯ' (line 2357) 993s # Converting 'ꝱ' => 'ꝱ' (line 2358) 993s # Converting 'ꝲ' => 'ꝲ' (line 2359) 993s # Converting 'ꝳ' => 'ꝳ' (line 2360) 993s # Converting 'ꝴ' => 'ꝴ' (line 2361) 993s # Converting 'ꝵ' => 'ꝵ' (line 2362) 993s # Converting 'ꝶ' => 'ꝶ' (line 2363) 993s # Converting 'ꝷ' => 'ꝷ' (line 2364) 993s # Converting 'ꝸ' => 'ꝸ' (line 2365) 993s # Converting 'Ꝺ' => 'Ꝺ' (line 2366) 993s # Converting 'ꝺ' => 'Ꝺ' (line 2367) 993s # Converting 'Ꝼ' => 'Ꝼ' (line 2368) 993s # Converting 'ꝼ' => 'Ꝼ' (line 2369) 993s # Converting 'Ᵹ' => 'Ᵹ' (line 2370) 993s # Converting 'Ꝿ' => 'Ꝿ' (line 2371) 993s # Converting 'ꝿ' => 'Ꝿ' (line 2372) 993s # Converting 'Ꞁ' => 'Ꞁ' (line 2373) 993s # Converting 'ꞁ' => 'Ꞁ' (line 2374) 993s # Converting 'Ꞃ' => 'Ꞃ' (line 2375) 993s # Converting 'ꞃ' => 'Ꞃ' (line 2376) 993s # Converting 'Ꞅ' => 'Ꞅ' (line 2377) 993s # Converting 'ꞅ' => 'Ꞅ' (line 2378) 993s # Converting 'Ꞇ' => 'Ꞇ' (line 2379) 993s # Converting 'ꞇ' => 'Ꞇ' (line 2380) 993s # Converting 'Ꞌ' => 'Ꞌ' (line 2381) 993s # Converting 'ꞌ' => 'Ꞌ' (line 2382) 993s # Converting 'Ɥ' => 'Ɥ' (line 2383) 993s # Converting 'ꞎ' => 'ꞎ' (line 2384) 993s # Converting 'Ꞑ' => 'Ꞑ' (line 2385) 993s # Converting 'ꞑ' => 'Ꞑ' (line 2386) 993s # Converting 'Ꞓ' => 'Ꞓ' (line 2387) 993s # Converting 'ꞓ' => 'Ꞓ' (line 2388) 993s # Converting 'ꞔ' => 'Ꞔ' (line 2389) 993s # Converting 'ꞕ' => 'ꞕ' (line 2390) 993s # Converting 'Ꞗ' => 'Ꞗ' (line 2391) 993s # Converting 'ꞗ' => 'Ꞗ' (line 2392) 993s # Converting 'Ꞙ' => 'Ꞙ' (line 2393) 993s # Converting 'ꞙ' => 'Ꞙ' (line 2394) 993s # Converting 'Ꞛ' => 'Ꞛ' (line 2395) 993s # Converting 'ꞛ' => 'Ꞛ' (line 2396) 993s # Converting 'Ꞝ' => 'Ꞝ' (line 2397) 993s # Converting 'ꞝ' => 'Ꞝ' (line 2398) 993s # Converting 'Ꞟ' => 'Ꞟ' (line 2399) 993s # Converting 'ꞟ' => 'Ꞟ' (line 2400) 993s # Converting 'Ꞡ' => 'Ꞡ' (line 2401) 993s # Converting 'ꞡ' => 'Ꞡ' (line 2402) 993s # Converting 'Ꞣ' => 'Ꞣ' (line 2403) 993s # Converting 'ꞣ' => 'Ꞣ' (line 2404) 993s # Converting 'Ꞥ' => 'Ꞥ' (line 2405) 993s # Converting 'ꞥ' => 'Ꞥ' (line 2406) 993s # Converting 'Ꞧ' => 'Ꞧ' (line 2407) 993s # Converting 'ꞧ' => 'Ꞧ' (line 2408) 993s # Converting 'Ꞩ' => 'Ꞩ' (line 2409) 993s # Converting 'ꞩ' => 'Ꞩ' (line 2410) 993s # Converting 'Ɦ' => 'Ɦ' (line 2411) 993s # Converting 'Ɜ' => 'Ɜ' (line 2412) 993s # Converting 'Ɡ' => 'Ɡ' (line 2413) 993s # Converting 'Ɬ' => 'Ɬ' (line 2414) 993s # Converting 'Ɪ' => 'Ɪ' (line 2415) 993s # Converting 'ꞯ' => 'ꞯ' (line 2416) 993s # Converting 'Ʞ' => 'Ʞ' (line 2417) 993s # Converting 'Ʇ' => 'Ʇ' (line 2418) 993s # Converting 'Ʝ' => 'Ʝ' (line 2419) 993s # Converting 'Ꭓ' => 'Ꭓ' (line 2420) 993s # Converting 'Ꞵ' => 'Ꞵ' (line 2421) 993s # Converting 'ꞵ' => 'Ꞵ' (line 2422) 993s # Converting 'Ꞷ' => 'Ꞷ' (line 2423) 993s # Converting 'ꞷ' => 'Ꞷ' (line 2424) 993s # Converting 'Ꞹ' => 'Ꞹ' (line 2425) 993s # Converting 'ꞹ' => 'Ꞹ' (line 2426) 993s # Converting 'Ꞻ' => 'Ꞻ' (line 2427) 993s # Converting 'ꞻ' => 'Ꞻ' (line 2428) 993s ok - glib/unicode.test 993s # Running test: glib/base64.test 993s ok - glib/base64.test 993s # Running test: glib/gdbus-proxy-threads.test 993s # Converting 'Ꞽ' => 'Ꞽ' (line 2429) 993s # Converting 'ꞽ' => 'Ꞽ' (line 2430) 993s # Converting 'Ꞿ' => 'Ꞿ' (line 2431) 993s # Converting 'ꞿ' => 'Ꞿ' (line 2432) 993s # Converting 'Ꟁ' => 'Ꟁ' (line 2433) 993s # Converting 'ꟁ' => 'Ꟁ' (line 2434) 993s # Converting 'Ꟃ' => 'Ꟃ' (line 2435) 993s # Converting 'ꟃ' => 'Ꟃ' (line 2436) 993s # Converting 'Ꞔ' => 'Ꞔ' (line 2437) 993s # Converting 'Ʂ' => 'Ʂ' (line 2438) 993s # Converting 'Ᶎ' => 'Ᶎ' (line 2439) 993s # Converting 'Ꟈ' => 'Ꟈ' (line 2440) 993s # Converting 'ꟈ' => 'Ꟈ' (line 2441) 993s # Converting 'Ꟊ' => 'Ꟊ' (line 2442) 993s # Converting 'ꟊ' => 'Ꟊ' (line 2443) 993s # Converting 'Ɤ' => 'Ɤ' (line 2444) 993s # Converting 'Ꟍ' => 'Ꟍ' (line 2445) 993s # Converting 'ꟍ' => 'Ꟍ' (line 2446) 993s # Converting '꟎' => '꟎' (line 2447) 993s # Converting '꟏' => '꟎' (line 2448) 993s # Converting 'Ꟑ' => 'Ꟑ' (line 2449) 993s # Converting 'ꟑ' => 'Ꟑ' (line 2450) 993s # Converting '꟒' => '꟒' (line 2451) 993s # Converting 'ꟓ' => '꟒' (line 2452) 993s # Converting '꟔' => '꟔' (line 2453) 993s # Converting 'ꟕ' => '꟔' (line 2454) 993s # Converting 'Ꟗ' => 'Ꟗ' (line 2455) 993s # Converting 'ꟗ' => 'Ꟗ' (line 2456) 993s # Converting 'Ꟙ' => 'Ꟙ' (line 2457) 993s # Converting 'ꟙ' => 'Ꟙ' (line 2458) 993s # Converting 'Ꟛ' => 'Ꟛ' (line 2459) 993s # Converting 'ꟛ' => 'Ꟛ' (line 2460) 993s # Converting 'Ƛ' => 'Ƛ' (line 2461) 993s # Converting 'Ꟶ' => 'Ꟶ' (line 2462) 993s # Converting 'ꟶ' => 'Ꟶ' (line 2463) 993s # Converting 'ꟺ' => 'ꟺ' (line 2464) 993s # Converting 'ꬰ' => 'ꬰ' (line 2465) 993s # Converting 'ꬱ' => 'ꬱ' (line 2466) 993s # Converting 'ꬲ' => 'ꬲ' (line 2467) 993s # Converting 'ꬳ' => 'ꬳ' (line 2468) 993s # Converting 'ꬴ' => 'ꬴ' (line 2469) 993s # Converting 'ꬵ' => 'ꬵ' (line 2470) 993s # Converting 'ꬶ' => 'ꬶ' (line 2471) 993s # Converting 'ꬷ' => 'ꬷ' (line 2472) 993s # Converting 'ꬸ' => 'ꬸ' (line 2473) 993s # Converting 'ꬹ' => 'ꬹ' (line 2474) 993s # Converting 'ꬺ' => 'ꬺ' (line 2475) 993s # Converting 'ꬻ' => 'ꬻ' (line 2476) 993s # Converting 'ꬼ' => 'ꬼ' (line 2477) 993s # Converting 'ꬽ' => 'ꬽ' (line 2478) 993s # Converting 'ꬾ' => 'ꬾ' (line 2479) 993s # Converting 'ꬿ' => 'ꬿ' (line 2480) 993s # Converting 'ꭀ' => 'ꭀ' (line 2481) 993s # Converting 'ꭁ' => 'ꭁ' (line 2482) 993s # Converting 'ꭂ' => 'ꭂ' (line 2483) 993s # Converting 'ꭃ' => 'ꭃ' (line 2484) 993s # Converting 'ꭄ' => 'ꭄ' (line 2485) 993s # Converting 'ꭅ' => 'ꭅ' (line 2486) 993s # Converting 'ꭆ' => 'ꭆ' (line 2487) 993s # Converting 'ꭇ' => 'ꭇ' (line 2488) 993s # Converting 'ꭈ' => 'ꭈ' (line 2489) 993s # Converting 'ꭉ' => 'ꭉ' (line 2490) 993s # Converting 'ꭊ' => 'ꭊ' (line 2491) 993s # Converting 'ꭋ' => 'ꭋ' (line 2492) 993s # Converting 'ꭌ' => 'ꭌ' (line 2493) 993s # Converting 'ꭍ' => 'ꭍ' (line 2494) 993s # Converting 'ꭎ' => 'ꭎ' (line 2495) 993s # Converting 'ꭏ' => 'ꭏ' (line 2496) 993s # Converting 'ꭐ' => 'ꭐ' (line 2497) 993s # Converting 'ꭑ' => 'ꭑ' (line 2498) 993s # Converting 'ꭒ' => 'ꭒ' (line 2499) 993s # Converting 'ꭓ' => 'Ꭓ' (line 2500) 993s # Converting 'ꭔ' => 'ꭔ' (line 2501) 993s # Converting 'ꭕ' => 'ꭕ' (line 2502) 993s # Converting 'ꭖ' => 'ꭖ' (line 2503) 993s # Converting 'ꭗ' => 'ꭗ' (line 2504) 993s # Converting 'ꭘ' => 'ꭘ' (line 2505) 993s # Converting 'ꭙ' => 'ꭙ' (line 2506) 993s # Converting 'ꭚ' => 'ꭚ' (line 2507) 993s # Converting 'ꭠ' => 'ꭠ' (line 2508) 993s # Converting 'ꭡ' => 'ꭡ' (line 2509) 993s # Converting 'ꭢ' => 'ꭢ' (line 2510) 993s # Converting 'ꭣ' => 'ꭣ' (line 2511) 993s # Converting 'ꭤ' => 'ꭤ' (line 2512) 993s # Converting 'ꭥ' => 'ꭥ' (line 2513) 993s # Converting 'ꭦ' => 'ꭦ' (line 2514) 993s # Converting 'ꭧ' => 'ꭧ' (line 2515) 993s # Converting 'ꭨ' => 'ꭨ' (line 2516) 993s # Converting 'ꭰ' => 'Ꭰ' (line 2517) 993s # Converting 'ꭱ' => 'Ꭱ' (line 2518) 993s # Converting 'ꭲ' => 'Ꭲ' (line 2519) 993s # Converting 'ꭳ' => 'Ꭳ' (line 2520) 993s # Converting 'ꭴ' => 'Ꭴ' (line 2521) 993s # Converting 'ꭵ' => 'Ꭵ' (line 2522) 993s # Converting 'ꭶ' => 'Ꭶ' (line 2523) 993s # Converting 'ꭷ' => 'Ꭷ' (line 2524) 993s # Converting 'ꭸ' => 'Ꭸ' (line 2525) 993s # Converting 'ꭹ' => 'Ꭹ' (line 2526) 993s # Converting 'ꭺ' => 'Ꭺ' (line 2527) 993s # Converting 'ꭻ' => 'Ꭻ' (line 2528) 993s # Converting 'ꭼ' => 'Ꭼ' (line 2529) 993s # Converting 'ꭽ' => 'Ꭽ' (line 2530) 993s # Converting 'ꭾ' => 'Ꭾ' (line 2531) 993s # Converting 'ꭿ' => 'Ꭿ' (line 2532) 993s # Converting 'ꮀ' => 'Ꮀ' (line 2533) 993s # Converting 'ꮁ' => 'Ꮁ' (line 2534) 993s # Converting 'ꮂ' => 'Ꮂ' (line 2535) 993s # Converting 'ꮃ' => 'Ꮃ' (line 2536) 993s # Converting 'ꮄ' => 'Ꮄ' (line 2537) 993s # Converting 'ꮅ' => 'Ꮅ' (line 2538) 993s # Converting 'ꮆ' => 'Ꮆ' (line 2539) 993s # Converting 'ꮇ' => 'Ꮇ' (line 2540) 993s # Converting 'ꮈ' => 'Ꮈ' (line 2541) 993s # Converting 'ꮉ' => 'Ꮉ' (line 2542) 993s # Converting 'ꮊ' => 'Ꮊ' (line 2543) 993s # Converting 'ꮋ' => 'Ꮋ' (line 2544) 993s # Converting 'ꮌ' => 'Ꮌ' (line 2545) 993s # Converting 'ꮍ' => 'Ꮍ' (line 2546) 993s # Converting 'ꮎ' => 'Ꮎ' (line 2547) 993s # Converting 'ꮏ' => 'Ꮏ' (line 2548) 993s # Converting 'ꮐ' => 'Ꮐ' (line 2549) 993s # Converting 'ꮑ' => 'Ꮑ' (line 2550) 993s # Converting 'ꮒ' => 'Ꮒ' (line 2551) 993s # Converting 'ꮓ' => 'Ꮓ' (line 2552) 993s # Converting 'ꮔ' => 'Ꮔ' (line 2553) 993s # Converting 'ꮕ' => 'Ꮕ' (line 2554) 993s # Converting 'ꮖ' => 'Ꮖ' (line 2555) 993s # Converting 'ꮗ' => 'Ꮗ' (line 2556) 993s # Converting 'ꮘ' => 'Ꮘ' (line 2557) 993s # Converting 'ꮙ' => 'Ꮙ' (line 2558) 993s # Converting 'ꮚ' => 'Ꮚ' (line 2559) 993s # Converting 'ꮛ' => 'Ꮛ' (line 2560) 993s # Converting 'ꮜ' => 'Ꮜ' (line 2561) 993s # Converting 'ꮝ' => 'Ꮝ' (line 2562) 993s # Converting 'ꮞ' => 'Ꮞ' (line 2563) 993s # Converting 'ꮟ' => 'Ꮟ' (line 2564) 993s # Converting 'ꮠ' => 'Ꮠ' (line 2565) 993s # Converting 'ꮡ' => 'Ꮡ' (line 2566) 993s # Converting 'ꮢ' => 'Ꮢ' (line 2567) 993s # Converting 'ꮣ' => 'Ꮣ' (line 2568) 993s # Converting 'ꮤ' => 'Ꮤ' (line 2569) 993s # Converting 'ꮥ' => 'Ꮥ' (line 2570) 993s # Converting 'ꮦ' => 'Ꮦ' (line 2571) 993s # Converting 'ꮧ' => 'Ꮧ' (line 2572) 993s # Converting 'ꮨ' => 'Ꮨ' (line 2573) 993s # Converting 'ꮩ' => 'Ꮩ' (line 2574) 993s # Converting 'ꮪ' => 'Ꮪ' (line 2575) 993s # Converting 'ꮫ' => 'Ꮫ' (line 2576) 993s # Converting 'ꮬ' => 'Ꮬ' (line 2577) 993s # Converting 'ꮭ' => 'Ꮭ' (line 2578) 993s # Converting 'ꮮ' => 'Ꮮ' (line 2579) 993s # Converting 'ꮯ' => 'Ꮯ' (line 2580) 993s # Converting 'ꮰ' => 'Ꮰ' (line 2581) 993s # Converting 'ꮱ' => 'Ꮱ' (line 2582) 993s # Converting 'ꮲ' => 'Ꮲ' (line 2583) 993s # Converting 'ꮳ' => 'Ꮳ' (line 2584) 993s # Converting 'ꮴ' => 'Ꮴ' (line 2585) 993s # Converting 'ꮵ' => 'Ꮵ' (line 2586) 993s # Converting 'ꮶ' => 'Ꮶ' (line 2587) 993s # Converting 'ꮷ' => 'Ꮷ' (line 2588) 993s # Converting 'ꮸ' => 'Ꮸ' (line 2589) 993s # Converting 'ꮹ' => 'Ꮹ' (line 2590) 993s # Converting 'ꮺ' => 'Ꮺ' (line 2591) 993s # Converting 'ꮻ' => 'Ꮻ' (line 2592) 993s # Converting 'ꮼ' => 'Ꮼ' (line 2593) 993s # Converting 'ꮽ' => 'Ꮽ' (line 2594) 993s # Converting 'ꮾ' => 'Ꮾ' (line 2595) 993s # Converting 'ꮿ' => 'Ꮿ' (line 2596) 993s # Converting 'ff' => 'FF' (line 2597) 993s # Converting 'fi' => 'FI' (line 2598) 993s # Converting 'fl' => 'FL' (line 2599) 993s # Converting 'ffi' => 'FFI' (line 2600) 993s # Converting 'ffl' => 'FFL' (line 2601) 993s # Converting 'ſt' => 'ST' (line 2602) 993s # Converting 'st' => 'ST' (line 2603) 993s # Converting 'ﬓ' => 'ՄՆ' (line 2604) 993s # Converting 'ﬔ' => 'ՄԵ' (line 2605) 993s # Converting 'ﬕ' => 'ՄԻ' (line 2606) 993s # Converting 'ﬖ' => 'ՎՆ' (line 2607) 993s # Converting 'ﬗ' => 'ՄԽ' (line 2608) 993s # Converting 'A' => 'A' (line 2609) 993s # Converting 'B' => 'B' (line 2610) 993s # Converting 'C' => 'C' (line 2611) 993s # Converting 'D' => 'D' (line 2612) 993s # Converting 'E' => 'E' (line 2613) 993s # Converting 'F' => 'F' (line 2614) 993s # Converting 'G' => 'G' (line 2615) 993s # Converting 'H' => 'H' (line 2616) 993s # Converting 'I' => 'I' (line 2617) 993s # Converting 'J' => 'J' (line 2618) 993s # Converting 'K' => 'K' (line 2619) 993s # Converting 'L' => 'L' (line 2620) 993s # Converting 'M' => 'M' (line 2621) 993s # Converting 'N' => 'N' (line 2622) 993s # Converting 'O' => 'O' (line 2623) 993s # Converting 'P' => 'P' (line 2624) 993s # Converting 'Q' => 'Q' (line 2625) 993s # Converting 'R' => 'R' (line 2626) 993s # Converting 'S' => 'S' (line 2627) 993s # Converting 'T' => 'T' (line 2628) 993s # Converting 'U' => 'U' (line 2629) 993s # Converting 'V' => 'V' (line 2630) 993s # Converting 'W' => 'W' (line 2631) 993s # Converting 'X' => 'X' (line 2632) 993s # Converting 'Y' => 'Y' (line 2633) 993s # Converting 'Z' => 'Z' (line 2634) 993s # Converting 'a' => 'A' (line 2635) 993s # Converting 'b' => 'B' (line 2636) 993s # Converting 'c' => 'C' (line 2637) 993s # Converting 'd' => 'D' (line 2638) 993s # Converting 'e' => 'E' (line 2639) 993s # Converting 'f' => 'F' (line 2640) 993s # Converting 'g' => 'G' (line 2641) 993s # Converting 'h' => 'H' (line 2642) 993s # Converting 'i' => 'I' (line 2643) 993s # Converting 'j' => 'J' (line 2644) 993s # Converting 'k' => 'K' (line 2645) 993s # Converting 'l' => 'L' (line 2646) 993s # Converting 'm' => 'M' (line 2647) 993s # Converting 'n' => 'N' (line 2648) 993s # Converting 'o' => 'O' (line 2649) 993s # Converting 'p' => 'P' (line 2650) 993s # Converting 'q' => 'Q' (line 2651) 993s # Converting 'r' => 'R' (line 2652) 993s # Converting 's' => 'S' (line 2653) 993s # Converting 't' => 'T' (line 2654) 993s # Converting 'u' => 'U' (line 2655) 993s # Converting 'v' => 'V' (line 2656) 993s # Converting 'w' => 'W' (line 2657) 993s # Converting 'x' => 'X' (line 2658) 993s # Converting 'y' => 'Y' (line 2659) 993s # Converting 'z' => 'Z' (line 2660) 993s # Converting '𐐀' => '𐐀' (line 2661) 993s # Converting '𐐁' => '𐐁' (line 2662) 993s # Converting '𐐂' => '𐐂' (line 2663) 993s # Converting '𐐃' => '𐐃' (line 2664) 993s # Converting '𐐄' => '𐐄' (line 2665) 993s # Converting '𐐅' => '𐐅' (line 2666) 993s # Converting '𐐆' => '𐐆' (line 2667) 993s # Converting '𐐇' => '𐐇' (line 2668) 993s # Converting '𐐈' => '𐐈' (line 2669) 993s # Converting '𐐉' => '𐐉' (line 2670) 993s # Converting '𐐊' => '𐐊' (line 2671) 993s # Converting '𐐋' => '𐐋' (line 2672) 993s # Converting '𐐌' => '𐐌' (line 2673) 993s # Converting '𐐍' => '𐐍' (line 2674) 993s # Converting '𐐎' => '𐐎' (line 2675) 993s # Converting '𐐏' => '𐐏' (line 2676) 993s # Converting '𐐐' => '𐐐' (line 2677) 993s # Converting '𐐑' => '𐐑' (line 2678) 993s # Converting '𐐒' => '𐐒' (line 2679) 993s # Converting '𐐓' => '𐐓' (line 2680) 993s # Converting '𐐔' => '𐐔' (line 2681) 993s # Converting '𐐕' => '𐐕' (line 2682) 993s # Converting '𐐖' => '𐐖' (line 2683) 993s # Converting '𐐗' => '𐐗' (line 2684) 993s # Converting '𐐘' => '𐐘' (line 2685) 993s # Converting '𐐙' => '𐐙' (line 2686) 993s # Converting '𐐚' => '𐐚' (line 2687) 993s # Converting '𐐛' => '𐐛' (line 2688) 993s # Converting '𐐜' => '𐐜' (line 2689) 993s # Converting '𐐝' => '𐐝' (line 2690) 993s # Converting '𐐞' => '𐐞' (line 2691) 993s # Converting '𐐟' => '𐐟' (line 2692) 993s # Converting '𐐠' => '𐐠' (line 2693) 993s # Converting '𐐡' => '𐐡' (line 2694) 993s # Converting '𐐢' => '𐐢' (line 2695) 993s # Converting '𐐣' => '𐐣' (line 2696) 993s # Converting '𐐤' => '𐐤' (line 2697) 993s # Converting '𐐥' => '𐐥' (line 2698) 993s # Converting '𐐦' => '𐐦' (line 2699) 993s # Converting '𐐧' => '𐐧' (line 2700) 993s # Converting '𐐨' => '𐐀' (line 2701) 993s # Converting '𐐩' => '𐐁' (line 2702) 993s # Converting '𐐪' => '𐐂' (line 2703) 993s # Converting '𐐫' => '𐐃' (line 2704) 993s # Converting '𐐬' => '𐐄' (line 2705) 993s # Converting '𐐭' => '𐐅' (line 2706) 993s # Converting '𐐮' => '𐐆' (line 2707) 993s # Converting '𐐯' => '𐐇' (line 2708) 993s # Converting '𐐰' => '𐐈' (line 2709) 993s # Converting '𐐱' => '𐐉' (line 2710) 993s # Converting '𐐲' => '𐐊' (line 2711) 993s # Converting '𐐳' => '𐐋' (line 2712) 993s # Converting '𐐴' => '𐐌' (line 2713) 993s # Converting '𐐵' => '𐐍' (line 2714) 993s # Converting '𐐶' => '𐐎' (line 2715) 993s # Converting '𐐷' => '𐐏' (line 2716) 993s # Converting '𐐸' => '𐐐' (line 2717) 993s # Converting '𐐹' => '𐐑' (line 2718) 993s # Converting '𐐺' => '𐐒' (line 2719) 993s # Converting '𐐻' => '𐐓' (line 2720) 993s # Converting '𐐼' => '𐐔' (line 2721) 993s # Converting '𐐽' => '𐐕' (line 2722) 993s # Converting '𐐾' => '𐐖' (line 2723) 993s # Converting '𐐿' => '𐐗' (line 2724) 993s # Converting '𐑀' => '𐐘' (line 2725) 993s # Converting '𐑁' => '𐐙' (line 2726) 993s # Converting '𐑂' => '𐐚' (line 2727) 993s # Converting '𐑃' => '𐐛' (line 2728) 993s # Converting '𐑄' => '𐐜' (line 2729) 993s # Converting '𐑅' => '𐐝' (line 2730) 993s # Converting '𐑆' => '𐐞' (line 2731) 993s # Converting '𐑇' => '𐐟' (line 2732) 993s # Converting '𐑈' => '𐐠' (line 2733) 993s # Converting '𐑉' => '𐐡' (line 2734) 993s # Converting '𐑊' => '𐐢' (line 2735) 993s # Converting '𐑋' => '𐐣' (line 2736) 993s # Converting '𐑌' => '𐐤' (line 2737) 993s # Converting '𐑍' => '𐐥' (line 2738) 993s # Converting '𐑎' => '𐐦' (line 2739) 993s # Converting '𐑏' => '𐐧' (line 2740) 993s # Converting '𐒰' => '𐒰' (line 2741) 993s # Converting '𐒱' => '𐒱' (line 2742) 993s # Converting '𐒲' => '𐒲' (line 2743) 993s # Converting '𐒳' => '𐒳' (line 2744) 993s # Converting '𐒴' => '𐒴' (line 2745) 993s # Converting '𐒵' => '𐒵' (line 2746) 993s # Converting '𐒶' => '𐒶' (line 2747) 993s # Converting '𐒷' => '𐒷' (line 2748) 993s # Converting '𐒸' => '𐒸' (line 2749) 993s # Converting '𐒹' => '𐒹' (line 2750) 993s # Converting '𐒺' => '𐒺' (line 2751) 993s # Converting '𐒻' => '𐒻' (line 2752) 993s # Converting '𐒼' => '𐒼' (line 2753) 993s # Converting '𐒽' => '𐒽' (line 2754) 993s # Converting '𐒾' => '𐒾' (line 2755) 993s # Converting '𐒿' => '𐒿' (line 2756) 993s # Converting '𐓀' => '𐓀' (line 2757) 993s # Converting '𐓁' => '𐓁' (line 2758) 993s # Converting '𐓂' => '𐓂' (line 2759) 993s # Converting '𐓃' => '𐓃' (line 2760) 993s # Converting '𐓄' => '𐓄' (line 2761) 993s # Converting '𐓅' => '𐓅' (line 2762) 993s # Converting '𐓆' => '𐓆' (line 2763) 993s # Converting '𐓇' => '𐓇' (line 2764) 993s # Converting '𐓈' => '𐓈' (line 2765) 993s # Converting '𐓉' => '𐓉' (line 2766) 993s # Converting '𐓊' => '𐓊' (line 2767) 993s # Converting '𐓋' => '𐓋' (line 2768) 993s # Converting '𐓌' => '𐓌' (line 2769) 993s # Converting '𐓍' => '𐓍' (line 2770) 993s # Converting '𐓎' => '𐓎' (line 2771) 993s # Converting '𐓏' => '𐓏' (line 2772) 993s # Converting '𐓐' => '𐓐' (line 2773) 993s # Converting '𐓑' => '𐓑' (line 2774) 993s # Converting '𐓒' => '𐓒' (line 2775) 993s # Converting '𐓓' => '𐓓' (line 2776) 993s # Converting '𐓘' => '𐒰' (line 2777) 993s # Converting '𐓙' => '𐒱' (line 2778) 993s # Converting '𐓚' => '𐒲' (line 2779) 993s # Converting '𐓛' => '𐒳' (line 2780) 993s # Converting '𐓜' => '𐒴' (line 2781) 993s # Converting '𐓝' => '𐒵' (line 2782) 993s # Converting '𐓞' => '𐒶' (line 2783) 993s # Converting '𐓟' => '𐒷' (line 2784) 993s # Converting '𐓠' => '𐒸' (line 2785) 993s # Converting '𐓡' => '𐒹' (line 2786) 993s # Converting '𐓢' => '𐒺' (line 2787) 993s # Converting '𐓣' => '𐒻' (line 2788) 993s # Converting '𐓤' => '𐒼' (line 2789) 993s # Converting '𐓥' => '𐒽' (line 2790) 993s # Converting '𐓦' => '𐒾' (line 2791) 993s # Converting '𐓧' => '𐒿' (line 2792) 993s # Converting '𐓨' => '𐓀' (line 2793) 993s # Converting '𐓩' => '𐓁' (line 2794) 993s # Converting '𐓪' => '𐓂' (line 2795) 993s # Converting '𐓫' => '𐓃' (line 2796) 993s # Converting '𐓬' => '𐓄' (line 2797) 993s # Converting '𐓭' => '𐓅' (line 2798) 993s # Converting '𐓮' => '𐓆' (line 2799) 993s # Converting '𐓯' => '𐓇' (line 2800) 993s # Converting '𐓰' => '𐓈' (line 2801) 993s # Converting '𐓱' => '𐓉' (line 2802) 993s # Converting '𐓲' => '𐓊' (line 2803) 993s # Converting '𐓳' => '𐓋' (line 2804) 993s # Converting '𐓴' => '𐓌' (line 2805) 993s # Converting '𐓵' => '𐓍' (line 2806) 993s # Converting '𐓶' => '𐓎' (line 2807) 993s # Converting '𐓷' => '𐓏' (line 2808) 993s # Converting '𐓸' => '𐓐' (line 2809) 993s # Converting '𐓹' => '𐓑' (line 2810) 993s # Converting '𐓺' => '𐓒' (line 2811) 993s # Converting '𐓻' => '𐓓' (line 2812) 993s # Converting '𐕰' => '𐕰' (line 2813) 993s # Converting '𐕱' => '𐕱' (line 2814) 993s # Converting '𐕲' => '𐕲' (line 2815) 993s # Converting '𐕳' => '𐕳' (line 2816) 993s # Converting '𐕴' => '𐕴' (line 2817) 993s # Converting '𐕵' => '𐕵' (line 2818) 993s # Converting '𐕶' => '𐕶' (line 2819) 993s # Converting '𐕷' => '𐕷' (line 2820) 993s # Converting '𐕸' => '𐕸' (line 2821) 993s # Converting '𐕹' => '𐕹' (line 2822) 993s # Converting '𐕺' => '𐕺' (line 2823) 993s # Converting '𐕼' => '𐕼' (line 2824) 993s # Converting '𐕽' => '𐕽' (line 2825) 993s # Converting '𐕾' => '𐕾' (line 2826) 993s # Converting '𐕿' => '𐕿' (line 2827) 993s # Converting '𐖀' => '𐖀' (line 2828) 993s # Converting '𐖁' => '𐖁' (line 2829) 993s # Converting '𐖂' => '𐖂' (line 2830) 993s # Converting '𐖃' => '𐖃' (line 2831) 993s # Converting '𐖄' => '𐖄' (line 2832) 993s # Converting '𐖅' => '𐖅' (line 2833) 993s # Converting '𐖆' => '𐖆' (line 2834) 993s # Converting '𐖇' => '𐖇' (line 2835) 993s # Converting '𐖈' => '𐖈' (line 2836) 993s # Converting '𐖉' => '𐖉' (line 2837) 993s # Converting '𐖊' => '𐖊' (line 2838) 993s # Converting '𐖌' => '𐖌' (line 2839) 993s # Converting '𐖍' => '𐖍' (line 2840) 993s # Converting '𐖎' => '𐖎' (line 2841) 993s # Converting '𐖏' => '𐖏' (line 2842) 993s # Converting '𐖐' => '𐖐' (line 2843) 993s # Converting '𐖑' => '𐖑' (line 2844) 993s # Converting '𐖒' => '𐖒' (line 2845) 993s # Converting '𐖔' => '𐖔' (line 2846) 993s # Converting '𐖕' => '𐖕' (line 2847) 993s # Converting '𐖗' => '𐕰' (line 2848) 993s # Converting '𐖘' => '𐕱' (line 2849) 993s # Converting '𐖙' => '𐕲' (line 2850) 993s # Converting '𐖚' => '𐕳' (line 2851) 993s # Converting '𐖛' => '𐕴' (line 2852) 993s # Converting '𐖜' => '𐕵' (line 2853) 993s # Converting '𐖝' => '𐕶' (line 2854) 993s # Converting '𐖞' => '𐕷' (line 2855) 993s # Converting '𐖟' => '𐕸' (line 2856) 993s # Converting '𐖠' => '𐕹' (line 2857) 993s # Converting '𐖡' => '𐕺' (line 2858) 993s # Converting '𐖣' => '𐕼' (line 2859) 993s # Converting '𐖤' => '𐕽' (line 2860) 993s # Converting '𐖥' => '𐕾' (line 2861) 993s # Converting '𐖦' => '𐕿' (line 2862) 993s # Converting '𐖧' => '𐖀' (line 2863) 993s # Converting '𐖨' => '𐖁' (line 2864) 993s # Converting '𐖩' => '𐖂' (line 2865) 993s # Converting '𐖪' => '𐖃' (line 2866) 993s # Converting '𐖫' => '𐖄' (line 2867) 993s # Converting '𐖬' => '𐖅' (line 2868) 993s # Converting '𐖭' => '𐖆' (line 2869) 993s # Converting '𐖮' => '𐖇' (line 2870) 993s # Converting '𐖯' => '𐖈' (line 2871) 993s # Converting '𐖰' => '𐖉' (line 2872) 993s # Converting '𐖱' => '𐖊' (line 2873) 993s # Converting '𐖳' => '𐖌' (line 2874) 993s # Converting '𐖴' => '𐖍' (line 2875) 993s # Converting '𐖵' => '𐖎' (line 2876) 993s # Converting '𐖶' => '𐖏' (line 2877) 993s # Converting '𐖷' => '𐖐' (line 2878) 993s # Converting '𐖸' => '𐖑' (line 2879) 993s # Converting '𐖹' => '𐖒' (line 2880) 993s # Converting '𐖻' => '𐖔' (line 2881) 993s # Converting '𐖼' => '𐖕' (line 2882) 993s # Converting '𐲀' => '𐲀' (line 2883) 993s # Converting '𐲁' => '𐲁' (line 2884) 993s # Converting '𐲂' => '𐲂' (line 2885) 993s # Converting '𐲃' => '𐲃' (line 2886) 993s # Converting '𐲄' => '𐲄' (line 2887) 993s # Converting '𐲅' => '𐲅' (line 2888) 993s # Converting '𐲆' => '𐲆' (line 2889) 993s # Converting '𐲇' => '𐲇' (line 2890) 993s # Converting '𐲈' => '𐲈' (line 2891) 993s # Converting '𐲉' => '𐲉' (line 2892) 993s # Converting '𐲊' => '𐲊' (line 2893) 993s # Converting '𐲋' => '𐲋' (line 2894) 993s # Converting '𐲌' => '𐲌' (line 2895) 993s # Converting '𐲍' => '𐲍' (line 2896) 993s # Converting '𐲎' => '𐲎' (line 2897) 993s # Converting '𐲏' => '𐲏' (line 2898) 993s # Converting '𐲐' => '𐲐' (line 2899) 993s # Converting '𐲑' => '𐲑' (line 2900) 993s # Converting '𐲒' => '𐲒' (line 2901) 993s # Converting '𐲓' => '𐲓' (line 2902) 993s # Converting '𐲔' => '𐲔' (line 2903) 993s # Converting '𐲕' => '𐲕' (line 2904) 993s # Converting '𐲖' => '𐲖' (line 2905) 993s # Converting '𐲗' => '𐲗' (line 2906) 993s # Converting '𐲘' => '𐲘' (line 2907) 993s # Converting '𐲙' => '𐲙' (line 2908) 993s # Converting '𐲚' => '𐲚' (line 2909) 993s # Converting '𐲛' => '𐲛' (line 2910) 993s # Converting '𐲜' => '𐲜' (line 2911) 993s # Converting '𐲝' => '𐲝' (line 2912) 993s # Converting '𐲞' => '𐲞' (line 2913) 993s # Converting '𐲟' => '𐲟' (line 2914) 993s # Converting '𐲠' => '𐲠' (line 2915) 993s # Converting '𐲡' => '𐲡' (line 2916) 993s # Converting '𐲢' => '𐲢' (line 2917) 993s # Converting '𐲣' => '𐲣' (line 2918) 993s # Converting '𐲤' => '𐲤' (line 2919) 993s # Converting '𐲥' => '𐲥' (line 2920) 993s # Converting '𐲦' => '𐲦' (line 2921) 993s # Converting '𐲧' => '𐲧' (line 2922) 993s # Converting '𐲨' => '𐲨' (line 2923) 993s # Converting '𐲩' => '𐲩' (line 2924) 993s # Converting '𐲪' => '𐲪' (line 2925) 993s # Converting '𐲫' => '𐲫' (line 2926) 993s # Converting '𐲬' => '𐲬' (line 2927) 993s # Converting '𐲭' => '𐲭' (line 2928) 993s # Converting '𐲮' => '𐲮' (line 2929) 993s # Converting '𐲯' => '𐲯' (line 2930) 993s # Converting '𐲰' => '𐲰' (line 2931) 993s # Converting '𐲱' => '𐲱' (line 2932) 993s # Converting '𐲲' => '𐲲' (line 2933) 993s # Converting '𐳀' => '𐲀' (line 2934) 993s # Converting '𐳁' => '𐲁' (line 2935) 993s # Converting '𐳂' => '𐲂' (line 2936) 993s # Converting '𐳃' => '𐲃' (line 2937) 993s # Converting '𐳄' => '𐲄' (line 2938) 993s # Converting '𐳅' => '𐲅' (line 2939) 993s # Converting '𐳆' => '𐲆' (line 2940) 993s # Converting '𐳇' => '𐲇' (line 2941) 993s # Converting '𐳈' => '𐲈' (line 2942) 993s # Converting '𐳉' => '𐲉' (line 2943) 993s # Converting '𐳊' => '𐲊' (line 2944) 993s # Converting '𐳋' => '𐲋' (line 2945) 993s # Converting '𐳌' => '𐲌' (line 2946) 993s # Converting '𐳍' => '𐲍' (line 2947) 993s # Converting '𐳎' => '𐲎' (line 2948) 993s # Converting '𐳏' => '𐲏' (line 2949) 993s # Converting '𐳐' => '𐲐' (line 2950) 993s # Converting '𐳑' => '𐲑' (line 2951) 993s # Converting '𐳒' => '𐲒' (line 2952) 993s # Converting '𐳓' => '𐲓' (line 2953) 993s # Converting '𐳔' => '𐲔' (line 2954) 993s # Converting '𐳕' => '𐲕' (line 2955) 993s # Converting '𐳖' => '𐲖' (line 2956) 993s # Converting '𐳗' => '𐲗' (line 2957) 993s # Converting '𐳘' => '𐲘' (line 2958) 993s # Converting '𐳙' => '𐲙' (line 2959) 993s # Converting '𐳚' => '𐲚' (line 2960) 993s # Converting '𐳛' => '𐲛' (line 2961) 993s # Converting '𐳜' => '𐲜' (line 2962) 993s # Converting '𐳝' => '𐲝' (line 2963) 993s # Converting '𐳞' => '𐲞' (line 2964) 993s # Converting '𐳟' => '𐲟' (line 2965) 993s # Converting '𐳠' => '𐲠' (line 2966) 993s # Converting '𐳡' => '𐲡' (line 2967) 993s # Converting '𐳢' => '𐲢' (line 2968) 993s # Converting '𐳣' => '𐲣' (line 2969) 993s # Converting '𐳤' => '𐲤' (line 2970) 993s # Converting '𐳥' => '𐲥' (line 2971) 993s # Converting '𐳦' => '𐲦' (line 2972) 993s # Converting '𐳧' => '𐲧' (line 2973) 993s # Converting '𐳨' => '𐲨' (line 2974) 993s # Converting '𐳩' => '𐲩' (line 2975) 993s # Converting '𐳪' => '𐲪' (line 2976) 993s # Converting '𐳫' => '𐲫' (line 2977) 993s # Converting '𐳬' => '𐲬' (line 2978) 993s # Converting '𐳭' => '𐲭' (line 2979) 993s # Converting '𐳮' => '𐲮' (line 2980) 993s # Converting '𐳯' => '𐲯' (line 2981) 993s # Converting '𐳰' => '𐲰' (line 2982) 993s # Converting '𐳱' => '𐲱' (line 2983) 993s # Converting '𐳲' => '𐲲' (line 2984) 993s # Converting '𐵐' => '𐵐' (line 2985) 993s # Converting '𐵑' => '𐵑' (line 2986) 993s # Converting '𐵒' => '𐵒' (line 2987) 993s # Converting '𐵓' => '𐵓' (line 2988) 993s # Converting '𐵔' => '𐵔' (line 2989) 993s # Converting '𐵕' => '𐵕' (line 2990) 993s # Converting '𐵖' => '𐵖' (line 2991) 993s # Converting '𐵗' => '𐵗' (line 2992) 993s # Converting '𐵘' => '𐵘' (line 2993) 993s # Converting '𐵙' => '𐵙' (line 2994) 993s # Converting '𐵚' => '𐵚' (line 2995) 993s # Converting '𐵛' => '𐵛' (line 2996) 993s # Converting '𐵜' => '𐵜' (line 2997) 993s # Converting '𐵝' => '𐵝' (line 2998) 993s # Converting '𐵞' => '𐵞' (line 2999) 993s # Converting '𐵟' => '𐵟' (line 3000) 993s # Converting '𐵠' => '𐵠' (line 3001) 993s # Converting '𐵡' => '𐵡' (line 3002) 993s # Converting '𐵢' => '𐵢' (line 3003) 993s # Converting '𐵣' => '𐵣' (line 3004) 993s # Converting '𐵤' => '𐵤' (line 3005) 993s # Converting '𐵥' => '𐵥' (line 3006) 993s # Converting '𐵰' => '𐵐' (line 3007) 993s # Converting '𐵱' => '𐵑' (line 3008) 993s # Converting '𐵲' => '𐵒' (line 3009) 993s # Converting '𐵳' => '𐵓' (line 3010) 993s # Converting '𐵴' => '𐵔' (line 3011) 993s # Converting '𐵵' => '𐵕' (line 3012) 993s # Converting '𐵶' => '𐵖' (line 3013) 993s # Converting '𐵷' => '𐵗' (line 3014) 993s # Converting '𐵸' => '𐵘' (line 3015) 993s # Converting '𐵹' => '𐵙' (line 3016) 993s # Converting '𐵺' => '𐵚' (line 3017) 993s # Converting '𐵻' => '𐵛' (line 3018) 993s # Converting '𐵼' => '𐵜' (line 3019) 993s # Converting '𐵽' => '𐵝' (line 3020) 993s # Converting '𐵾' => '𐵞' (line 3021) 993s # Converting '𐵿' => '𐵟' (line 3022) 993s # Converting '𐶀' => '𐵠' (line 3023) 993s # Converting '𐶁' => '𐵡' (line 3024) 993s # Converting '𐶂' => '𐵢' (line 3025) 993s # Converting '𐶃' => '𐵣' (line 3026) 993s # Converting '𐶄' => '𐵤' (line 3027) 993s # Converting '𐶅' => '𐵥' (line 3028) 993s # Converting '𑢠' => '𑢠' (line 3029) 993s # Converting '𑢡' => '𑢡' (line 3030) 993s # Converting '𑢢' => '𑢢' (line 3031) 993s # Converting '𑢣' => '𑢣' (line 3032) 993s # Converting '𑢤' => '𑢤' (line 3033) 993s # Converting '𑢥' => '𑢥' (line 3034) 993s # Converting '𑢦' => '𑢦' (line 3035) 993s # Converting '𑢧' => '𑢧' (line 3036) 993s # Converting '𑢨' => '𑢨' (line 3037) 993s # Converting '𑢩' => '𑢩' (line 3038) 993s # Converting '𑢪' => '𑢪' (line 3039) 993s # Converting '𑢫' => '𑢫' (line 3040) 993s # Converting '𑢬' => '𑢬' (line 3041) 993s # Converting '𑢭' => '𑢭' (line 3042) 993s # Converting '𑢮' => '𑢮' (line 3043) 993s # Converting '𑢯' => '𑢯' (line 3044) 993s # Converting '𑢰' => '𑢰' (line 3045) 993s # Converting '𑢱' => '𑢱' (line 3046) 993s # Converting '𑢲' => '𑢲' (line 3047) 993s # Converting '𑢳' => '𑢳' (line 3048) 993s # Converting '𑢴' => '𑢴' (line 3049) 993s # Converting '𑢵' => '𑢵' (line 3050) 993s # Converting '𑢶' => '𑢶' (line 3051) 993s # Converting '𑢷' => '𑢷' (line 3052) 993s # Converting '𑢸' => '𑢸' (line 3053) 993s # Converting '𑢹' => '𑢹' (line 3054) 993s # Converting '𑢺' => '𑢺' (line 3055) 993s # Converting '𑢻' => '𑢻' (line 3056) 993s # Converting '𑢼' => '𑢼' (line 3057) 993s # Converting '𑢽' => '𑢽' (line 3058) 993s # Converting '𑢾' => '𑢾' (line 3059) 993s # Converting '𑢿' => '𑢿' (line 3060) 993s # Converting '𑣀' => '𑢠' (line 3061) 993s # Converting '𑣁' => '𑢡' (line 3062) 993s # Converting '𑣂' => '𑢢' (line 3063) 993s # Converting '𑣃' => '𑢣' (line 3064) 993s # Converting '𑣄' => '𑢤' (line 3065) 993s # Converting '𑣅' => '𑢥' (line 3066) 993s # Converting '𑣆' => '𑢦' (line 3067) 993s # Converting '𑣇' => '𑢧' (line 3068) 993s # Converting '𑣈' => '𑢨' (line 3069) 993s # Converting '𑣉' => '𑢩' (line 3070) 993s # Converting '𑣊' => '𑢪' (line 3071) 993s # Converting '𑣋' => '𑢫' (line 3072) 993s # Converting '𑣌' => '𑢬' (line 3073) 993s # Converting '𑣍' => '𑢭' (line 3074) 993s # Converting '𑣎' => '𑢮' (line 3075) 993s # Converting '𑣏' => '𑢯' (line 3076) 993s # Converting '𑣐' => '𑢰' (line 3077) 993s # Converting '𑣑' => '𑢱' (line 3078) 993s # Converting '𑣒' => '𑢲' (line 3079) 993s # Converting '𑣓' => '𑢳' (line 3080) 993s # Converting '𑣔' => '𑢴' (line 3081) 993s # Converting '𑣕' => '𑢵' (line 3082) 993s # Converting '𑣖' => '𑢶' (line 3083) 993s # Converting '𑣗' => '𑢷' (line 3084) 993s # Converting '𑣘' => '𑢸' (line 3085) 993s # Converting '𑣙' => '𑢹' (line 3086) 993s # Converting '𑣚' => '𑢺' (line 3087) 993s # Converting '𑣛' => '𑢻' (line 3088) 993s # Converting '𑣜' => '𑢼' (line 3089) 993s # Converting '𑣝' => '𑢽' (line 3090) 993s # Converting '𑣞' => '𑢾' (line 3091) 993s # Converting '𑣟' => '𑢿' (line 3092) 993s # Converting '𖹀' => '𖹀' (line 3093) 993s # Converting '𖹁' => '𖹁' (line 3094) 993s # Converting '𖹂' => '𖹂' (line 3095) 993s # Converting '𖹃' => '𖹃' (line 3096) 993s # Converting '𖹄' => '𖹄' (line 3097) 993s # Converting '𖹅' => '𖹅' (line 3098) 993s # Converting '𖹆' => '𖹆' (line 3099) 993s # Converting '𖹇' => '𖹇' (line 3100) 993s # Converting '𖹈' => '𖹈' (line 3101) 993s # Converting '𖹉' => '𖹉' (line 3102) 993s # Converting '𖹊' => '𖹊' (line 3103) 993s # Converting '𖹋' => '𖹋' (line 3104) 993s # Converting '𖹌' => '𖹌' (line 3105) 993s # Converting '𖹍' => '𖹍' (line 3106) 993s # Converting '𖹎' => '𖹎' (line 3107) 993s # Converting '𖹏' => '𖹏' (line 3108) 993s # Converting '𖹐' => '𖹐' (line 3109) 993s # Converting '𖹑' => '𖹑' (line 3110) 993s # Converting '𖹒' => '𖹒' (line 3111) 993s # Converting '𖹓' => '𖹓' (line 3112) 993s # Converting '𖹔' => '𖹔' (line 3113) 993s # Converting '𖹕' => '𖹕' (line 3114) 993s # Converting '𖹖' => '𖹖' (line 3115) 993s # Converting '𖹗' => '𖹗' (line 3116) 993s # Converting '𖹘' => '𖹘' (line 3117) 993s # Converting '𖹙' => '𖹙' (line 3118) 993s # Converting '𖹚' => '𖹚' (line 3119) 993s # Converting '𖹛' => '𖹛' (line 3120) 993s # Converting '𖹜' => '𖹜' (line 3121) 993s # Converting '𖹝' => '𖹝' (line 3122) 993s # Converting '𖹞' => '𖹞' (line 3123) 993s # Converting '𖹟' => '𖹟' (line 3124) 993s # Converting '𖹠' => '𖹀' (line 3125) 993s # Converting '𖹡' => '𖹁' (line 3126) 993s # Converting '𖹢' => '𖹂' (line 3127) 993s # Converting '𖹣' => '𖹃' (line 3128) 993s # Converting '𖹤' => '𖹄' (line 3129) 993s # Converting '𖹥' => '𖹅' (line 3130) 993s # Converting '𖹦' => '𖹆' (line 3131) 993s # Converting '𖹧' => '𖹇' (line 3132) 993s # Converting '𖹨' => '𖹈' (line 3133) 993s # Converting '𖹩' => '𖹉' (line 3134) 993s # Converting '𖹪' => '𖹊' (line 3135) 993s # Converting '𖹫' => '𖹋' (line 3136) 993s # Converting '𖹬' => '𖹌' (line 3137) 993s # Converting '𖹭' => '𖹍' (line 3138) 993s # Converting '𖹮' => '𖹎' (line 3139) 993s # Converting '𖹯' => '𖹏' (line 3140) 993s # Converting '𖹰' => '𖹐' (line 3141) 993s # Converting '𖹱' => '𖹑' (line 3142) 993s # Converting '𖹲' => '𖹒' (line 3143) 993s # Converting '𖹳' => '𖹓' (line 3144) 993s # Converting '𖹴' => '𖹔' (line 3145) 993s # Converting '𖹵' => '𖹕' (line 3146) 993s # Converting '𖹶' => '𖹖' (line 3147) 993s # Converting '𖹷' => '𖹗' (line 3148) 993s # Converting '𖹸' => '𖹘' (line 3149) 993s # Converting '𖹹' => '𖹙' (line 3150) 993s # Converting '𖹺' => '𖹚' (line 3151) 993s # Converting '𖹻' => '𖹛' (line 3152) 993s # Converting '𖹼' => '𖹜' (line 3153) 993s # Converting '𖹽' => '𖹝' (line 3154) 993s # Converting '𖹾' => '𖹞' (line 3155) 993s # Converting '𖹿' => '𖹟' (line 3156) 993s # Converting '𖺠' => '𖺠' (line 3157) 993s # Converting '𖺡' => '𖺡' (line 3158) 993s # Converting '𖺢' => '𖺢' (line 3159) 993s # Converting '𖺣' => '𖺣' (line 3160) 993s # Converting '𖺤' => '𖺤' (line 3161) 993s # Converting '𖺥' => '𖺥' (line 3162) 993s # Converting '𖺦' => '𖺦' (line 3163) 993s # Converting '𖺧' => '𖺧' (line 3164) 993s # Converting '𖺨' => '𖺨' (line 3165) 993s # Converting '𖺩' => '𖺩' (line 3166) 993s # Converting '𖺪' => '𖺪' (line 3167) 993s # Converting '𖺫' => '𖺫' (line 3168) 993s # Converting '𖺬' => '𖺬' (line 3169) 993s # Converting '𖺭' => '𖺭' (line 3170) 993s # Converting '𖺮' => '𖺮' (line 3171) 993s # Converting '𖺯' => '𖺯' (line 3172) 993s # Converting '𖺰' => '𖺰' (line 3173) 993s # Converting '𖺱' => '𖺱' (line 3174) 993s # Converting '𖺲' => '𖺲' (line 3175) 993s # Converting '𖺳' => '𖺳' (line 3176) 993s # Converting '𖺴' => '𖺴' (line 3177) 993s # Converting '𖺵' => '𖺵' (line 3178) 993s # Converting '𖺶' => '𖺶' (line 3179) 993s # Converting '𖺷' => '𖺷' (line 3180) 993s # Converting '𖺸' => '𖺸' (line 3181) 993s # Converting '𖺻' => '𖺠' (line 3182) 993s # Converting '𖺼' => '𖺡' (line 3183) 993s # Converting '𖺽' => '𖺢' (line 3184) 993s # Converting '𖺾' => '𖺣' (line 3185) 993s # Converting '𖺿' => '𖺤' (line 3186) 993s # Converting '𖻀' => '𖺥' (line 3187) 993s # Converting '𖻁' => '𖺦' (line 3188) 993s # Converting '𖻂' => '𖺧' (line 3189) 993s # Converting '𖻃' => '𖺨' (line 3190) 993s # Converting '𖻄' => '𖺩' (line 3191) 993s # Converting '𖻅' => '𖺪' (line 3192) 993s # Converting '𖻆' => '𖺫' (line 3193) 993s # Converting '𖻇' => '𖺬' (line 3194) 993s # Converting '𖻈' => '𖺭' (line 3195) 993s # Converting '𖻉' => '𖺮' (line 3196) 993s # Converting '𖻊' => '𖺯' (line 3197) 993s # Converting '𖻋' => '𖺰' (line 3198) 993s # Converting '𖻌' => '𖺱' (line 3199) 993s # Converting '𖻍' => '𖺲' (line 3200) 993s # Converting '𖻎' => '𖺳' (line 3201) 993s # Converting '𖻏' => '𖺴' (line 3202) 993s # Converting '𖻐' => '𖺵' (line 3203) 993s # Converting '𖻑' => '𖺶' (line 3204) 993s # Converting '𖻒' => '𖺷' (line 3205) 993s # Converting '𖻓' => '𖺸' (line 3206) 993s # Converting '𝐀' => '𝐀' (line 3207) 993s # Converting '𝐁' => '𝐁' (line 3208) 993s # Converting '𝐂' => '𝐂' (line 3209) 993s # Converting '𝐃' => '𝐃' (line 3210) 993s # Converting '𝐄' => '𝐄' (line 3211) 993s # Converting '𝐅' => '𝐅' (line 3212) 993s # Converting '𝐆' => '𝐆' (line 3213) 993s # Converting '𝐇' => '𝐇' (line 3214) 993s # Converting '𝐈' => '𝐈' (line 3215) 993s # Converting '𝐉' => '𝐉' (line 3216) 993s # Converting '𝐊' => '𝐊' (line 3217) 993s # Converting '𝐋' => '𝐋' (line 3218) 993s # Converting '𝐌' => '𝐌' (line 3219) 993s # Converting '𝐍' => '𝐍' (line 3220) 993s # Converting '𝐎' => '𝐎' (line 3221) 993s # Converting '𝐏' => '𝐏' (line 3222) 993s # Converting '𝐐' => '𝐐' (line 3223) 993s # Converting '𝐑' => '𝐑' (line 3224) 993s # Converting '𝐒' => '𝐒' (line 3225) 993s # Converting '𝐓' => '𝐓' (line 3226) 993s # Converting '𝐔' => '𝐔' (line 3227) 993s # Converting '𝐕' => '𝐕' (line 3228) 993s # Converting '𝐖' => '𝐖' (line 3229) 993s # Converting '𝐗' => '𝐗' (line 3230) 993s # Converting '𝐘' => '𝐘' (line 3231) 993s # Converting '𝐙' => '𝐙' (line 3232) 993s # Converting '𝐚' => '𝐚' (line 3233) 993s # Converting '𝐛' => '𝐛' (line 3234) 993s # Converting '𝐜' => '𝐜' (line 3235) 993s # Converting '𝐝' => '𝐝' (line 3236) 993s # Converting '𝐞' => '𝐞' (line 3237) 993s # Converting '𝐟' => '𝐟' (line 3238) 993s # Converting '𝐠' => '𝐠' (line 3239) 993s # Converting '𝐡' => '𝐡' (line 3240) 993s # Converting '𝐢' => '𝐢' (line 3241) 993s # Converting '𝐣' => '𝐣' (line 3242) 993s # Converting '𝐤' => '𝐤' (line 3243) 993s # Converting '𝐥' => '𝐥' (line 3244) 993s # Converting '𝐦' => '𝐦' (line 3245) 993s # Converting '𝐧' => '𝐧' (line 3246) 993s # Converting '𝐨' => '𝐨' (line 3247) 993s # Converting '𝐩' => '𝐩' (line 3248) 993s # Converting '𝐪' => '𝐪' (line 3249) 993s # Converting '𝐫' => '𝐫' (line 3250) 993s # Converting '𝐬' => '𝐬' (line 3251) 993s # Converting '𝐭' => '𝐭' (line 3252) 993s # Converting '𝐮' => '𝐮' (line 3253) 993s # Converting '𝐯' => '𝐯' (line 3254) 993s # Converting '𝐰' => '𝐰' (line 3255) 993s # Converting '𝐱' => '𝐱' (line 3256) 993s # Converting '𝐲' => '𝐲' (line 3257) 993s # Converting '𝐳' => '𝐳' (line 3258) 993s # Converting '𝐴' => '𝐴' (line 3259) 993s # Converting '𝐵' => '𝐵' (line 3260) 993s # Converting '𝐶' => '𝐶' (line 3261) 993s # Converting '𝐷' => '𝐷' (line 3262) 993s # Converting '𝐸' => '𝐸' (line 3263) 993s # Converting '𝐹' => '𝐹' (line 3264) 993s # Converting '𝐺' => '𝐺' (line 3265) 993s # Converting '𝐻' => '𝐻' (line 3266) 993s # Converting '𝐼' => '𝐼' (line 3267) 993s # Converting '𝐽' => '𝐽' (line 3268) 993s # Converting '𝐾' => '𝐾' (line 3269) 993s # Converting '𝐿' => '𝐿' (line 3270) 993s # Converting '𝑀' => '𝑀' (line 3271) 993s # Converting '𝑁' => '𝑁' (line 3272) 993s # Converting '𝑂' => '𝑂' (line 3273) 993s # Converting '𝑃' => '𝑃' (line 3274) 993s # Converting '𝑄' => '𝑄' (line 3275) 993s # Converting '𝑅' => '𝑅' (line 3276) 993s # Converting '𝑆' => '𝑆' (line 3277) 993s # Converting '𝑇' => '𝑇' (line 3278) 993s # Converting '𝑈' => '𝑈' (line 3279) 993s # Converting '𝑉' => '𝑉' (line 3280) 993s # Converting '𝑊' => '𝑊' (line 3281) 993s # Converting '𝑋' => '𝑋' (line 3282) 993s # Converting '𝑌' => '𝑌' (line 3283) 993s # Converting '𝑍' => '𝑍' (line 3284) 993s # Converting '𝑎' => '𝑎' (line 3285) 993s # Converting '𝑏' => '𝑏' (line 3286) 993s # Converting '𝑐' => '𝑐' (line 3287) 993s # Converting '𝑑' => '𝑑' (line 3288) 993s # Converting '𝑒' => '𝑒' (line 3289) 993s # Converting '𝑓' => '𝑓' (line 3290) 993s # Converting '𝑔' => '𝑔' (line 3291) 993s # Converting '𝑖' => '𝑖' (line 3292) 993s # Converting '𝑗' => '𝑗' (line 3293) 993s # Converting '𝑘' => '𝑘' (line 3294) 993s # Converting '𝑙' => '𝑙' (line 3295) 993s # Converting '𝑚' => '𝑚' (line 3296) 993s # Converting '𝑛' => '𝑛' (line 3297) 993s # Converting '𝑜' => '𝑜' (line 3298) 993s # Converting '𝑝' => '𝑝' (line 3299) 993s # Converting '𝑞' => '𝑞' (line 3300) 993s # Converting '𝑟' => '𝑟' (line 3301) 993s # Converting '𝑠' => '𝑠' (line 3302) 993s # Converting '𝑡' => '𝑡' (line 3303) 993s # Converting '𝑢' => '𝑢' (line 3304) 993s # Converting '𝑣' => '𝑣' (line 3305) 993s # Converting '𝑤' => '𝑤' (line 3306) 993s # Converting '𝑥' => '𝑥' (line 3307) 993s # Converting '𝑦' => '𝑦' (line 3308) 993s # Converting '𝑧' => '𝑧' (line 3309) 993s # Converting '𝑨' => '𝑨' (line 3310) 993s # Converting '𝑩' => '𝑩' (line 3311) 993s # Converting '𝑪' => '𝑪' (line 3312) 993s # Converting '𝑫' => '𝑫' (line 3313) 993s # Converting '𝑬' => '𝑬' (line 3314) 993s # Converting '𝑭' => '𝑭' (line 3315) 993s # Converting '𝑮' => '𝑮' (line 3316) 993s # Converting '𝑯' => '𝑯' (line 3317) 993s # Converting '𝑰' => '𝑰' (line 3318) 993s # Converting '𝑱' => '𝑱' (line 3319) 993s # Converting '𝑲' => '𝑲' (line 3320) 993s # Converting '𝑳' => '𝑳' (line 3321) 993s # Converting '𝑴' => '𝑴' (line 3322) 993s # Converting '𝑵' => '𝑵' (line 3323) 993s # Converting '𝑶' => '𝑶' (line 3324) 993s # Converting '𝑷' => '𝑷' (line 3325) 993s # Converting '𝑸' => '𝑸' (line 3326) 993s # Converting '𝑹' => '𝑹' (line 3327) 993s # Converting '𝑺' => '𝑺' (line 3328) 993s # Converting '𝑻' => '𝑻' (line 3329) 993s # Converting '𝑼' => '𝑼' (line 3330) 993s # Converting '𝑽' => '𝑽' (line 3331) 993s # Converting '𝑾' => '𝑾' (line 3332) 993s # Converting '𝑿' => '𝑿' (line 3333) 993s # Converting '𝒀' => '𝒀' (line 3334) 993s # Converting '𝒁' => '𝒁' (line 3335) 993s # Converting '𝒂' => '𝒂' (line 3336) 993s # Converting '𝒃' => '𝒃' (line 3337) 993s # Converting '𝒄' => '𝒄' (line 3338) 993s # Converting '𝒅' => '𝒅' (line 3339) 993s # Converting '𝒆' => '𝒆' (line 3340) 993s # Converting '𝒇' => '𝒇' (line 3341) 993s # Converting '𝒈' => '𝒈' (line 3342) 993s # Converting '𝒉' => '𝒉' (line 3343) 993s # Converting '𝒊' => '𝒊' (line 3344) 993s # Converting '𝒋' => '𝒋' (line 3345) 993s # Converting '𝒌' => '𝒌' (line 3346) 993s # Converting '𝒍' => '𝒍' (line 3347) 993s # Converting '𝒎' => '𝒎' (line 3348) 993s # Converting '𝒏' => '𝒏' (line 3349) 993s # Converting '𝒐' => '𝒐' (line 3350) 993s # Converting '𝒑' => '𝒑' (line 3351) 993s # Converting '𝒒' => '𝒒' (line 3352) 993s # Converting '𝒓' => '𝒓' (line 3353) 993s # Converting '𝒔' => '𝒔' (line 3354) 993s # Converting '𝒕' => '𝒕' (line 3355) 993s # Converting '𝒖' => '𝒖' (line 3356) 993s # Converting '𝒗' => '𝒗' (line 3357) 993s # Converting '𝒘' => '𝒘' (line 3358) 993s # Converting '𝒙' => '𝒙' (line 3359) 993s # Converting '𝒚' => '𝒚' (line 3360) 993s # Converting '𝒛' => '𝒛' (line 3361) 993s # Converting '𝒜' => '𝒜' (line 3362) 993s # Converting '𝒞' => '𝒞' (line 3363) 993s # Converting '𝒟' => '𝒟' (line 3364) 993s # Converting '𝒢' => '𝒢' (line 3365) 993s # Converting '𝒥' => '𝒥' (line 3366) 993s # Converting '𝒦' => '𝒦' (line 3367) 993s # Converting '𝒩' => '𝒩' (line 3368) 993s # Converting '𝒪' => '𝒪' (line 3369) 993s # Converting '𝒫' => '𝒫' (line 3370) 993s # Converting '𝒬' => '𝒬' (line 3371) 993s # Converting '𝒮' => '𝒮' (line 3372) 993s # Converting '𝒯' => '𝒯' (line 3373) 993s # Converting '𝒰' => '𝒰' (line 3374) 993s # Converting '𝒱' => '𝒱' (line 3375) 993s # Converting '𝒲' => '𝒲' (line 3376) 993s # Converting '𝒳' => '𝒳' (line 3377) 993s # Converting '𝒴' => '𝒴' (line 3378) 993s # Converting '𝒵' => '𝒵' (line 3379) 993s # Converting '𝒶' => '𝒶' (line 3380) 993s # Converting '𝒷' => '𝒷' (line 3381) 993s # Converting '𝒸' => '𝒸' (line 3382) 993s # Converting '𝒹' => '𝒹' (line 3383) 993s # Converting '𝒻' => '𝒻' (line 3384) 993s # Converting '𝒽' => '𝒽' (line 3385) 993s # Converting '𝒾' => '𝒾' (line 3386) 993s # Converting '𝒿' => '𝒿' (line 3387) 993s # Converting '𝓀' => '𝓀' (line 3388) 993s # Converting '𝓁' => '𝓁' (line 3389) 993s # Converting '𝓂' => '𝓂' (line 3390) 993s # Converting '𝓃' => '𝓃' (line 3391) 993s # Converting '𝓅' => '𝓅' (line 3392) 993s # Converting '𝓆' => '𝓆' (line 3393) 993s # Converting '𝓇' => '𝓇' (line 3394) 993s # Converting '𝓈' => '𝓈' (line 3395) 993s # Converting '𝓉' => '𝓉' (line 3396) 993s # Converting '𝓊' => '𝓊' (line 3397) 993s # Converting '𝓋' => '𝓋' (line 3398) 993s # Converting '𝓌' => '𝓌' (line 3399) 993s # Converting '𝓍' => '𝓍' (line 3400) 993s # Converting '𝓎' => '𝓎' (line 3401) 993s # Converting '𝓏' => '𝓏' (line 3402) 993s # Converting '𝓐' => '𝓐' (line 3403) 993s # Converting '𝓑' => '𝓑' (line 3404) 993s # Converting '𝓒' => '𝓒' (line 3405) 993s # Converting '𝓓' => '𝓓' (line 3406) 993s # Converting '𝓔' => '𝓔' (line 3407) 993s # Converting '𝓕' => '𝓕' (line 3408) 993s # Converting '𝓖' => '𝓖' (line 3409) 993s # Converting '𝓗' => '𝓗' (line 3410) 993s # Converting '𝓘' => '𝓘' (line 3411) 993s # Converting '𝓙' => '𝓙' (line 3412) 993s # Converting '𝓚' => '𝓚' (line 3413) 993s # Converting '𝓛' => '𝓛' (line 3414) 993s # Converting '𝓜' => '𝓜' (line 3415) 993s # Converting '𝓝' => '𝓝' (line 3416) 993s # Converting '𝓞' => '𝓞' (line 3417) 993s # Converting '𝓟' => '𝓟' (line 3418) 993s # Converting '𝓠' => '𝓠' (line 3419) 993s # Converting '𝓡' => '𝓡' (line 3420) 993s # Converting '𝓢' => '𝓢' (line 3421) 993s # Converting '𝓣' => '𝓣' (line 3422) 993s # Converting '𝓤' => '𝓤' (line 3423) 993s # Converting '𝓥' => '𝓥' (line 3424) 993s # Converting '𝓦' => '𝓦' (line 3425) 993s # Converting '𝓧' => '𝓧' (line 3426) 993s # Converting '𝓨' => '𝓨' (line 3427) 993s # Converting '𝓩' => '𝓩' (line 3428) 993s # Converting '𝓪' => '𝓪' (line 3429) 993s # Converting '𝓫' => '𝓫' (line 3430) 993s # Converting '𝓬' => '𝓬' (line 3431) 993s # Converting '𝓭' => '𝓭' (line 3432) 993s # Converting '𝓮' => '𝓮' (line 3433) 993s # Converting '𝓯' => '𝓯' (line 3434) 993s # Converting '𝓰' => '𝓰' (line 3435) 993s # Converting '𝓱' => '𝓱' (line 3436) 993s # Converting '𝓲' => '𝓲' (line 3437) 993s # Converting '𝓳' => '𝓳' (line 3438) 993s # Converting '𝓴' => '𝓴' (line 3439) 993s # Converting '𝓵' => '𝓵' (line 3440) 993s # Converting '𝓶' => '𝓶' (line 3441) 993s # Converting '𝓷' => '𝓷' (line 3442) 993s # Converting '𝓸' => '𝓸' (line 3443) 993s # Converting '𝓹' => '𝓹' (line 3444) 993s # Converting '𝓺' => '𝓺' (line 3445) 993s # Converting '𝓻' => '𝓻' (line 3446) 993s # Converting '𝓼' => '𝓼' (line 3447) 993s # Converting '𝓽' => '𝓽' (line 3448) 993s # Converting '𝓾' => '𝓾' (line 3449) 993s # Converting '𝓿' => '𝓿' (line 3450) 993s # Converting '𝔀' => '𝔀' (line 3451) 993s # Converting '𝔁' => '𝔁' (line 3452) 993s # Converting '𝔂' => '𝔂' (line 3453) 993s # Converting '𝔃' => '𝔃' (line 3454) 993s # Converting '𝔄' => '𝔄' (line 3455) 993s # Converting '𝔅' => '𝔅' (line 3456) 993s # Converting '𝔇' => '𝔇' (line 3457) 993s # Converting '𝔈' => '𝔈' (line 3458) 993s # Converting '𝔉' => '𝔉' (line 3459) 993s # Converting '𝔊' => '𝔊' (line 3460) 993s # Converting '𝔍' => '𝔍' (line 3461) 993s # Converting '𝔎' => '𝔎' (line 3462) 993s # Converting '𝔏' => '𝔏' (line 3463) 993s # Converting '𝔐' => '𝔐' (line 3464) 993s # Converting '𝔑' => '𝔑' (line 3465) 993s # Converting '𝔒' => '𝔒' (line 3466) 993s # Converting '𝔓' => '𝔓' (line 3467) 993s # Converting '𝔔' => '𝔔' (line 3468) 993s # Converting '𝔖' => '𝔖' (line 3469) 993s # Converting '𝔗' => '𝔗' (line 3470) 993s # Converting '𝔘' => '𝔘' (line 3471) 993s # Converting '𝔙' => '𝔙' (line 3472) 993s # Converting '𝔚' => '𝔚' (line 3473) 993s # Converting '𝔛' => '𝔛' (line 3474) 993s # Converting '𝔜' => '𝔜' (line 3475) 993s # Converting '𝔞' => '𝔞' (line 3476) 993s # Converting '𝔟' => '𝔟' (line 3477) 993s # Converting '𝔠' => '𝔠' (line 3478) 993s # Converting '𝔡' => '𝔡' (line 3479) 993s # Converting '𝔢' => '𝔢' (line 3480) 993s # Converting '𝔣' => '𝔣' (line 3481) 993s # Converting '𝔤' => '𝔤' (line 3482) 993s # Converting '𝔥' => '𝔥' (line 3483) 993s # Converting '𝔦' => '𝔦' (line 3484) 993s # Converting '𝔧' => '𝔧' (line 3485) 993s # Converting '𝔨' => '𝔨' (line 3486) 993s # Converting '𝔩' => '𝔩' (line 3487) 993s # Converting '𝔪' => '𝔪' (line 3488) 993s # Converting '𝔫' => '𝔫' (line 3489) 993s # Converting '𝔬' => '𝔬' (line 3490) 993s # Converting '𝔭' => '𝔭' (line 3491) 993s # Converting '𝔮' => '𝔮' (line 3492) 993s # Converting '𝔯' => '𝔯' (line 3493) 993s # Converting '𝔰' => '𝔰' (line 3494) 993s # Converting '𝔱' => '𝔱' (line 3495) 993s # Converting '𝔲' => '𝔲' (line 3496) 993s # Converting '𝔳' => '𝔳' (line 3497) 993s # Converting '𝔴' => '𝔴' (line 3498) 993s # Converting '𝔵' => '𝔵' (line 3499) 993s # Converting '𝔶' => '𝔶' (line 3500) 993s # Converting '𝔷' => '𝔷' (line 3501) 993s # Converting '𝔸' => '𝔸' (line 3502) 993s # Converting '𝔹' => '𝔹' (line 3503) 993s # Converting '𝔻' => '𝔻' (line 3504) 993s # Converting '𝔼' => '𝔼' (line 3505) 993s # Converting '𝔽' => '𝔽' (line 3506) 993s # Converting '𝔾' => '𝔾' (line 3507) 993s # Converting '𝕀' => '𝕀' (line 3508) 993s # Converting '𝕁' => '𝕁' (line 3509) 993s # Converting '𝕂' => '𝕂' (line 3510) 993s # Converting '𝕃' => '𝕃' (line 3511) 993s # Converting '𝕄' => '𝕄' (line 3512) 993s # Converting '𝕆' => '𝕆' (line 3513) 993s # Converting '𝕊' => '𝕊' (line 3514) 993s # Converting '𝕋' => '𝕋' (line 3515) 993s # Converting '𝕌' => '𝕌' (line 3516) 993s # Converting '𝕍' => '𝕍' (line 3517) 993s # Converting '𝕎' => '𝕎' (line 3518) 993s # Converting '𝕏' => '𝕏' (line 3519) 993s # Converting '𝕐' => '𝕐' (line 3520) 993s # Converting '𝕒' => '𝕒' (line 3521) 993s # Converting '𝕓' => '𝕓' (line 3522) 993s # Converting '𝕔' => '𝕔' (line 3523) 993s # Converting '𝕕' => '𝕕' (line 3524) 993s # Converting '𝕖' => '𝕖' (line 3525) 993s # Converting '𝕗' => '𝕗' (line 3526) 993s # Converting '𝕘' => '𝕘' (line 3527) 993s # Converting '𝕙' => '𝕙' (line 3528) 993s # Converting '𝕚' => '𝕚' (line 3529) 993s # Converting '𝕛' => '𝕛' (line 3530) 993s # Converting '𝕜' => '𝕜' (line 3531) 993s # Converting '𝕝' => '𝕝' (line 3532) 993s # Converting '𝕞' => '𝕞' (line 3533) 993s # Converting '𝕟' => '𝕟' (line 3534) 993s # Converting '𝕠' => '𝕠' (line 3535) 993s # Converting '𝕡' => '𝕡' (line 3536) 993s # Converting '𝕢' => '𝕢' (line 3537) 993s # Converting '𝕣' => '𝕣' (line 3538) 993s # Converting '𝕤' => '𝕤' (line 3539) 993s # Converting '𝕥' => '𝕥' (line 3540) 993s # Converting '𝕦' => '𝕦' (line 3541) 993s # Converting '𝕧' => '𝕧' (line 3542) 993s # Converting '𝕨' => '𝕨' (line 3543) 993s # Converting '𝕩' => '𝕩' (line 3544) 993s # Converting '𝕪' => '𝕪' (line 3545) 993s # Converting '𝕫' => '𝕫' (line 3546) 993s # Converting '𝕬' => '𝕬' (line 3547) 993s # Converting '𝕭' => '𝕭' (line 3548) 993s # Converting '𝕮' => '𝕮' (line 3549) 993s # Converting '𝕯' => '𝕯' (line 3550) 993s # Converting '𝕰' => '𝕰' (line 3551) 993s # Converting '𝕱' => '𝕱' (line 3552) 993s # Converting '𝕲' => '𝕲' (line 3553) 993s # Converting '𝕳' => '𝕳' (line 3554) 993s # Converting '𝕴' => '𝕴' (line 3555) 993s # Converting '𝕵' => '𝕵' (line 3556) 993s # Converting '𝕶' => '𝕶' (line 3557) 993s # Converting '𝕷' => '𝕷' (line 3558) 993s # Converting '𝕸' => '𝕸' (line 3559) 993s # Converting '𝕹' => '𝕹' (line 3560) 993s # Converting '𝕺' => '𝕺' (line 3561) 993s # Converting '𝕻' => '𝕻' (line 3562) 993s # Converting '𝕼' => '𝕼' (line 3563) 993s # Converting '𝕽' => '𝕽' (line 3564) 993s # Converting '𝕾' => '𝕾' (line 3565) 993s # Converting '𝕿' => '𝕿' (line 3566) 993s # Converting '𝖀' => '𝖀' (line 3567) 993s # Converting '𝖁' => '𝖁' (line 3568) 993s # Converting '𝖂' => '𝖂' (line 3569) 993s # Converting '𝖃' => '𝖃' (line 3570) 993s # Converting '𝖄' => '𝖄' (line 3571) 993s # Converting '𝖅' => '𝖅' (line 3572) 993s # Converting '𝖆' => '𝖆' (line 3573) 993s # Converting '𝖇' => '𝖇' (line 3574) 993s # Converting '𝖈' => '𝖈' (line 3575) 993s # Converting '𝖉' => '𝖉' (line 3576) 993s # Converting '𝖊' => '𝖊' (line 3577) 993s # Converting '𝖋' => '𝖋' (line 3578) 993s # Converting '𝖌' => '𝖌' (line 3579) 993s # Converting '𝖍' => '𝖍' (line 3580) 993s # Converting '𝖎' => '𝖎' (line 3581) 993s # Converting '𝖏' => '𝖏' (line 3582) 993s # Converting '𝖐' => '𝖐' (line 3583) 993s # Converting '𝖑' => '𝖑' (line 3584) 993s # Converting '𝖒' => '𝖒' (line 3585) 993s # Converting '𝖓' => '𝖓' (line 3586) 993s # Converting '𝖔' => '𝖔' (line 3587) 993s # Converting '𝖕' => '𝖕' (line 3588) 993s # Converting '𝖖' => '𝖖' (line 3589) 993s # Converting '𝖗' => '𝖗' (line 3590) 993s # Converting '𝖘' => '𝖘' (line 3591) 993s # Converting '𝖙' => '𝖙' (line 3592) 993s # Converting '𝖚' => '𝖚' (line 3593) 993s # Converting '𝖛' => '𝖛' (line 3594) 993s # Converting '𝖜' => '𝖜' (line 3595) 993s # Converting '𝖝' => '𝖝' (line 3596) 993s # Converting '𝖞' => '𝖞' (line 3597) 993s # Converting '𝖟' => '𝖟' (line 3598) 993s # Converting '𝖠' => '𝖠' (line 3599) 993s # Converting '𝖡' => '𝖡' (line 3600) 993s # Converting '𝖢' => '𝖢' (line 3601) 993s # Converting '𝖣' => '𝖣' (line 3602) 993s # Converting '𝖤' => '𝖤' (line 3603) 993s # Converting '𝖥' => '𝖥' (line 3604) 993s # Converting '𝖦' => '𝖦' (line 3605) 993s # Converting '𝖧' => '𝖧' (line 3606) 993s # Converting '𝖨' => '𝖨' (line 3607) 993s # Converting '𝖩' => '𝖩' (line 3608) 993s # Converting '𝖪' => '𝖪' (line 3609) 993s # Converting '𝖫' => '𝖫' (line 3610) 993s # Converting '𝖬' => '𝖬' (line 3611) 993s # Converting '𝖭' => '𝖭' (line 3612) 993s # Converting '𝖮' => '𝖮' (line 3613) 993s # Converting '𝖯' => '𝖯' (line 3614) 993s # Converting '𝖰' => '𝖰' (line 3615) 993s # Converting '𝖱' => '𝖱' (line 3616) 993s # Converting '𝖲' => '𝖲' (line 3617) 993s # Converting '𝖳' => '𝖳' (line 3618) 993s # Converting '𝖴' => '𝖴' (line 3619) 993s # Converting '𝖵' => '𝖵' (line 3620) 993s # Converting '𝖶' => '𝖶' (line 3621) 993s # Converting '𝖷' => '𝖷' (line 3622) 993s # Converting '𝖸' => '𝖸' (line 3623) 993s # Converting '𝖹' => '𝖹' (line 3624) 993s # Converting '𝖺' => '𝖺' (line 3625) 993s # Converting '𝖻' => '𝖻' (line 3626) 993s # Converting '𝖼' => '𝖼' (line 3627) 993s # Converting '𝖽' => '𝖽' (line 3628) 993s # Converting '𝖾' => '𝖾' (line 3629) 993s # Converting '𝖿' => '𝖿' (line 3630) 993s # Converting '𝗀' => '𝗀' (line 3631) 993s # Converting '𝗁' => '𝗁' (line 3632) 993s # Converting '𝗂' => '𝗂' (line 3633) 993s # Converting '𝗃' => '𝗃' (line 3634) 993s # Converting '𝗄' => '𝗄' (line 3635) 993s # Converting '𝗅' => '𝗅' (line 3636) 993s # Converting '𝗆' => '𝗆' (line 3637) 993s # Converting '𝗇' => '𝗇' (line 3638) 993s # Converting '𝗈' => '𝗈' (line 3639) 993s # Converting '𝗉' => '𝗉' (line 3640) 993s # Converting '𝗊' => '𝗊' (line 3641) 993s # Converting '𝗋' => '𝗋' (line 3642) 993s # Converting '𝗌' => '𝗌' (line 3643) 993s # Converting '𝗍' => '𝗍' (line 3644) 993s # Converting '𝗎' => '𝗎' (line 3645) 993s # Converting '𝗏' => '𝗏' (line 3646) 993s # Converting '𝗐' => '𝗐' (line 3647) 993s # Converting '𝗑' => '𝗑' (line 3648) 993s # Converting '𝗒' => '𝗒' (line 3649) 993s # Converting '𝗓' => '𝗓' (line 3650) 993s # Converting '𝗔' => '𝗔' (line 3651) 993s # Converting '𝗕' => '𝗕' (line 3652) 993s # Converting '𝗖' => '𝗖' (line 3653) 993s # Converting '𝗗' => '𝗗' (line 3654) 993s # Converting '𝗘' => '𝗘' (line 3655) 993s # Converting '𝗙' => '𝗙' (line 3656) 993s # Converting '𝗚' => '𝗚' (line 3657) 993s # Converting '𝗛' => '𝗛' (line 3658) 993s # Converting '𝗜' => '𝗜' (line 3659) 993s # Converting '𝗝' => '𝗝' (line 3660) 993s # Converting '𝗞' => '𝗞' (line 3661) 993s # Converting '𝗟' => '𝗟' (line 3662) 993s # Converting '𝗠' => '𝗠' (line 3663) 993s # Converting '𝗡' => '𝗡' (line 3664) 993s # Converting '𝗢' => '𝗢' (line 3665) 993s # Converting '𝗣' => '𝗣' (line 3666) 993s # Converting '𝗤' => '𝗤' (line 3667) 993s # Converting '𝗥' => '𝗥' (line 3668) 993s # Converting '𝗦' => '𝗦' (line 3669) 993s # Converting '𝗧' => '𝗧' (line 3670) 993s # Converting '𝗨' => '𝗨' (line 3671) 993s # Converting '𝗩' => '𝗩' (line 3672) 993s # Converting '𝗪' => '𝗪' (line 3673) 993s # Converting '𝗫' => '𝗫' (line 3674) 993s # Converting '𝗬' => '𝗬' (line 3675) 993s # Converting '𝗭' => '𝗭' (line 3676) 993s # Converting '𝗮' => '𝗮' (line 3677) 993s # Converting '𝗯' => '𝗯' (line 3678) 993s # Converting '𝗰' => '𝗰' (line 3679) 993s # Converting '𝗱' => '𝗱' (line 3680) 993s # Converting '𝗲' => '𝗲' (line 3681) 993s # Converting '𝗳' => '𝗳' (line 3682) 993s # Converting '𝗴' => '𝗴' (line 3683) 993s # Converting '𝗵' => '𝗵' (line 3684) 993s # Converting '𝗶' => '𝗶' (line 3685) 993s # Converting '𝗷' => '𝗷' (line 3686) 993s # Converting '𝗸' => '𝗸' (line 3687) 993s # Converting '𝗹' => '𝗹' (line 3688) 993s # Converting '𝗺' => '𝗺' (line 3689) 993s # Converting '𝗻' => '𝗻' (line 3690) 993s # Converting '𝗼' => '𝗼' (line 3691) 993s # Converting '𝗽' => '𝗽' (line 3692) 993s # Converting '𝗾' => '𝗾' (line 3693) 993s # Converting '𝗿' => '𝗿' (line 3694) 993s # Converting '𝘀' => '𝘀' (line 3695) 993s # Converting '𝘁' => '𝘁' (line 3696) 993s # Converting '𝘂' => '𝘂' (line 3697) 993s # Converting '𝘃' => '𝘃' (line 3698) 993s # Converting '𝘄' => '𝘄' (line 3699) 993s # Converting '𝘅' => '𝘅' (line 3700) 993s # Converting '𝘆' => '𝘆' (line 3701) 993s # Converting '𝘇' => '𝘇' (line 3702) 993s # Converting '𝘈' => '𝘈' (line 3703) 993s # Converting '𝘉' => '𝘉' (line 3704) 993s # Converting '𝘊' => '𝘊' (line 3705) 993s # Converting '𝘋' => '𝘋' (line 3706) 993s # Converting '𝘌' => '𝘌' (line 3707) 993s # Converting '𝘍' => '𝘍' (line 3708) 993s # Converting '𝘎' => '𝘎' (line 3709) 993s # Converting '𝘏' => '𝘏' (line 3710) 993s # Converting '𝘐' => '𝘐' (line 3711) 993s # Converting '𝘑' => '𝘑' (line 3712) 993s # Converting '𝘒' => '𝘒' (line 3713) 993s # Converting '𝘓' => '𝘓' (line 3714) 993s # Converting '𝘔' => '𝘔' (line 3715) 993s # Converting '𝘕' => '𝘕' (line 3716) 993s # Converting '𝘖' => '𝘖' (line 3717) 993s # Converting '𝘗' => '𝘗' (line 3718) 993s # Converting '𝘘' => '𝘘' (line 3719) 993s # Converting '𝘙' => '𝘙' (line 3720) 993s # Converting '𝘚' => '𝘚' (line 3721) 993s # Converting '𝘛' => '𝘛' (line 3722) 993s # Converting '𝘜' => '𝘜' (line 3723) 993s # Converting '𝘝' => '𝘝' (line 3724) 993s # Converting '𝘞' => '𝘞' (line 3725) 993s # Converting '𝘟' => '𝘟' (line 3726) 993s # Converting '𝘠' => '𝘠' (line 3727) 993s # Converting '𝘡' => '𝘡' (line 3728) 993s # Converting '𝘢' => '𝘢' (line 3729) 993s # Converting '𝘣' => '𝘣' (line 3730) 993s # Converting '𝘤' => '𝘤' (line 3731) 993s # Converting '𝘥' => '𝘥' (line 3732) 993s # Converting '𝘦' => '𝘦' (line 3733) 993s # Converting '𝘧' => '𝘧' (line 3734) 993s # Converting '𝘨' => '𝘨' (line 3735) 993s # Converting '𝘩' => '𝘩' (line 3736) 993s # Converting '𝘪' => '𝘪' (line 3737) 993s # Converting '𝘫' => '𝘫' (line 3738) 993s # Converting '𝘬' => '𝘬' (line 3739) 993s # Converting '𝘭' => '𝘭' (line 3740) 993s # Converting '𝘮' => '𝘮' (line 3741) 993s # Converting '𝘯' => '𝘯' (line 3742) 993s # Converting '𝘰' => '𝘰' (line 3743) 993s # Converting '𝘱' => '𝘱' (line 3744) 993s # Converting '𝘲' => '𝘲' (line 3745) 993s # Converting '𝘳' => '𝘳' (line 3746) 993s # Converting '𝘴' => '𝘴' (line 3747) 993s # Converting '𝘵' => '𝘵' (line 3748) 993s # Converting '𝘶' => '𝘶' (line 3749) 993s # Converting '𝘷' => '𝘷' (line 3750) 993s # Converting '𝘸' => '𝘸' (line 3751) 993s # Converting '𝘹' => '𝘹' (line 3752) 993s # Converting '𝘺' => '𝘺' (line 3753) 993s # Converting '𝘻' => '𝘻' (line 3754) 993s # Converting '𝘼' => '𝘼' (line 3755) 993s # Converting '𝘽' => '𝘽' (line 3756) 993s # Converting '𝘾' => '𝘾' (line 3757) 993s # Converting '𝘿' => '𝘿' (line 3758) 993s # Converting '𝙀' => '𝙀' (line 3759) 993s # Converting '𝙁' => '𝙁' (line 3760) 993s # Converting '𝙂' => '𝙂' (line 3761) 993s # Converting '𝙃' => '𝙃' (line 3762) 993s # Converting '𝙄' => '𝙄' (line 3763) 993s # Converting '𝙅' => '𝙅' (line 3764) 993s # Converting '𝙆' => '𝙆' (line 3765) 993s # Converting '𝙇' => '𝙇' (line 3766) 993s # Converting '𝙈' => '𝙈' (line 3767) 993s # Converting '𝙉' => '𝙉' (line 3768) 993s # Converting '𝙊' => '𝙊' (line 3769) 993s # Converting '𝙋' => '𝙋' (line 3770) 993s # Converting '𝙌' => '𝙌' (line 3771) 993s # Converting '𝙍' => '𝙍' (line 3772) 993s # Converting '𝙎' => '𝙎' (line 3773) 993s # Converting '𝙏' => '𝙏' (line 3774) 993s # Converting '𝙐' => '𝙐' (line 3775) 993s # Converting '𝙑' => '𝙑' (line 3776) 993s # Converting '𝙒' => '𝙒' (line 3777) 993s # Converting '𝙓' => '𝙓' (line 3778) 993s # Converting '𝙔' => '𝙔' (line 3779) 993s # Converting '𝙕' => '𝙕' (line 3780) 993s # Converting '𝙖' => '𝙖' (line 3781) 993s # Converting '𝙗' => '𝙗' (line 3782) 993s # Converting '𝙘' => '𝙘' (line 3783) 993s # Converting '𝙙' => '𝙙' (line 3784) 993s # Converting '𝙚' => '𝙚' (line 3785) 993s # Converting '𝙛' => '𝙛' (line 3786) 993s # Converting '𝙜' => '𝙜' (line 3787) 993s # Converting '𝙝' => '𝙝' (line 3788) 993s # Converting '𝙞' => '𝙞' (line 3789) 993s # Converting '𝙟' => '𝙟' (line 3790) 993s # Converting '𝙠' => '𝙠' (line 3791) 993s # Converting '𝙡' => '𝙡' (line 3792) 993s # Converting '𝙢' => '𝙢' (line 3793) 993s # Converting '𝙣' => '𝙣' (line 3794) 993s # Converting '𝙤' => '𝙤' (line 3795) 993s # Converting '𝙥' => '𝙥' (line 3796) 993s # Converting '𝙦' => '𝙦' (line 3797) 993s # Converting '𝙧' => '𝙧' (line 3798) 993s # Converting '𝙨' => '𝙨' (line 3799) 993s # Converting '𝙩' => '𝙩' (line 3800) 993s # Converting '𝙪' => '𝙪' (line 3801) 993s # Converting '𝙫' => '𝙫' (line 3802) 993s # Converting '𝙬' => '𝙬' (line 3803) 993s # Converting '𝙭' => '𝙭' (line 3804) 993s # Converting '𝙮' => '𝙮' (line 3805) 993s # Converting '𝙯' => '𝙯' (line 3806) 993s # Converting '𝙰' => '𝙰' (line 3807) 993s # Converting '𝙱' => '𝙱' (line 3808) 993s # Converting '𝙲' => '𝙲' (line 3809) 993s # Converting '𝙳' => '𝙳' (line 3810) 993s # Converting '𝙴' => '𝙴' (line 3811) 993s # Converting '𝙵' => '𝙵' (line 3812) 993s # Converting '𝙶' => '𝙶' (line 3813) 993s # Converting '𝙷' => '𝙷' (line 3814) 993s # Converting '𝙸' => '𝙸' (line 3815) 993s # Converting '𝙹' => '𝙹' (line 3816) 993s # Converting '𝙺' => '𝙺' (line 3817) 993s # Converting '𝙻' => '𝙻' (line 3818) 993s # Converting '𝙼' => '𝙼' (line 3819) 993s # Converting '𝙽' => '𝙽' (line 3820) 993s # Converting '𝙾' => '𝙾' (line 3821) 993s # Converting '𝙿' => '𝙿' (line 3822) 993s # Converting '𝚀' => '𝚀' (line 3823) 993s # Converting '𝚁' => '𝚁' (line 3824) 993s # Converting '𝚂' => '𝚂' (line 3825) 993s # Converting '𝚃' => '𝚃' (line 3826) 993s # Converting '𝚄' => '𝚄' (line 3827) 993s # Converting '𝚅' => '𝚅' (line 3828) 993s # Converting '𝚆' => '𝚆' (line 3829) 993s # Converting '𝚇' => '𝚇' (line 3830) 993s # Converting '𝚈' => '𝚈' (line 3831) 993s # Converting '𝚉' => '𝚉' (line 3832) 993s # Converting '𝚊' => '𝚊' (line 3833) 993s # Converting '𝚋' => '𝚋' (line 3834) 993s # Converting '𝚌' => '𝚌' (line 3835) 993s # Converting '𝚍' => '𝚍' (line 3836) 993s # Converting '𝚎' => '𝚎' (line 3837) 993s # Converting '𝚏' => '𝚏' (line 3838) 993s # Converting '𝚐' => '𝚐' (line 3839) 993s # Converting '𝚑' => '𝚑' (line 3840) 993s # Converting '𝚒' => '𝚒' (line 3841) 993s # Converting '𝚓' => '𝚓' (line 3842) 993s # Converting '𝚔' => '𝚔' (line 3843) 993s # Converting '𝚕' => '𝚕' (line 3844) 993s # Converting '𝚖' => '𝚖' (line 3845) 993s # Converting '𝚗' => '𝚗' (line 3846) 993s # Converting '𝚘' => '𝚘' (line 3847) 993s # Converting '𝚙' => '𝚙' (line 3848) 993s # Converting '𝚚' => '𝚚' (line 3849) 993s # Converting '𝚛' => '𝚛' (line 3850) 993s # Converting '𝚜' => '𝚜' (line 3851) 993s # Converting '𝚝' => '𝚝' (line 3852) 993s # Converting '𝚞' => '𝚞' (line 3853) 993s # Converting '𝚟' => '𝚟' (line 3854) 993s # Converting '𝚠' => '𝚠' (line 3855) 993s # Converting '𝚡' => '𝚡' (line 3856) 993s # Converting '𝚢' => '𝚢' (line 3857) 993s # Converting '𝚣' => '𝚣' (line 3858) 993s # Converting '𝚤' => '𝚤' (line 3859) 993s # Converting '𝚥' => '𝚥' (line 3860) 993s # Converting '𝚨' => '𝚨' (line 3861) 993s # Converting '𝚩' => '𝚩' (line 3862) 993s # Converting '𝚪' => '𝚪' (line 3863) 993s # Converting '𝚫' => '𝚫' (line 3864) 993s # Converting '𝚬' => '𝚬' (line 3865) 993s # Converting '𝚭' => '𝚭' (line 3866) 993s # Converting '𝚮' => '𝚮' (line 3867) 993s # Converting '𝚯' => '𝚯' (line 3868) 993s # Converting '𝚰' => '𝚰' (line 3869) 993s # Converting '𝚱' => '𝚱' (line 3870) 993s # Converting '𝚲' => '𝚲' (line 3871) 993s # Converting '𝚳' => '𝚳' (line 3872) 993s # Converting '𝚴' => '𝚴' (line 3873) 993s # Converting '𝚵' => '𝚵' (line 3874) 993s # Converting '𝚶' => '𝚶' (line 3875) 993s # Converting '𝚷' => '𝚷' (line 3876) 993s # Converting '𝚸' => '𝚸' (line 3877) 993s # Converting '𝚹' => '𝚹' (line 3878) 993s # Converting '𝚺' => '𝚺' (line 3879) 993s # Converting '𝚻' => '𝚻' (line 3880) 993s # Converting '𝚼' => '𝚼' (line 3881) 993s # Converting '𝚽' => '𝚽' (line 3882) 993s # Converting '𝚾' => '𝚾' (line 3883) 993s # Converting '𝚿' => '𝚿' (line 3884) 993s # Converting '𝛀' => '𝛀' (line 3885) 993s # Converting '𝛂' => '𝛂' (line 3886) 993s # Converting '𝛃' => '𝛃' (line 3887) 993s # Converting '𝛄' => '𝛄' (line 3888) 993s # Converting '𝛅' => '𝛅' (line 3889) 993s # Converting '𝛆' => '𝛆' (line 3890) 993s # Converting '𝛇' => '𝛇' (line 3891) 993s # Converting '𝛈' => '𝛈' (line 3892) 993s # Converting '𝛉' => '𝛉' (line 3893) 993s # Converting '𝛊' => '𝛊' (line 3894) 993s # Converting '𝛋' => '𝛋' (line 3895) 993s # Converting '𝛌' => '𝛌' (line 3896) 993s # Converting '𝛍' => '𝛍' (line 3897) 993s # Converting '𝛎' => '𝛎' (line 3898) 993s # Converting '𝛏' => '𝛏' (line 3899) 993s # Converting '𝛐' => '𝛐' (line 3900) 993s # Converting '𝛑' => '𝛑' (line 3901) 993s # Converting '𝛒' => '𝛒' (line 3902) 993s # Converting '𝛓' => '𝛓' (line 3903) 993s # Converting '𝛔' => '𝛔' (line 3904) 993s # Converting '𝛕' => '𝛕' (line 3905) 993s # Converting '𝛖' => '𝛖' (line 3906) 993s # Converting '𝛗' => '𝛗' (line 3907) 993s # Converting '𝛘' => '𝛘' (line 3908) 993s # Converting '𝛙' => '𝛙' (line 3909) 993s # Converting '𝛚' => '𝛚' (line 3910) 993s # Converting '𝛜' => '𝛜' (line 3911) 993s # Converting '𝛝' => '𝛝' (line 3912) 993s # Converting '𝛞' => '𝛞' (line 3913) 993s # Converting '𝛟' => '𝛟' (line 3914) 993s # Converting '𝛠' => '𝛠' (line 3915) 993s # Converting '𝛡' => '𝛡' (line 3916) 993s # Converting '𝛢' => '𝛢' (line 3917) 993s # Converting '𝛣' => '𝛣' (line 3918) 993s # Converting '𝛤' => '𝛤' (line 3919) 993s # Converting '𝛥' => '𝛥' (line 3920) 993s # Converting '𝛦' => '𝛦' (line 3921) 993s # Converting '𝛧' => '𝛧' (line 3922) 993s # Converting '𝛨' => '𝛨' (line 3923) 993s # Converting '𝛩' => '𝛩' (line 3924) 993s # Converting '𝛪' => '𝛪' (line 3925) 993s # Converting '𝛫' => '𝛫' (line 3926) 993s # Converting '𝛬' => '𝛬' (line 3927) 993s # Converting '𝛭' => '𝛭' (line 3928) 993s # Converting '𝛮' => '𝛮' (line 3929) 993s # Converting '𝛯' => '𝛯' (line 3930) 993s # Converting '𝛰' => '𝛰' (line 3931) 993s # Converting '𝛱' => '𝛱' (line 3932) 993s # Converting '𝛲' => '𝛲' (line 3933) 993s # Converting '𝛳' => '𝛳' (line 3934) 993s # Converting '𝛴' => '𝛴' (line 3935) 993s # Converting '𝛵' => '𝛵' (line 3936) 993s # Converting '𝛶' => '𝛶' (line 3937) 993s # Converting '𝛷' => '𝛷' (line 3938) 993s # Converting '𝛸' => '𝛸' (line 3939) 993s # Converting '𝛹' => '𝛹' (line 3940) 993s # Converting '𝛺' => '𝛺' (line 3941) 993s # Converting '𝛼' => '𝛼' (line 3942) 993s # Converting '𝛽' => '𝛽' (line 3943) 993s # Converting '𝛾' => '𝛾' (line 3944) 993s # Converting '𝛿' => '𝛿' (line 3945) 993s # Converting '𝜀' => '𝜀' (line 3946) 993s # Converting '𝜁' => '𝜁' (line 3947) 993s # Converting '𝜂' => '𝜂' (line 3948) 993s # Converting '𝜃' => '𝜃' (line 3949) 993s # Converting '𝜄' => '𝜄' (line 3950) 993s # Converting '𝜅' => '𝜅' (line 3951) 993s # Converting '𝜆' => '𝜆' (line 3952) 993s # Converting '𝜇' => '𝜇' (line 3953) 993s # Converting '𝜈' => '𝜈' (line 3954) 993s # Converting '𝜉' => '𝜉' (line 3955) 993s # Converting '𝜊' => '𝜊' (line 3956) 993s # Converting '𝜋' => '𝜋' (line 3957) 993s # Converting '𝜌' => '𝜌' (line 3958) 993s # Converting '𝜍' => '𝜍' (line 3959) 993s # Converting '𝜎' => '𝜎' (line 3960) 993s # Converting '𝜏' => '𝜏' (line 3961) 993s # Converting '𝜐' => '𝜐' (line 3962) 993s # Converting '𝜑' => '𝜑' (line 3963) 993s # Converting '𝜒' => '𝜒' (line 3964) 993s # Converting '𝜓' => '𝜓' (line 3965) 993s # Converting '𝜔' => '𝜔' (line 3966) 993s # Converting '𝜖' => '𝜖' (line 3967) 993s # Converting '𝜗' => '𝜗' (line 3968) 993s # Converting '𝜘' => '𝜘' (line 3969) 993s # Converting '𝜙' => '𝜙' (line 3970) 993s # Converting '𝜚' => '𝜚' (line 3971) 993s # Converting '𝜛' => '𝜛' (line 3972) 993s # Converting '𝜜' => '𝜜' (line 3973) 993s # Converting '𝜝' => '𝜝' (line 3974) 993s # Converting '𝜞' => '𝜞' (line 3975) 993s # Converting '𝜟' => '𝜟' (line 3976) 993s # Converting '𝜠' => '𝜠' (line 3977) 993s # Converting '𝜡' => '𝜡' (line 3978) 993s # Converting '𝜢' => '𝜢' (line 3979) 993s # Converting '𝜣' => '𝜣' (line 3980) 993s # Converting '𝜤' => '𝜤' (line 3981) 993s # Converting '𝜥' => '𝜥' (line 3982) 993s # Converting '𝜦' => '𝜦' (line 3983) 993s # Converting '𝜧' => '𝜧' (line 3984) 993s # Converting '𝜨' => '𝜨' (line 3985) 993s # Converting '𝜩' => '𝜩' (line 3986) 993s # Converting '𝜪' => '𝜪' (line 3987) 993s # Converting '𝜫' => '𝜫' (line 3988) 993s # Converting '𝜬' => '𝜬' (line 3989) 993s # Converting '𝜭' => '𝜭' (line 3990) 993s # Converting '𝜮' => '𝜮' (line 3991) 993s # Converting '𝜯' => '𝜯' (line 3992) 993s # Converting '𝜰' => '𝜰' (line 3993) 993s # Converting '𝜱' => '𝜱' (line 3994) 993s # Converting '𝜲' => '𝜲' (line 3995) 993s # Converting '𝜳' => '𝜳' (line 3996) 993s # Converting '𝜴' => '𝜴' (line 3997) 993s # Converting '𝜶' => '𝜶' (line 3998) 993s # Converting '𝜷' => '𝜷' (line 3999) 993s # Converting '𝜸' => '𝜸' (line 4000) 993s # Converting '𝜹' => '𝜹' (line 4001) 993s # Converting '𝜺' => '𝜺' (line 4002) 993s # Converting '𝜻' => '𝜻' (line 4003) 993s # Converting '𝜼' => '𝜼' (line 4004) 993s # Converting '𝜽' => '𝜽' (line 4005) 993s # Converting '𝜾' => '𝜾' (line 4006) 993s # Converting '𝜿' => '𝜿' (line 4007) 993s # Converting '𝝀' => '𝝀' (line 4008) 993s # Converting '𝝁' => '𝝁' (line 4009) 993s # Converting '𝝂' => '𝝂' (line 4010) 993s # Converting '𝝃' => '𝝃' (line 4011) 993s # Converting '𝝄' => '𝝄' (line 4012) 993s # Converting '𝝅' => '𝝅' (line 4013) 993s # Converting '𝝆' => '𝝆' (line 4014) 993s # Converting '𝝇' => '𝝇' (line 4015) 993s # Converting '𝝈' => '𝝈' (line 4016) 993s # Converting '𝝉' => '𝝉' (line 4017) 993s # Converting '𝝊' => '𝝊' (line 4018) 993s # Converting '𝝋' => '𝝋' (line 4019) 993s # Converting '𝝌' => '𝝌' (line 4020) 993s # Converting '𝝍' => '𝝍' (line 4021) 993s # Converting '𝝎' => '𝝎' (line 4022) 993s # Converting '𝝐' => '𝝐' (line 4023) 993s # Converting '𝝑' => '𝝑' (line 4024) 993s # Converting '𝝒' => '𝝒' (line 4025) 993s # Converting '𝝓' => '𝝓' (line 4026) 993s # Converting '𝝔' => '𝝔' (line 4027) 993s # Converting '𝝕' => '𝝕' (line 4028) 993s # Converting '𝝖' => '𝝖' (line 4029) 993s # Converting '𝝗' => '𝝗' (line 4030) 993s # Converting '𝝘' => '𝝘' (line 4031) 993s # Converting '𝝙' => '𝝙' (line 4032) 993s # Converting '𝝚' => '𝝚' (line 4033) 993s # Converting '𝝛' => '𝝛' (line 4034) 993s # Converting '𝝜' => '𝝜' (line 4035) 993s # Converting '𝝝' => '𝝝' (line 4036) 993s # Converting '𝝞' => '𝝞' (line 4037) 993s # Converting '𝝟' => '𝝟' (line 4038) 993s # Converting '𝝠' => '𝝠' (line 4039) 993s # Converting '𝝡' => '𝝡' (line 4040) 993s # Converting '𝝢' => '𝝢' (line 4041) 993s # Converting '𝝣' => '𝝣' (line 4042) 993s # Converting '𝝤' => '𝝤' (line 4043) 993s # Converting '𝝥' => '𝝥' (line 4044) 993s # Converting '𝝦' => '𝝦' (line 4045) 993s # Converting '𝝧' => '𝝧' (line 4046) 993s # Converting '𝝨' => '𝝨' (line 4047) 993s # Converting '𝝩' => '𝝩' (line 4048) 993s # Converting '𝝪' => '𝝪' (line 4049) 993s # Converting '𝝫' => '𝝫' (line 4050) 993s # Converting '𝝬' => '𝝬' (line 4051) 993s # Converting '𝝭' => '𝝭' (line 4052) 993s # Converting '𝝮' => '𝝮' (line 4053) 993s # Converting '𝝰' => '𝝰' (line 4054) 993s # Converting '𝝱' => '𝝱' (line 4055) 993s # Converting '𝝲' => '𝝲' (line 4056) 993s # Converting '𝝳' => '𝝳' (line 4057) 993s # Converting '𝝴' => '𝝴' (line 4058) 993s # Converting '𝝵' => '𝝵' (line 4059) 993s # Converting '𝝶' => '𝝶' (line 4060) 993s # Converting '𝝷' => '𝝷' (line 4061) 993s # Converting '𝝸' => '𝝸' (line 4062) 993s # Converting '𝝹' => '𝝹' (line 4063) 993s # Converting '𝝺' => '𝝺' (line 4064) 993s # Converting '𝝻' => '𝝻' (line 4065) 993s # Converting '𝝼' => '𝝼' (line 4066) 993s # Converting '𝝽' => '𝝽' (line 4067) 993s # Converting '𝝾' => '𝝾' (line 4068) 993s # Converting '𝝿' => '𝝿' (line 4069) 993s # Converting '𝞀' => '𝞀' (line 4070) 993s # Converting '𝞁' => '𝞁' (line 4071) 993s # Converting '𝞂' => '𝞂' (line 4072) 993s # Converting '𝞃' => '𝞃' (line 4073) 993s # Converting '𝞄' => '𝞄' (line 4074) 993s # Converting '𝞅' => '𝞅' (line 4075) 993s # Converting '𝞆' => '𝞆' (line 4076) 993s # Converting '𝞇' => '𝞇' (line 4077) 993s # Converting '𝞈' => '𝞈' (line 4078) 993s # Converting '𝞊' => '𝞊' (line 4079) 993s # Converting '𝞋' => '𝞋' (line 4080) 993s # Converting '𝞌' => '𝞌' (line 4081) 993s # Converting '𝞍' => '𝞍' (line 4082) 993s # Converting '𝞎' => '𝞎' (line 4083) 993s # Converting '𝞏' => '𝞏' (line 4084) 993s # Converting '𝞐' => '𝞐' (line 4085) 993s # Converting '𝞑' => '𝞑' (line 4086) 993s # Converting '𝞒' => '𝞒' (line 4087) 993s # Converting '𝞓' => '𝞓' (line 4088) 993s # Converting '𝞔' => '𝞔' (line 4089) 993s # Converting '𝞕' => '𝞕' (line 4090) 993s # Converting '𝞖' => '𝞖' (line 4091) 993s # Converting '𝞗' => '𝞗' (line 4092) 993s # Converting '𝞘' => '𝞘' (line 4093) 993s # Converting '𝞙' => '𝞙' (line 4094) 993s # Converting '𝞚' => '𝞚' (line 4095) 993s # Converting '𝞛' => '𝞛' (line 4096) 993s # Converting '𝞜' => '𝞜' (line 4097) 993s # Converting '𝞝' => '𝞝' (line 4098) 993s # Converting '𝞞' => '𝞞' (line 4099) 993s # Converting '𝞟' => '𝞟' (line 4100) 993s # Converting '𝞠' => '𝞠' (line 4101) 993s # Converting '𝞡' => '𝞡' (line 4102) 993s # Converting '𝞢' => '𝞢' (line 4103) 993s # Converting '𝞣' => '𝞣' (line 4104) 993s # Converting '𝞤' => '𝞤' (line 4105) 993s # Converting '𝞥' => '𝞥' (line 4106) 993s # Converting '𝞦' => '𝞦' (line 4107) 993s # Converting '𝞧' => '𝞧' (line 4108) 993s # Converting '𝞨' => '𝞨' (line 4109) 993s # Converting '𝞪' => '𝞪' (line 4110) 993s # Converting '𝞫' => '𝞫' (line 4111) 993s # Converting '𝞬' => '𝞬' (line 4112) 993s # Converting '𝞭' => '𝞭' (line 4113) 993s # Converting '𝞮' => '𝞮' (line 4114) 993s # Converting '𝞯' => '𝞯' (line 4115) 993s # Converting '𝞰' => '𝞰' (line 4116) 993s # Converting '𝞱' => '𝞱' (line 4117) 993s # Converting '𝞲' => '𝞲' (line 4118) 993s # Converting '𝞳' => '𝞳' (line 4119) 993s # Converting '𝞴' => '𝞴' (line 4120) 993s # Converting '𝞵' => '𝞵' (line 4121) 993s # Converting '𝞶' => '𝞶' (line 4122) 993s # Converting '𝞷' => '𝞷' (line 4123) 993s # Converting '𝞸' => '𝞸' (line 4124) 993s # Converting '𝞹' => '𝞹' (line 4125) 993s # Converting '𝞺' => '𝞺' (line 4126) 993s # Converting '𝞻' => '𝞻' (line 4127) 993s # Converting '𝞼' => '𝞼' (line 4128) 993s # Converting '𝞽' => '𝞽' (line 4129) 993s # Converting '𝞾' => '𝞾' (line 4130) 993s # Converting '𝞿' => '𝞿' (line 4131) 993s # Converting '𝟀' => '𝟀' (line 4132) 993s # Converting '𝟁' => '𝟁' (line 4133) 993s # Converting '𝟂' => '𝟂' (line 4134) 993s # Converting '𝟄' => '𝟄' (line 4135) 993s # Converting '𝟅' => '𝟅' (line 4136) 993s # Converting '𝟆' => '𝟆' (line 4137) 993s # Converting '𝟇' => '𝟇' (line 4138) 993s # Converting '𝟈' => '𝟈' (line 4139) 993s # Converting '𝟉' => '𝟉' (line 4140) 993s # Converting '𝟊' => '𝟊' (line 4141) 993s # Converting '𝟋' => '𝟋' (line 4142) 993s # Converting '𝼀' => '𝼀' (line 4143) 993s # Converting '𝼁' => '𝼁' (line 4144) 993s # Converting '𝼂' => '𝼂' (line 4145) 993s # Converting '𝼃' => '𝼃' (line 4146) 993s # Converting '𝼄' => '𝼄' (line 4147) 993s # Converting '𝼅' => '𝼅' (line 4148) 993s # Converting '𝼆' => '𝼆' (line 4149) 993s # Converting '𝼇' => '𝼇' (line 4150) 993s # Converting '𝼈' => '𝼈' (line 4151) 993s # Converting '𝼉' => '𝼉' (line 4152) 993s # Converting '𝼋' => '𝼋' (line 4153) 993s # Converting '𝼌' => '𝼌' (line 4154) 993s # Converting '𝼍' => '𝼍' (line 4155) 993s # Converting '𝼎' => '𝼎' (line 4156) 993s # Converting '𝼏' => '𝼏' (line 4157) 993s # Converting '𝼐' => '𝼐' (line 4158) 993s # Converting '𝼑' => '𝼑' (line 4159) 993s # Converting '𝼒' => '𝼒' (line 4160) 993s # Converting '𝼓' => '𝼓' (line 4161) 993s # Converting '𝼔' => '𝼔' (line 4162) 993s # Converting '𝼕' => '𝼕' (line 4163) 993s # Converting '𝼖' => '𝼖' (line 4164) 993s # Converting '𝼗' => '𝼗' (line 4165) 993s # Converting '𝼘' => '𝼘' (line 4166) 993s # Converting '𝼙' => '𝼙' (line 4167) 993s # Converting '𝼚' => '𝼚' (line 4168) 993s # Converting '𝼛' => '𝼛' (line 4169) 993s # Converting '𝼜' => '𝼜' (line 4170) 993s # Converting '𝼝' => '𝼝' (line 4171) 993s # Converting '𝼞' => '𝼞' (line 4172) 993s # Converting '𝼥' => '𝼥' (line 4173) 993s # Converting '𝼦' => '𝼦' (line 4174) 993s # Converting '𝼧' => '𝼧' (line 4175) 993s # Converting '𝼨' => '𝼨' (line 4176) 993s # Converting '𝼩' => '𝼩' (line 4177) 993s # Converting '𝼪' => '𝼪' (line 4178) 993s # Converting '𞤀' => '𞤀' (line 4179) 993s # Converting '𞤁' => '𞤁' (line 4180) 993s # Converting '𞤂' => '𞤂' (line 4181) 993s # Converting '𞤃' => '𞤃' (line 4182) 993s # Converting '𞤄' => '𞤄' (line 4183) 993s # Converting '𞤅' => '𞤅' (line 4184) 993s # Converting '𞤆' => '𞤆' (line 4185) 993s # Converting '𞤇' => '𞤇' (line 4186) 993s # Converting '𞤈' => '𞤈' (line 4187) 993s # Converting '𞤉' => '𞤉' (line 4188) 993s # Converting '𞤊' => '𞤊' (line 4189) 993s # Converting '𞤋' => '𞤋' (line 4190) 993s # Converting '𞤌' => '𞤌' (line 4191) 993s # Converting '𞤍' => '𞤍' (line 4192) 993s # Converting '𞤎' => '𞤎' (line 4193) 993s # Converting '𞤏' => '𞤏' (line 4194) 993s # Converting '𞤐' => '𞤐' (line 4195) 993s # Converting '𞤑' => '𞤑' (line 4196) 993s # Converting '𞤒' => '𞤒' (line 4197) 993s # Converting '𞤓' => '𞤓' (line 4198) 993s # Converting '𞤔' => '𞤔' (line 4199) 993s # Converting '𞤕' => '𞤕' (line 4200) 993s # Converting '𞤖' => '𞤖' (line 4201) 993s # Converting '𞤗' => '𞤗' (line 4202) 993s # Converting '𞤘' => '𞤘' (line 4203) 993s # Converting '𞤙' => '𞤙' (line 4204) 993s # Converting '𞤚' => '𞤚' (line 4205) 993s # Converting '𞤛' => '𞤛' (line 4206) 993s # Converting '𞤜' => '𞤜' (line 4207) 993s # Converting '𞤝' => '𞤝' (line 4208) 993s # Converting '𞤞' => '𞤞' (line 4209) 993s # Converting '𞤟' => '𞤟' (line 4210) 993s # Converting '𞤠' => '𞤠' (line 4211) 993s # Converting '𞤡' => '𞤡' (line 4212) 993s # Converting '𞤢' => '𞤀' (line 4213) 993s # Converting '𞤣' => '𞤁' (line 4214) 993s # Converting '𞤤' => '𞤂' (line 4215) 993s # Converting '𞤥' => '𞤃' (line 4216) 993s # Converting '𞤦' => '𞤄' (line 4217) 993s # Converting '𞤧' => '𞤅' (line 4218) 993s # Converting '𞤨' => '𞤆' (line 4219) 993s # Converting '𞤩' => '𞤇' (line 4220) 993s # Converting '𞤪' => '𞤈' (line 4221) 993s # Converting '𞤫' => '𞤉' (line 4222) 993s # Converting '𞤬' => '𞤊' (line 4223) 993s # Converting '𞤭' => '𞤋' (line 4224) 993s # Converting '𞤮' => '𞤌' (line 4225) 993s # Converting '𞤯' => '𞤍' (line 4226) 993s # Converting '𞤰' => '𞤎' (line 4227) 993s # Converting '𞤱' => '𞤏' (line 4228) 993s # Converting '𞤲' => '𞤐' (line 4229) 993s # Converting '𞤳' => '𞤑' (line 4230) 993s # Converting '𞤴' => '𞤒' (line 4231) 993s # Converting '𞤵' => '𞤓' (line 4232) 993s # Converting '𞤶' => '𞤔' (line 4233) 993s # Converting '𞤷' => '𞤕' (line 4234) 993s # Converting '𞤸' => '𞤖' (line 4235) 993s # Converting '𞤹' => '𞤗' (line 4236) 993s # Converting '𞤺' => '𞤘' (line 4237) 993s # Converting '𞤻' => '𞤙' (line 4238) 993s # Converting '𞤼' => '𞤚' (line 4239) 993s # Converting '𞤽' => '𞤛' (line 4240) 993s # Converting '𞤾' => '𞤜' (line 4241) 993s # Converting '𞤿' => '𞤝' (line 4242) 993s # Converting '𞥀' => '𞤞' (line 4243) 993s # Converting '𞥁' => '𞤟' (line 4244) 993s # Converting '𞥂' => '𞤠' (line 4245) 993s # Converting '𞥃' => '𞤡' (line 4246) 993s # Converting 'AaBbCc@@' => 'aabbcc@@' (line 6) 993s # Converting 'A' => 'a' (line 10) 993s # Converting 'B' => 'b' (line 11) 993s # Converting 'C' => 'c' (line 12) 993s # Converting 'D' => 'd' (line 13) 993s # Converting 'E' => 'e' (line 14) 993s # Converting 'F' => 'f' (line 15) 993s # Converting 'G' => 'g' (line 16) 993s # Converting 'H' => 'h' (line 17) 993s # Converting 'I' => 'i' (line 18) 993s # Converting 'J' => 'j' (line 19) 993s # Converting 'K' => 'k' (line 20) 993s # Converting 'L' => 'l' (line 21) 993s # Converting 'M' => 'm' (line 22) 993s # Converting 'N' => 'n' (line 23) 993s # Converting 'O' => 'o' (line 24) 993s # Converting 'P' => 'p' (line 25) 993s # Converting 'Q' => 'q' (line 26) 993s # Converting 'R' => 'r' (line 27) 993s # Converting 'S' => 's' (line 28) 993s # Converting 'T' => 't' (line 29) 993s # Converting 'U' => 'u' (line 30) 993s # Converting 'V' => 'v' (line 31) 993s # Converting 'W' => 'w' (line 32) 993s # Converting 'X' => 'x' (line 33) 993s # Converting 'Y' => 'y' (line 34) 993s # Converting 'Z' => 'z' (line 35) 993s # Converting 'µ' => 'μ' (line 36) 993s # Converting 'À' => 'à' (line 37) 993s # Converting 'Á' => 'á' (line 38) 993s # Converting 'Â' => 'â' (line 39) 993s # Converting 'Ã' => 'ã' (line 40) 993s # Converting 'Ä' => 'ä' (line 41) 993s # Converting 'Å' => 'å' (line 42) 993s # Converting 'Æ' => 'æ' (line 43) 993s # Converting 'Ç' => 'ç' (line 44) 993s # Converting 'È' => 'è' (line 45) 993s # Converting 'É' => 'é' (line 46) 993s # Converting 'Ê' => 'ê' (line 47) 993s # Converting 'Ë' => 'ë' (line 48) 993s # Converting 'Ì' => 'ì' (line 49) 993s # Converting 'Í' => 'í' (line 50) 993s # Converting 'Î' => 'î' (line 51) 993s # Converting 'Ï' => 'ï' (line 52) 993s # Converting 'Ð' => 'ð' (line 53) 993s # Converting 'Ñ' => 'ñ' (line 54) 993s # Converting 'Ò' => 'ò' (line 55) 993s # Converting 'Ó' => 'ó' (line 56) 993s # Converting 'Ô' => 'ô' (line 57) 993s # Converting 'Õ' => 'õ' (line 58) 993s # Converting 'Ö' => 'ö' (line 59) 993s # Converting 'Ø' => 'ø' (line 60) 993s # Converting 'Ù' => 'ù' (line 61) 993s # Converting 'Ú' => 'ú' (line 62) 993s # Converting 'Û' => 'û' (line 63) 993s # Converting 'Ü' => 'ü' (line 64) 993s # Converting 'Ý' => 'ý' (line 65) 993s # Converting 'Þ' => 'þ' (line 66) 993s # Converting 'ß' => 'ss' (line 67) 993s # Converting 'Ā' => 'ā' (line 68) 993s # Converting 'Ă' => 'ă' (line 69) 993s # Converting 'Ą' => 'ą' (line 70) 993s # Converting 'Ć' => 'ć' (line 71) 993s # Converting 'Ĉ' => 'ĉ' (line 72) 993s # Converting 'Ċ' => 'ċ' (line 73) 993s # Converting 'Č' => 'č' (line 74) 993s # Converting 'Ď' => 'ď' (line 75) 993s # Converting 'Đ' => 'đ' (line 76) 993s # Converting 'Ē' => 'ē' (line 77) 993s # Converting 'Ĕ' => 'ĕ' (line 78) 993s # Converting 'Ė' => 'ė' (line 79) 993s # Converting 'Ę' => 'ę' (line 80) 993s # Converting 'Ě' => 'ě' (line 81) 993s # Converting 'Ĝ' => 'ĝ' (line 82) 993s # Converting 'Ğ' => 'ğ' (line 83) 993s # Converting 'Ġ' => 'ġ' (line 84) 993s # Converting 'Ģ' => 'ģ' (line 85) 993s # Converting 'Ĥ' => 'ĥ' (line 86) 993s # Converting 'Ħ' => 'ħ' (line 87) 993s # Converting 'Ĩ' => 'ĩ' (line 88) 993s # Converting 'Ī' => 'ī' (line 89) 993s # Converting 'Ĭ' => 'ĭ' (line 90) 993s # Converting 'Į' => 'į' (line 91) 993s # Converting 'İ' => 'i̇' (line 92) 993s # Converting 'IJ' => 'ij' (line 93) 993s # Converting 'Ĵ' => 'ĵ' (line 94) 993s # Converting 'Ķ' => 'ķ' (line 95) 993s # Converting 'Ĺ' => 'ĺ' (line 96) 993s # Converting 'Ļ' => 'ļ' (line 97) 993s # Converting 'Ľ' => 'ľ' (line 98) 993s # Converting 'Ŀ' => 'ŀ' (line 99) 993s # Converting 'Ł' => 'ł' (line 100) 993s # Converting 'Ń' => 'ń' (line 101) 993s # Converting 'Ņ' => 'ņ' (line 102) 993s # Converting 'Ň' => 'ň' (line 103) 993s # Converting 'ʼn' => 'ʼn' (line 104) 993s # Converting 'Ŋ' => 'ŋ' (line 105) 993s # Converting 'Ō' => 'ō' (line 106) 993s # Converting 'Ŏ' => 'ŏ' (line 107) 993s # Converting 'Ő' => 'ő' (line 108) 993s # Converting 'Œ' => 'œ' (line 109) 993s # Converting 'Ŕ' => 'ŕ' (line 110) 993s # Converting 'Ŗ' => 'ŗ' (line 111) 993s # Converting 'Ř' => 'ř' (line 112) 993s # Converting 'Ś' => 'ś' (line 113) 993s # Converting 'Ŝ' => 'ŝ' (line 114) 993s # Converting 'Ş' => 'ş' (line 115) 993s # Converting 'Š' => 'š' (line 116) 993s # Converting 'Ţ' => 'ţ' (line 117) 993s # Converting 'Ť' => 'ť' (line 118) 993s # Converting 'Ŧ' => 'ŧ' (line 119) 993s # Converting 'Ũ' => 'ũ' (line 120) 993s # Converting 'Ū' => 'ū' (line 121) 993s # Converting 'Ŭ' => 'ŭ' (line 122) 993s # Converting 'Ů' => 'ů' (line 123) 993s # Converting 'Ű' => 'ű' (line 124) 993s # Converting 'Ų' => 'ų' (line 125) 993s # Converting 'Ŵ' => 'ŵ' (line 126) 993s # Converting 'Ŷ' => 'ŷ' (line 127) 993s # Converting 'Ÿ' => 'ÿ' (line 128) 993s # Converting 'Ź' => 'ź' (line 129) 993s # Converting 'Ż' => 'ż' (line 130) 993s # Converting 'Ž' => 'ž' (line 131) 993s # Converting 'ſ' => 's' (line 132) 993s # Converting 'Ɓ' => 'ɓ' (line 133) 993s # Converting 'Ƃ' => 'ƃ' (line 134) 993s # Converting 'Ƅ' => 'ƅ' (line 135) 993s # Converting 'Ɔ' => 'ɔ' (line 136) 993s # Converting 'Ƈ' => 'ƈ' (line 137) 993s # Converting 'Ɖ' => 'ɖ' (line 138) 993s # Converting 'Ɗ' => 'ɗ' (line 139) 993s # Converting 'Ƌ' => 'ƌ' (line 140) 993s # Converting 'Ǝ' => 'ǝ' (line 141) 993s # Converting 'Ə' => 'ə' (line 142) 993s # Converting 'Ɛ' => 'ɛ' (line 143) 993s # Converting 'Ƒ' => 'ƒ' (line 144) 993s # Converting 'Ɠ' => 'ɠ' (line 145) 993s # Converting 'Ɣ' => 'ɣ' (line 146) 993s # Converting 'Ɩ' => 'ɩ' (line 147) 993s # Converting 'Ɨ' => 'ɨ' (line 148) 993s # Converting 'Ƙ' => 'ƙ' (line 149) 993s # Converting 'Ɯ' => 'ɯ' (line 150) 993s # Converting 'Ɲ' => 'ɲ' (line 151) 993s # Converting 'Ɵ' => 'ɵ' (line 152) 993s # Converting 'Ơ' => 'ơ' (line 153) 993s # Converting 'Ƣ' => 'ƣ' (line 154) 993s # Converting 'Ƥ' => 'ƥ' (line 155) 993s # Converting 'Ʀ' => 'ʀ' (line 156) 993s # Converting 'Ƨ' => 'ƨ' (line 157) 993s # Converting 'Ʃ' => 'ʃ' (line 158) 993s # Converting 'Ƭ' => 'ƭ' (line 159) 993s # Converting 'Ʈ' => 'ʈ' (line 160) 993s # Converting 'Ư' => 'ư' (line 161) 993s # Converting 'Ʊ' => 'ʊ' (line 162) 993s # Converting 'Ʋ' => 'ʋ' (line 163) 993s # Converting 'Ƴ' => 'ƴ' (line 164) 993s # Converting 'Ƶ' => 'ƶ' (line 165) 993s # Converting 'Ʒ' => 'ʒ' (line 166) 993s # Converting 'Ƹ' => 'ƹ' (line 167) 993s # Converting 'Ƽ' => 'ƽ' (line 168) 993s # Converting 'DŽ' => 'dž' (line 169) 993s # Converting 'Dž' => 'dž' (line 170) 993s # Converting 'LJ' => 'lj' (line 171) 993s # Converting 'Lj' => 'lj' (line 172) 993s # Converting 'NJ' => 'nj' (line 173) 993s # Converting 'Nj' => 'nj' (line 174) 993s # Converting 'Ǎ' => 'ǎ' (line 175) 993s # Converting 'Ǐ' => 'ǐ' (line 176) 993s # Converting 'Ǒ' => 'ǒ' (line 177) 993s # Converting 'Ǔ' => 'ǔ' (line 178) 993s # Converting 'Ǖ' => 'ǖ' (line 179) 993s # Converting 'Ǘ' => 'ǘ' (line 180) 993s # Converting 'Ǚ' => 'ǚ' (line 181) 993s # Converting 'Ǜ' => 'ǜ' (line 182) 993s # Converting 'Ǟ' => 'ǟ' (line 183) 993s # Converting 'Ǡ' => 'ǡ' (line 184) 993s # Converting 'Ǣ' => 'ǣ' (line 185) 993s # Converting 'Ǥ' => 'ǥ' (line 186) 993s # Converting 'Ǧ' => 'ǧ' (line 187) 993s # Converting 'Ǩ' => 'ǩ' (line 188) 993s # Converting 'Ǫ' => 'ǫ' (line 189) 993s # Converting 'Ǭ' => 'ǭ' (line 190) 993s # Converting 'Ǯ' => 'ǯ' (line 191) 993s # Converting 'ǰ' => 'ǰ' (line 192) 993s # Converting 'DZ' => 'dz' (line 193) 993s # Converting 'Dz' => 'dz' (line 194) 993s # Converting 'Ǵ' => 'ǵ' (line 195) 993s # Converting 'Ƕ' => 'ƕ' (line 196) 993s # Converting 'Ƿ' => 'ƿ' (line 197) 993s # Converting 'Ǹ' => 'ǹ' (line 198) 993s # Converting 'Ǻ' => 'ǻ' (line 199) 993s # Converting 'Ǽ' => 'ǽ' (line 200) 993s # Converting 'Ǿ' => 'ǿ' (line 201) 993s # Converting 'Ȁ' => 'ȁ' (line 202) 993s # Converting 'Ȃ' => 'ȃ' (line 203) 993s # Converting 'Ȅ' => 'ȅ' (line 204) 993s # Converting 'Ȇ' => 'ȇ' (line 205) 993s # Converting 'Ȉ' => 'ȉ' (line 206) 993s # Converting 'Ȋ' => 'ȋ' (line 207) 993s # Converting 'Ȍ' => 'ȍ' (line 208) 993s # Converting 'Ȏ' => 'ȏ' (line 209) 993s # Converting 'Ȑ' => 'ȑ' (line 210) 993s # Converting 'Ȓ' => 'ȓ' (line 211) 993s # Converting 'Ȕ' => 'ȕ' (line 212) 993s # Converting 'Ȗ' => 'ȗ' (line 213) 993s # Converting 'Ș' => 'ș' (line 214) 993s # Converting 'Ț' => 'ț' (line 215) 993s # Converting 'Ȝ' => 'ȝ' (line 216) 993s # Converting 'Ȟ' => 'ȟ' (line 217) 993s # Converting 'Ƞ' => 'ƞ' (line 218) 993s # Converting 'Ȣ' => 'ȣ' (line 219) 993s # Converting 'Ȥ' => 'ȥ' (line 220) 993s # Converting 'Ȧ' => 'ȧ' (line 221) 993s # Converting 'Ȩ' => 'ȩ' (line 222) 993s # Converting 'Ȫ' => 'ȫ' (line 223) 993s # Converting 'Ȭ' => 'ȭ' (line 224) 993s # Converting 'Ȯ' => 'ȯ' (line 225) 993s # Converting 'Ȱ' => 'ȱ' (line 226) 993s # Converting 'Ȳ' => 'ȳ' (line 227) 993s # Converting 'Ⱥ' => 'ⱥ' (line 228) 993s # Converting 'Ȼ' => 'ȼ' (line 229) 993s # Converting 'Ƚ' => 'ƚ' (line 230) 993s # Converting 'Ⱦ' => 'ⱦ' (line 231) 993s # Converting 'Ɂ' => 'ɂ' (line 232) 993s # Converting 'Ƀ' => 'ƀ' (line 233) 993s # Converting 'Ʉ' => 'ʉ' (line 234) 993s # Converting 'Ʌ' => 'ʌ' (line 235) 993s # Converting 'Ɇ' => 'ɇ' (line 236) 993s # Converting 'Ɉ' => 'ɉ' (line 237) 993s # Converting 'Ɋ' => 'ɋ' (line 238) 993s # Converting 'Ɍ' => 'ɍ' (line 239) 993s # Converting 'Ɏ' => 'ɏ' (line 240) 993s # Converting 'ͅ' => 'ι' (line 241) 993s # Converting 'Ͱ' => 'ͱ' (line 242) 993s # Converting 'Ͳ' => 'ͳ' (line 243) 993s # Converting 'Ͷ' => 'ͷ' (line 244) 993s # Converting 'Ϳ' => 'ϳ' (line 245) 993s # Converting 'Ά' => 'ά' (line 246) 993s # Converting 'Έ' => 'έ' (line 247) 993s # Converting 'Ή' => 'ή' (line 248) 993s # Converting 'Ί' => 'ί' (line 249) 993s # Converting 'Ό' => 'ό' (line 250) 993s # Converting 'Ύ' => 'ύ' (line 251) 993s # Converting 'Ώ' => 'ώ' (line 252) 993s # Converting 'ΐ' => 'ΐ' (line 253) 993s # Converting 'Α' => 'α' (line 254) 993s # Converting 'Β' => 'β' (line 255) 993s # Converting 'Γ' => 'γ' (line 256) 993s # Converting 'Δ' => 'δ' (line 257) 993s # Converting 'Ε' => 'ε' (line 258) 993s # Converting 'Ζ' => 'ζ' (line 259) 993s # Converting 'Η' => 'η' (line 260) 993s # Converting 'Θ' => 'θ' (line 261) 993s # Converting 'Ι' => 'ι' (line 262) 993s # Converting 'Κ' => 'κ' (line 263) 993s # Converting 'Λ' => 'λ' (line 264) 993s # Converting 'Μ' => 'μ' (line 265) 993s # Converting 'Ν' => 'ν' (line 266) 993s # Converting 'Ξ' => 'ξ' (line 267) 993s # Converting 'Ο' => 'ο' (line 268) 993s # Converting 'Π' => 'π' (line 269) 993s # Converting 'Ρ' => 'ρ' (line 270) 993s # Converting 'Σ' => 'σ' (line 271) 993s # Converting 'Τ' => 'τ' (line 272) 993s # Converting 'Υ' => 'υ' (line 273) 993s # Converting 'Φ' => 'φ' (line 274) 993s # Converting 'Χ' => 'χ' (line 275) 993s # Converting 'Ψ' => 'ψ' (line 276) 993s # Converting 'Ω' => 'ω' (line 277) 993s # Converting 'Ϊ' => 'ϊ' (line 278) 993s # Converting 'Ϋ' => 'ϋ' (line 279) 993s # Converting 'ΰ' => 'ΰ' (line 280) 993s # Converting 'ς' => 'σ' (line 281) 993s # Converting 'Ϗ' => 'ϗ' (line 282) 993s # Converting 'ϐ' => 'β' (line 283) 993s # Converting 'ϑ' => 'θ' (line 284) 993s # Converting 'ϕ' => 'φ' (line 285) 993s # Converting 'ϖ' => 'π' (line 286) 993s # Converting 'Ϙ' => 'ϙ' (line 287) 993s # Converting 'Ϛ' => 'ϛ' (line 288) 993s # Converting 'Ϝ' => 'ϝ' (line 289) 993s # Converting 'Ϟ' => 'ϟ' (line 290) 993s # Converting 'Ϡ' => 'ϡ' (line 291) 993s # Converting 'Ϣ' => 'ϣ' (line 292) 993s # Converting 'Ϥ' => 'ϥ' (line 293) 993s # Converting 'Ϧ' => 'ϧ' (line 294) 993s # Converting 'Ϩ' => 'ϩ' (line 295) 993s # Converting 'Ϫ' => 'ϫ' (line 296) 993s # Converting 'Ϭ' => 'ϭ' (line 297) 993s # Converting 'Ϯ' => 'ϯ' (line 298) 993s # Converting 'ϰ' => 'κ' (line 299) 993s # Converting 'ϱ' => 'ρ' (line 300) 993s # Converting 'ϴ' => 'θ' (line 301) 993s # Converting 'ϵ' => 'ε' (line 302) 993s # Converting 'Ϸ' => 'ϸ' (line 303) 993s # Converting 'Ϲ' => 'ϲ' (line 304) 993s # Converting 'Ϻ' => 'ϻ' (line 305) 993s # Converting 'Ͻ' => 'ͻ' (line 306) 993s # Converting 'Ͼ' => 'ͼ' (line 307) 993s # Converting 'Ͽ' => 'ͽ' (line 308) 993s # Converting 'Ѐ' => 'ѐ' (line 309) 993s # Converting 'Ё' => 'ё' (line 310) 993s # Converting 'Ђ' => 'ђ' (line 311) 993s # Converting 'Ѓ' => 'ѓ' (line 312) 993s # Converting 'Є' => 'є' (line 313) 993s # Converting 'Ѕ' => 'ѕ' (line 314) 993s # Converting 'І' => 'і' (line 315) 993s # Converting 'Ї' => 'ї' (line 316) 993s # Converting 'Ј' => 'ј' (line 317) 993s # Converting 'Љ' => 'љ' (line 318) 993s # Converting 'Њ' => 'њ' (line 319) 993s # Converting 'Ћ' => 'ћ' (line 320) 993s # Converting 'Ќ' => 'ќ' (line 321) 993s # Converting 'Ѝ' => 'ѝ' (line 322) 993s # Converting 'Ў' => 'ў' (line 323) 993s # Converting 'Џ' => 'џ' (line 324) 993s # Converting 'А' => 'а' (line 325) 993s # Converting 'Б' => 'б' (line 326) 993s # Converting 'В' => 'в' (line 327) 993s # Converting 'Г' => 'г' (line 328) 993s # Converting 'Д' => 'д' (line 329) 993s # Converting 'Е' => 'е' (line 330) 993s # Converting 'Ж' => 'ж' (line 331) 993s # Converting 'З' => 'з' (line 332) 993s # Converting 'И' => 'и' (line 333) 993s # Converting 'Й' => 'й' (line 334) 993s # Converting 'К' => 'к' (line 335) 993s # Converting 'Л' => 'л' (line 336) 993s # Converting 'М' => 'м' (line 337) 993s # Converting 'Н' => 'н' (line 338) 993s # Converting 'О' => 'о' (line 339) 993s # Converting 'П' => 'п' (line 340) 993s # Converting 'Р' => 'р' (line 341) 993s # Converting 'С' => 'с' (line 342) 993s # Converting 'Т' => 'т' (line 343) 993s # Converting 'У' => 'у' (line 344) 993s # Converting 'Ф' => 'ф' (line 345) 993s # Converting 'Х' => 'х' (line 346) 993s # Converting 'Ц' => 'ц' (line 347) 993s # Converting 'Ч' => 'ч' (line 348) 993s # Converting 'Ш' => 'ш' (line 349) 993s # Converting 'Щ' => 'щ' (line 350) 993s # Converting 'Ъ' => 'ъ' (line 351) 993s # Converting 'Ы' => 'ы' (line 352) 993s # Converting 'Ь' => 'ь' (line 353) 993s # Converting 'Э' => 'э' (line 354) 993s # Converting 'Ю' => 'ю' (line 355) 993s # Converting 'Я' => 'я' (line 356) 993s # Converting 'Ѡ' => 'ѡ' (line 357) 993s # Converting 'Ѣ' => 'ѣ' (line 358) 993s # Converting 'Ѥ' => 'ѥ' (line 359) 993s # Converting 'Ѧ' => 'ѧ' (line 360) 993s # Converting 'Ѩ' => 'ѩ' (line 361) 993s # Converting 'Ѫ' => 'ѫ' (line 362) 993s # Converting 'Ѭ' => 'ѭ' (line 363) 993s # Converting 'Ѯ' => 'ѯ' (line 364) 993s # Converting 'Ѱ' => 'ѱ' (line 365) 993s # Converting 'Ѳ' => 'ѳ' (line 366) 993s # Converting 'Ѵ' => 'ѵ' (line 367) 993s # Converting 'Ѷ' => 'ѷ' (line 368) 993s # Converting 'Ѹ' => 'ѹ' (line 369) 993s # Converting 'Ѻ' => 'ѻ' (line 370) 993s # Converting 'Ѽ' => 'ѽ' (line 371) 993s # Converting 'Ѿ' => 'ѿ' (line 372) 993s # Converting 'Ҁ' => 'ҁ' (line 373) 993s # Converting 'Ҋ' => 'ҋ' (line 374) 993s # Converting 'Ҍ' => 'ҍ' (line 375) 993s # Converting 'Ҏ' => 'ҏ' (line 376) 993s # Converting 'Ґ' => 'ґ' (line 377) 993s # Converting 'Ғ' => 'ғ' (line 378) 993s # Converting 'Ҕ' => 'ҕ' (line 379) 993s # Converting 'Җ' => 'җ' (line 380) 993s # Converting 'Ҙ' => 'ҙ' (line 381) 993s # Converting 'Қ' => 'қ' (line 382) 993s # Converting 'Ҝ' => 'ҝ' (line 383) 993s # Converting 'Ҟ' => 'ҟ' (line 384) 993s # Converting 'Ҡ' => 'ҡ' (line 385) 993s # Converting 'Ң' => 'ң' (line 386) 993s # Converting 'Ҥ' => 'ҥ' (line 387) 993s # Converting 'Ҧ' => 'ҧ' (line 388) 993s # Converting 'Ҩ' => 'ҩ' (line 389) 993s # Converting 'Ҫ' => 'ҫ' (line 390) 993s # Converting 'Ҭ' => 'ҭ' (line 391) 993s # Converting 'Ү' => 'ү' (line 392) 993s # Converting 'Ұ' => 'ұ' (line 393) 993s # Converting 'Ҳ' => 'ҳ' (line 394) 993s # Converting 'Ҵ' => 'ҵ' (line 395) 993s # Converting 'Ҷ' => 'ҷ' (line 396) 993s # Converting 'Ҹ' => 'ҹ' (line 397) 993s # Converting 'Һ' => 'һ' (line 398) 993s # Converting 'Ҽ' => 'ҽ' (line 399) 993s # Converting 'Ҿ' => 'ҿ' (line 400) 993s # Converting 'Ӏ' => 'ӏ' (line 401) 993s # Converting 'Ӂ' => 'ӂ' (line 402) 993s # Converting 'Ӄ' => 'ӄ' (line 403) 993s # Converting 'Ӆ' => 'ӆ' (line 404) 993s # Converting 'Ӈ' => 'ӈ' (line 405) 993s # Converting 'Ӊ' => 'ӊ' (line 406) 993s # Converting 'Ӌ' => 'ӌ' (line 407) 993s # Converting 'Ӎ' => 'ӎ' (line 408) 993s # Converting 'Ӑ' => 'ӑ' (line 409) 993s # Converting 'Ӓ' => 'ӓ' (line 410) 993s # Converting 'Ӕ' => 'ӕ' (line 411) 993s # Converting 'Ӗ' => 'ӗ' (line 412) 993s # Converting 'Ә' => 'ә' (line 413) 993s # Converting 'Ӛ' => 'ӛ' (line 414) 993s # Converting 'Ӝ' => 'ӝ' (line 415) 993s # Converting 'Ӟ' => 'ӟ' (line 416) 993s # Converting 'Ӡ' => 'ӡ' (line 417) 993s # Converting 'Ӣ' => 'ӣ' (line 418) 993s # Converting 'Ӥ' => 'ӥ' (line 419) 993s # Converting 'Ӧ' => 'ӧ' (line 420) 993s # Converting 'Ө' => 'ө' (line 421) 993s # Converting 'Ӫ' => 'ӫ' (line 422) 993s # Converting 'Ӭ' => 'ӭ' (line 423) 993s # Converting 'Ӯ' => 'ӯ' (line 424) 993s # Converting 'Ӱ' => 'ӱ' (line 425) 993s # Converting 'Ӳ' => 'ӳ' (line 426) 993s # Converting 'Ӵ' => 'ӵ' (line 427) 993s # Converting 'Ӷ' => 'ӷ' (line 428) 993s # Converting 'Ӹ' => 'ӹ' (line 429) 993s # Converting 'Ӻ' => 'ӻ' (line 430) 993s # Converting 'Ӽ' => 'ӽ' (line 431) 993s # Converting 'Ӿ' => 'ӿ' (line 432) 993s # Converting 'Ԁ' => 'ԁ' (line 433) 993s # Converting 'Ԃ' => 'ԃ' (line 434) 993s # Converting 'Ԅ' => 'ԅ' (line 435) 993s # Converting 'Ԇ' => 'ԇ' (line 436) 993s # Converting 'Ԉ' => 'ԉ' (line 437) 993s # Converting 'Ԋ' => 'ԋ' (line 438) 993s # Converting 'Ԍ' => 'ԍ' (line 439) 993s # Converting 'Ԏ' => 'ԏ' (line 440) 993s # Converting 'Ԑ' => 'ԑ' (line 441) 993s # Converting 'Ԓ' => 'ԓ' (line 442) 993s # Converting 'Ԕ' => 'ԕ' (line 443) 993s # Converting 'Ԗ' => 'ԗ' (line 444) 993s # Converting 'Ԙ' => 'ԙ' (line 445) 993s # Converting 'Ԛ' => 'ԛ' (line 446) 993s # Converting 'Ԝ' => 'ԝ' (line 447) 993s # Converting 'Ԟ' => 'ԟ' (line 448) 993s # Converting 'Ԡ' => 'ԡ' (line 449) 993s # Converting 'Ԣ' => 'ԣ' (line 450) 993s # Converting 'Ԥ' => 'ԥ' (line 451) 993s # Converting 'Ԧ' => 'ԧ' (line 452) 993s # Converting 'Ԩ' => 'ԩ' (line 453) 993s # Converting 'Ԫ' => 'ԫ' (line 454) 993s # Converting 'Ԭ' => 'ԭ' (line 455) 993s # Converting 'Ԯ' => 'ԯ' (line 456) 993s # Converting 'Ա' => 'ա' (line 457) 993s # Converting 'Բ' => 'բ' (line 458) 993s # Converting 'Գ' => 'գ' (line 459) 993s # Converting 'Դ' => 'դ' (line 460) 993s # Converting 'Ե' => 'ե' (line 461) 993s # Converting 'Զ' => 'զ' (line 462) 993s # Converting 'Է' => 'է' (line 463) 993s # Converting 'Ը' => 'ը' (line 464) 993s # Converting 'Թ' => 'թ' (line 465) 993s # Converting 'Ժ' => 'ժ' (line 466) 993s # Converting 'Ի' => 'ի' (line 467) 993s # Converting 'Լ' => 'լ' (line 468) 993s # Converting 'Խ' => 'խ' (line 469) 993s # Converting 'Ծ' => 'ծ' (line 470) 993s # Converting 'Կ' => 'կ' (line 471) 993s # Converting 'Հ' => 'հ' (line 472) 993s # Converting 'Ձ' => 'ձ' (line 473) 993s # Converting 'Ղ' => 'ղ' (line 474) 993s # Converting 'Ճ' => 'ճ' (line 475) 993s # Converting 'Մ' => 'մ' (line 476) 993s # Converting 'Յ' => 'յ' (line 477) 993s # Converting 'Ն' => 'ն' (line 478) 993s # Converting 'Շ' => 'շ' (line 479) 993s # Converting 'Ո' => 'ո' (line 480) 993s # Converting 'Չ' => 'չ' (line 481) 993s # Converting 'Պ' => 'պ' (line 482) 993s # Converting 'Ջ' => 'ջ' (line 483) 993s # Converting 'Ռ' => 'ռ' (line 484) 993s # Converting 'Ս' => 'ս' (line 485) 993s # Converting 'Վ' => 'վ' (line 486) 993s # Converting 'Տ' => 'տ' (line 487) 993s # Converting 'Ր' => 'ր' (line 488) 993s # Converting 'Ց' => 'ց' (line 489) 993s # Converting 'Ւ' => 'ւ' (line 490) 993s # Converting 'Փ' => 'փ' (line 491) 993s # Converting 'Ք' => 'ք' (line 492) 993s # Converting 'Օ' => 'օ' (line 493) 993s # Converting 'Ֆ' => 'ֆ' (line 494) 993s # Converting 'և' => 'եւ' (line 495) 993s # Converting 'Ⴀ' => 'ⴀ' (line 496) 993s # Converting 'Ⴁ' => 'ⴁ' (line 497) 993s # Converting 'Ⴂ' => 'ⴂ' (line 498) 993s # Converting 'Ⴃ' => 'ⴃ' (line 499) 993s # Converting 'Ⴄ' => 'ⴄ' (line 500) 993s # Converting 'Ⴅ' => 'ⴅ' (line 501) 993s # Converting 'Ⴆ' => 'ⴆ' (line 502) 993s # Converting 'Ⴇ' => 'ⴇ' (line 503) 993s # Converting 'Ⴈ' => 'ⴈ' (line 504) 993s # Converting 'Ⴉ' => 'ⴉ' (line 505) 993s # Converting 'Ⴊ' => 'ⴊ' (line 506) 993s # Converting 'Ⴋ' => 'ⴋ' (line 507) 993s # Converting 'Ⴌ' => 'ⴌ' (line 508) 993s # Converting 'Ⴍ' => 'ⴍ' (line 509) 993s # Converting 'Ⴎ' => 'ⴎ' (line 510) 993s # Converting 'Ⴏ' => 'ⴏ' (line 511) 993s # Converting 'Ⴐ' => 'ⴐ' (line 512) 993s # Converting 'Ⴑ' => 'ⴑ' (line 513) 993s # Converting 'Ⴒ' => 'ⴒ' (line 514) 993s # Converting 'Ⴓ' => 'ⴓ' (line 515) 993s # Converting 'Ⴔ' => 'ⴔ' (line 516) 993s # Converting 'Ⴕ' => 'ⴕ' (line 517) 993s # Converting 'Ⴖ' => 'ⴖ' (line 518) 993s # Converting 'Ⴗ' => 'ⴗ' (line 519) 993s # Converting 'Ⴘ' => 'ⴘ' (line 520) 993s # Converting 'Ⴙ' => 'ⴙ' (line 521) 993s # Converting 'Ⴚ' => 'ⴚ' (line 522) 993s # Converting 'Ⴛ' => 'ⴛ' (line 523) 993s # Converting 'Ⴜ' => 'ⴜ' (line 524) 993s # Converting 'Ⴝ' => 'ⴝ' (line 525) 993s # Converting 'Ⴞ' => 'ⴞ' (line 526) 993s # Converting 'Ⴟ' => 'ⴟ' (line 527) 993s # Converting 'Ⴠ' => 'ⴠ' (line 528) 993s # Converting 'Ⴡ' => 'ⴡ' (line 529) 993s # Converting 'Ⴢ' => 'ⴢ' (line 530) 993s # Converting 'Ⴣ' => 'ⴣ' (line 531) 993s # Converting 'Ⴤ' => 'ⴤ' (line 532) 993s # Converting 'Ⴥ' => 'ⴥ' (line 533) 993s # Converting 'Ⴧ' => 'ⴧ' (line 534) 993s # Converting 'Ⴭ' => 'ⴭ' (line 535) 993s # Converting 'ᏸ' => 'Ᏸ' (line 536) 993s # Converting 'ᏹ' => 'Ᏹ' (line 537) 993s # Converting 'ᏺ' => 'Ᏺ' (line 538) 993s # Converting 'ᏻ' => 'Ᏻ' (line 539) 993s # Converting 'ᏼ' => 'Ᏼ' (line 540) 993s # Converting 'ᏽ' => 'Ᏽ' (line 541) 993s # Converting 'ᲀ' => 'в' (line 542) 993s # Converting 'ᲁ' => 'д' (line 543) 993s # Converting 'ᲂ' => 'о' (line 544) 993s # Converting 'ᲃ' => 'с' (line 545) 993s # Converting 'ᲄ' => 'т' (line 546) 993s # Converting 'ᲅ' => 'т' (line 547) 993s # Converting 'ᲆ' => 'ъ' (line 548) 993s # Converting 'ᲇ' => 'ѣ' (line 549) 993s # Converting 'ᲈ' => 'ꙋ' (line 550) 993s # Converting 'Ᲊ' => 'ᲊ' (line 551) 993s # Converting 'Ა' => 'ა' (line 552) 993s # Converting 'Ბ' => 'ბ' (line 553) 993s # Converting 'Გ' => 'გ' (line 554) 993s # Converting 'Დ' => 'დ' (line 555) 993s # Converting 'Ე' => 'ე' (line 556) 993s # Converting 'Ვ' => 'ვ' (line 557) 993s # Converting 'Ზ' => 'ზ' (line 558) 993s # Converting 'Თ' => 'თ' (line 559) 993s # Converting 'Ი' => 'ი' (line 560) 993s # Converting 'Კ' => 'კ' (line 561) 993s # Converting 'Ლ' => 'ლ' (line 562) 993s # Converting 'Მ' => 'მ' (line 563) 993s # Converting 'Ნ' => 'ნ' (line 564) 993s # Converting 'Ო' => 'ო' (line 565) 993s # Converting 'Პ' => 'პ' (line 566) 993s # Converting 'Ჟ' => 'ჟ' (line 567) 993s # Converting 'Რ' => 'რ' (line 568) 993s # Converting 'Ს' => 'ს' (line 569) 993s # Converting 'Ტ' => 'ტ' (line 570) 993s # Converting 'Უ' => 'უ' (line 571) 993s # Converting 'Ფ' => 'ფ' (line 572) 993s # Converting 'Ქ' => 'ქ' (line 573) 993s # Converting 'Ღ' => 'ღ' (line 574) 993s # Converting 'Ყ' => 'ყ' (line 575) 993s # Converting 'Შ' => 'შ' (line 576) 993s # Converting 'Ჩ' => 'ჩ' (line 577) 993s # Converting 'Ც' => 'ც' (line 578) 993s # Converting 'Ძ' => 'ძ' (line 579) 993s # Converting 'Წ' => 'წ' (line 580) 993s # Converting 'Ჭ' => 'ჭ' (line 581) 993s # Converting 'Ხ' => 'ხ' (line 582) 993s # Converting 'Ჯ' => 'ჯ' (line 583) 993s # Converting 'Ჰ' => 'ჰ' (line 584) 993s # Converting 'Ჱ' => 'ჱ' (line 585) 993s # Converting 'Ჲ' => 'ჲ' (line 586) 993s # Converting 'Ჳ' => 'ჳ' (line 587) 993s # Converting 'Ჴ' => 'ჴ' (line 588) 993s # Converting 'Ჵ' => 'ჵ' (line 589) 993s # Converting 'Ჶ' => 'ჶ' (line 590) 993s # Converting 'Ჷ' => 'ჷ' (line 591) 993s # Converting 'Ჸ' => 'ჸ' (line 592) 993s # Converting 'Ჹ' => 'ჹ' (line 593) 993s # Converting 'Ჺ' => 'ჺ' (line 594) 993s # Converting 'Ჽ' => 'ჽ' (line 595) 993s # Converting 'Ჾ' => 'ჾ' (line 596) 993s # Converting 'Ჿ' => 'ჿ' (line 597) 993s # Converting 'Ḁ' => 'ḁ' (line 598) 993s # Converting 'Ḃ' => 'ḃ' (line 599) 993s # Converting 'Ḅ' => 'ḅ' (line 600) 993s # Converting 'Ḇ' => 'ḇ' (line 601) 993s # Converting 'Ḉ' => 'ḉ' (line 602) 993s # Converting 'Ḋ' => 'ḋ' (line 603) 993s # Converting 'Ḍ' => 'ḍ' (line 604) 993s # Converting 'Ḏ' => 'ḏ' (line 605) 993s # Converting 'Ḑ' => 'ḑ' (line 606) 993s # Converting 'Ḓ' => 'ḓ' (line 607) 993s # Converting 'Ḕ' => 'ḕ' (line 608) 993s # Converting 'Ḗ' => 'ḗ' (line 609) 993s # Converting 'Ḙ' => 'ḙ' (line 610) 993s # Converting 'Ḛ' => 'ḛ' (line 611) 993s # Converting 'Ḝ' => 'ḝ' (line 612) 993s # Converting 'Ḟ' => 'ḟ' (line 613) 993s # Converting 'Ḡ' => 'ḡ' (line 614) 993s # Converting 'Ḣ' => 'ḣ' (line 615) 993s # Converting 'Ḥ' => 'ḥ' (line 616) 993s # Converting 'Ḧ' => 'ḧ' (line 617) 993s # Converting 'Ḩ' => 'ḩ' (line 618) 993s # Converting 'Ḫ' => 'ḫ' (line 619) 993s # Converting 'Ḭ' => 'ḭ' (line 620) 993s # Converting 'Ḯ' => 'ḯ' (line 621) 993s # Converting 'Ḱ' => 'ḱ' (line 622) 993s # Converting 'Ḳ' => 'ḳ' (line 623) 993s # Converting 'Ḵ' => 'ḵ' (line 624) 993s # Converting 'Ḷ' => 'ḷ' (line 625) 993s # Converting 'Ḹ' => 'ḹ' (line 626) 993s # Converting 'Ḻ' => 'ḻ' (line 627) 993s # Converting 'Ḽ' => 'ḽ' (line 628) 993s # Converting 'Ḿ' => 'ḿ' (line 629) 993s # Converting 'Ṁ' => 'ṁ' (line 630) 993s # Converting 'Ṃ' => 'ṃ' (line 631) 993s # Converting 'Ṅ' => 'ṅ' (line 632) 993s # Converting 'Ṇ' => 'ṇ' (line 633) 993s # Converting 'Ṉ' => 'ṉ' (line 634) 993s # Converting 'Ṋ' => 'ṋ' (line 635) 993s # Converting 'Ṍ' => 'ṍ' (line 636) 993s # Converting 'Ṏ' => 'ṏ' (line 637) 993s # Converting 'Ṑ' => 'ṑ' (line 638) 993s # Converting 'Ṓ' => 'ṓ' (line 639) 993s # Converting 'Ṕ' => 'ṕ' (line 640) 993s # Converting 'Ṗ' => 'ṗ' (line 641) 993s # Converting 'Ṙ' => 'ṙ' (line 642) 993s # Converting 'Ṛ' => 'ṛ' (line 643) 993s # Converting 'Ṝ' => 'ṝ' (line 644) 993s # Converting 'Ṟ' => 'ṟ' (line 645) 993s # Converting 'Ṡ' => 'ṡ' (line 646) 993s # Converting 'Ṣ' => 'ṣ' (line 647) 993s # Converting 'Ṥ' => 'ṥ' (line 648) 993s # Converting 'Ṧ' => 'ṧ' (line 649) 993s # Converting 'Ṩ' => 'ṩ' (line 650) 993s # Converting 'Ṫ' => 'ṫ' (line 651) 993s # Converting 'Ṭ' => 'ṭ' (line 652) 993s # Converting 'Ṯ' => 'ṯ' (line 653) 993s # Converting 'Ṱ' => 'ṱ' (line 654) 993s # Converting 'Ṳ' => 'ṳ' (line 655) 993s # Converting 'Ṵ' => 'ṵ' (line 656) 993s # Converting 'Ṷ' => 'ṷ' (line 657) 993s # Converting 'Ṹ' => 'ṹ' (line 658) 993s # Converting 'Ṻ' => 'ṻ' (line 659) 993s # Converting 'Ṽ' => 'ṽ' (line 660) 993s # Converting 'Ṿ' => 'ṿ' (line 661) 993s # Converting 'Ẁ' => 'ẁ' (line 662) 993s # Converting 'Ẃ' => 'ẃ' (line 663) 993s # Converting 'Ẅ' => 'ẅ' (line 664) 993s # Converting 'Ẇ' => 'ẇ' (line 665) 993s # Converting 'Ẉ' => 'ẉ' (line 666) 993s # Converting 'Ẋ' => 'ẋ' (line 667) 993s # Converting 'Ẍ' => 'ẍ' (line 668) 993s # Converting 'Ẏ' => 'ẏ' (line 669) 993s # Converting 'Ẑ' => 'ẑ' (line 670) 993s # Converting 'Ẓ' => 'ẓ' (line 671) 993s # Converting 'Ẕ' => 'ẕ' (line 672) 993s # Converting 'ẖ' => 'ẖ' (line 673) 993s # Converting 'ẗ' => 'ẗ' (line 674) 993s # Converting 'ẘ' => 'ẘ' (line 675) 993s # Converting 'ẙ' => 'ẙ' (line 676) 993s # Converting 'ẚ' => 'aʾ' (line 677) 993s # Converting 'ẛ' => 'ṡ' (line 678) 993s # Converting 'ẞ' => 'ss' (line 679) 993s # Converting 'Ạ' => 'ạ' (line 680) 993s # Converting 'Ả' => 'ả' (line 681) 993s # Converting 'Ấ' => 'ấ' (line 682) 993s # Converting 'Ầ' => 'ầ' (line 683) 993s # Converting 'Ẩ' => 'ẩ' (line 684) 993s # Converting 'Ẫ' => 'ẫ' (line 685) 993s # Converting 'Ậ' => 'ậ' (line 686) 993s # Converting 'Ắ' => 'ắ' (line 687) 993s # Converting 'Ằ' => 'ằ' (line 688) 993s # Converting 'Ẳ' => 'ẳ' (line 689) 993s # Converting 'Ẵ' => 'ẵ' (line 690) 993s # Converting 'Ặ' => 'ặ' (line 691) 993s # Converting 'Ẹ' => 'ẹ' (line 692) 993s # Converting 'Ẻ' => 'ẻ' (line 693) 993s # Converting 'Ẽ' => 'ẽ' (line 694) 993s # Converting 'Ế' => 'ế' (line 695) 993s # Converting 'Ề' => 'ề' (line 696) 993s # Converting 'Ể' => 'ể' (line 697) 993s # Converting 'Ễ' => 'ễ' (line 698) 993s # Converting 'Ệ' => 'ệ' (line 699) 993s # Converting 'Ỉ' => 'ỉ' (line 700) 993s # Converting 'Ị' => 'ị' (line 701) 993s # Converting 'Ọ' => 'ọ' (line 702) 993s # Converting 'Ỏ' => 'ỏ' (line 703) 993s # Converting 'Ố' => 'ố' (line 704) 993s # Converting 'Ồ' => 'ồ' (line 705) 993s # Converting 'Ổ' => 'ổ' (line 706) 993s # Converting 'Ỗ' => 'ỗ' (line 707) 993s # Converting 'Ộ' => 'ộ' (line 708) 993s # Converting 'Ớ' => 'ớ' (line 709) 993s # Converting 'Ờ' => 'ờ' (line 710) 993s # Converting 'Ở' => 'ở' (line 711) 993s # Converting 'Ỡ' => 'ỡ' (line 712) 993s # Converting 'Ợ' => 'ợ' (line 713) 993s # Converting 'Ụ' => 'ụ' (line 714) 993s # Converting 'Ủ' => 'ủ' (line 715) 993s # Converting 'Ứ' => 'ứ' (line 716) 993s # Converting 'Ừ' => 'ừ' (line 717) 993s # Converting 'Ử' => 'ử' (line 718) 993s # Converting 'Ữ' => 'ữ' (line 719) 993s # Converting 'Ự' => 'ự' (line 720) 993s # Converting 'Ỳ' => 'ỳ' (line 721) 993s # Converting 'Ỵ' => 'ỵ' (line 722) 993s # Converting 'Ỷ' => 'ỷ' (line 723) 993s # Converting 'Ỹ' => 'ỹ' (line 724) 993s # Converting 'Ỻ' => 'ỻ' (line 725) 993s # Converting 'Ỽ' => 'ỽ' (line 726) 993s # Converting 'Ỿ' => 'ỿ' (line 727) 993s # Converting 'Ἀ' => 'ἀ' (line 728) 993s # Converting 'Ἁ' => 'ἁ' (line 729) 993s # Converting 'Ἂ' => 'ἂ' (line 730) 993s # Converting 'Ἃ' => 'ἃ' (line 731) 993s # Converting 'Ἄ' => 'ἄ' (line 732) 993s # Converting 'Ἅ' => 'ἅ' (line 733) 993s # Converting 'Ἆ' => 'ἆ' (line 734) 993s # Converting 'Ἇ' => 'ἇ' (line 735) 993s # Converting 'Ἐ' => 'ἐ' (line 736) 993s # Converting 'Ἑ' => 'ἑ' (line 737) 993s # Converting 'Ἒ' => 'ἒ' (line 738) 993s # Converting 'Ἓ' => 'ἓ' (line 739) 993s # Converting 'Ἔ' => 'ἔ' (line 740) 993s # Converting 'Ἕ' => 'ἕ' (line 741) 993s # Converting 'Ἠ' => 'ἠ' (line 742) 993s # Converting 'Ἡ' => 'ἡ' (line 743) 993s # Converting 'Ἢ' => 'ἢ' (line 744) 993s # Converting 'Ἣ' => 'ἣ' (line 745) 993s # Converting 'Ἤ' => 'ἤ' (line 746) 993s # Converting 'Ἥ' => 'ἥ' (line 747) 993s # Converting 'Ἦ' => 'ἦ' (line 748) 993s # Converting 'Ἧ' => 'ἧ' (line 749) 993s # Converting 'Ἰ' => 'ἰ' (line 750) 993s # Converting 'Ἱ' => 'ἱ' (line 751) 993s # Converting 'Ἲ' => 'ἲ' (line 752) 993s # Converting 'Ἳ' => 'ἳ' (line 753) 993s # Converting 'Ἴ' => 'ἴ' (line 754) 993s # Converting 'Ἵ' => 'ἵ' (line 755) 993s # Converting 'Ἶ' => 'ἶ' (line 756) 993s # Converting 'Ἷ' => 'ἷ' (line 757) 993s # Converting 'Ὀ' => 'ὀ' (line 758) 993s # Converting 'Ὁ' => 'ὁ' (line 759) 993s # Converting 'Ὂ' => 'ὂ' (line 760) 993s # Converting 'Ὃ' => 'ὃ' (line 761) 993s # Converting 'Ὄ' => 'ὄ' (line 762) 993s # Converting 'Ὅ' => 'ὅ' (line 763) 993s # Converting 'ὐ' => 'ὐ' (line 764) 993s # Converting 'ὒ' => 'ὒ' (line 765) 993s # Converting 'ὔ' => 'ὔ' (line 766) 993s # Converting 'ὖ' => 'ὖ' (line 767) 993s # Converting 'Ὑ' => 'ὑ' (line 768) 993s # Converting 'Ὓ' => 'ὓ' (line 769) 993s # Converting 'Ὕ' => 'ὕ' (line 770) 993s # Converting 'Ὗ' => 'ὗ' (line 771) 993s # Converting 'Ὠ' => 'ὠ' (line 772) 993s # Converting 'Ὡ' => 'ὡ' (line 773) 993s # Converting 'Ὢ' => 'ὢ' (line 774) 993s # Converting 'Ὣ' => 'ὣ' (line 775) 993s # Converting 'Ὤ' => 'ὤ' (line 776) 993s # Converting 'Ὥ' => 'ὥ' (line 777) 993s # Converting 'Ὦ' => 'ὦ' (line 778) 993s # Converting 'Ὧ' => 'ὧ' (line 779) 993s # Converting 'ᾀ' => 'ἀι' (line 780) 993s # Converting 'ᾁ' => 'ἁι' (line 781) 993s # Converting 'ᾂ' => 'ἂι' (line 782) 993s # Converting 'ᾃ' => 'ἃι' (line 783) 993s # Converting 'ᾄ' => 'ἄι' (line 784) 993s # Converting 'ᾅ' => 'ἅι' (line 785) 993s # Converting 'ᾆ' => 'ἆι' (line 786) 993s # Converting 'ᾇ' => 'ἇι' (line 787) 993s # Converting 'ᾈ' => 'ἀι' (line 788) 993s # Converting 'ᾉ' => 'ἁι' (line 789) 993s # Converting 'ᾊ' => 'ἂι' (line 790) 993s # Converting 'ᾋ' => 'ἃι' (line 791) 993s # Converting 'ᾌ' => 'ἄι' (line 792) 993s # Converting 'ᾍ' => 'ἅι' (line 793) 993s # Converting 'ᾎ' => 'ἆι' (line 794) 993s # Converting 'ᾏ' => 'ἇι' (line 795) 993s # Converting 'ᾐ' => 'ἠι' (line 796) 993s # Converting 'ᾑ' => 'ἡι' (line 797) 993s # Converting 'ᾒ' => 'ἢι' (line 798) 993s # Converting 'ᾓ' => 'ἣι' (line 799) 993s # Converting 'ᾔ' => 'ἤι' (line 800) 993s # Converting 'ᾕ' => 'ἥι' (line 801) 993s # Converting 'ᾖ' => 'ἦι' (line 802) 993s # Converting 'ᾗ' => 'ἧι' (line 803) 993s # Converting 'ᾘ' => 'ἠι' (line 804) 993s # Converting 'ᾙ' => 'ἡι' (line 805) 993s # Converting 'ᾚ' => 'ἢι' (line 806) 993s # Converting 'ᾛ' => 'ἣι' (line 807) 993s # Converting 'ᾜ' => 'ἤι' (line 808) 993s # Converting 'ᾝ' => 'ἥι' (line 809) 993s # Converting 'ᾞ' => 'ἦι' (line 810) 993s # Converting 'ᾟ' => 'ἧι' (line 811) 993s # Converting 'ᾠ' => 'ὠι' (line 812) 993s # Converting 'ᾡ' => 'ὡι' (line 813) 993s # Converting 'ᾢ' => 'ὢι' (line 814) 993s # Converting 'ᾣ' => 'ὣι' (line 815) 993s # Converting 'ᾤ' => 'ὤι' (line 816) 993s # Converting 'ᾥ' => 'ὥι' (line 817) 993s # Converting 'ᾦ' => 'ὦι' (line 818) 993s # Converting 'ᾧ' => 'ὧι' (line 819) 993s # Converting 'ᾨ' => 'ὠι' (line 820) 993s # Converting 'ᾩ' => 'ὡι' (line 821) 993s # Converting 'ᾪ' => 'ὢι' (line 822) 993s # Converting 'ᾫ' => 'ὣι' (line 823) 993s # Converting 'ᾬ' => 'ὤι' (line 824) 993s # Converting 'ᾭ' => 'ὥι' (line 825) 993s # Converting 'ᾮ' => 'ὦι' (line 826) 993s # Converting 'ᾯ' => 'ὧι' (line 827) 993s # Converting 'ᾲ' => 'ὰι' (line 828) 993s # Converting 'ᾳ' => 'αι' (line 829) 993s # Converting 'ᾴ' => 'άι' (line 830) 993s # Converting 'ᾶ' => 'ᾶ' (line 831) 993s # Converting 'ᾷ' => 'ᾶι' (line 832) 993s # Converting 'Ᾰ' => 'ᾰ' (line 833) 993s # Converting 'Ᾱ' => 'ᾱ' (line 834) 993s # Converting 'Ὰ' => 'ὰ' (line 835) 993s # Converting 'Ά' => 'ά' (line 836) 993s # Converting 'ᾼ' => 'αι' (line 837) 993s # Converting 'ι' => 'ι' (line 838) 993s # Converting 'ῂ' => 'ὴι' (line 839) 993s # Converting 'ῃ' => 'ηι' (line 840) 993s # Converting 'ῄ' => 'ήι' (line 841) 993s # Converting 'ῆ' => 'ῆ' (line 842) 993s # Converting 'ῇ' => 'ῆι' (line 843) 993s # Converting 'Ὲ' => 'ὲ' (line 844) 993s # Converting 'Έ' => 'έ' (line 845) 993s # Converting 'Ὴ' => 'ὴ' (line 846) 993s # Converting 'Ή' => 'ή' (line 847) 993s # Converting 'ῌ' => 'ηι' (line 848) 993s # Converting 'ῒ' => 'ῒ' (line 849) 993s # Converting 'ΐ' => 'ΐ' (line 850) 993s # Converting 'ῖ' => 'ῖ' (line 851) 993s # Converting 'ῗ' => 'ῗ' (line 852) 993s # Converting 'Ῐ' => 'ῐ' (line 853) 993s # Converting 'Ῑ' => 'ῑ' (line 854) 993s # Converting 'Ὶ' => 'ὶ' (line 855) 993s # Converting 'Ί' => 'ί' (line 856) 993s # Converting 'ῢ' => 'ῢ' (line 857) 993s # Converting 'ΰ' => 'ΰ' (line 858) 993s # Converting 'ῤ' => 'ῤ' (line 859) 993s # Converting 'ῦ' => 'ῦ' (line 860) 993s # Converting 'ῧ' => 'ῧ' (line 861) 993s # Converting 'Ῠ' => 'ῠ' (line 862) 993s # Converting 'Ῡ' => 'ῡ' (line 863) 993s # Converting 'Ὺ' => 'ὺ' (line 864) 993s # Converting 'Ύ' => 'ύ' (line 865) 993s # Converting 'Ῥ' => 'ῥ' (line 866) 993s # Converting 'ῲ' => 'ὼι' (line 867) 993s # Converting 'ῳ' => 'ωι' (line 868) 993s # Converting 'ῴ' => 'ώι' (line 869) 993s # Converting 'ῶ' => 'ῶ' (line 870) 993s # Converting 'ῷ' => 'ῶι' (line 871) 993s # Converting 'Ὸ' => 'ὸ' (line 872) 993s # Converting 'Ό' => 'ό' (line 873) 993s # Converting 'Ὼ' => 'ὼ' (line 874) 993s # Converting 'Ώ' => 'ώ' (line 875) 993s # Converting 'ῼ' => 'ωι' (line 876) 993s # Converting 'Ω' => 'ω' (line 877) 993s # Converting 'K' => 'k' (line 878) 993s # Converting 'Å' => 'å' (line 879) 993s # Converting 'Ⅎ' => 'ⅎ' (line 880) 993s # Converting 'Ⅰ' => 'ⅰ' (line 881) 993s # Converting 'Ⅱ' => 'ⅱ' (line 882) 993s # Converting 'Ⅲ' => 'ⅲ' (line 883) 993s # Converting 'Ⅳ' => 'ⅳ' (line 884) 993s # Converting 'Ⅴ' => 'ⅴ' (line 885) 993s # Converting 'Ⅵ' => 'ⅵ' (line 886) 993s # Converting 'Ⅶ' => 'ⅶ' (line 887) 993s # Converting 'Ⅷ' => 'ⅷ' (line 888) 993s # Converting 'Ⅸ' => 'ⅸ' (line 889) 993s # Converting 'Ⅹ' => 'ⅹ' (line 890) 993s # Converting 'Ⅺ' => 'ⅺ' (line 891) 993s # Converting 'Ⅻ' => 'ⅻ' (line 892) 993s # Converting 'Ⅼ' => 'ⅼ' (line 893) 993s # Converting 'Ⅽ' => 'ⅽ' (line 894) 993s # Converting 'Ⅾ' => 'ⅾ' (line 895) 993s # Converting 'Ⅿ' => 'ⅿ' (line 896) 993s # Converting 'Ↄ' => 'ↄ' (line 897) 993s # Converting 'Ⓐ' => 'ⓐ' (line 898) 993s # Converting 'Ⓑ' => 'ⓑ' (line 899) 993s # Converting 'Ⓒ' => 'ⓒ' (line 900) 993s # Converting 'Ⓓ' => 'ⓓ' (line 901) 993s # Converting 'Ⓔ' => 'ⓔ' (line 902) 993s # Converting 'Ⓕ' => 'ⓕ' (line 903) 993s # Converting 'Ⓖ' => 'ⓖ' (line 904) 993s # Converting 'Ⓗ' => 'ⓗ' (line 905) 993s # Converting 'Ⓘ' => 'ⓘ' (line 906) 993s # Converting 'Ⓙ' => 'ⓙ' (line 907) 993s # Converting 'Ⓚ' => 'ⓚ' (line 908) 993s # Converting 'Ⓛ' => 'ⓛ' (line 909) 993s # Converting 'Ⓜ' => 'ⓜ' (line 910) 993s # Converting 'Ⓝ' => 'ⓝ' (line 911) 993s # Converting 'Ⓞ' => 'ⓞ' (line 912) 993s # Converting 'Ⓟ' => 'ⓟ' (line 913) 993s # Converting 'Ⓠ' => 'ⓠ' (line 914) 993s # Converting 'Ⓡ' => 'ⓡ' (line 915) 993s # Converting 'Ⓢ' => 'ⓢ' (line 916) 993s # Converting 'Ⓣ' => 'ⓣ' (line 917) 993s # Converting 'Ⓤ' => 'ⓤ' (line 918) 993s # Converting 'Ⓥ' => 'ⓥ' (line 919) 993s # Converting 'Ⓦ' => 'ⓦ' (line 920) 993s # Converting 'Ⓧ' => 'ⓧ' (line 921) 993s # Converting 'Ⓨ' => 'ⓨ' (line 922) 993s # Converting 'Ⓩ' => 'ⓩ' (line 923) 993s # Converting 'Ⰰ' => 'ⰰ' (line 924) 993s # Converting 'Ⰱ' => 'ⰱ' (line 925) 993s # Converting 'Ⰲ' => 'ⰲ' (line 926) 993s # Converting 'Ⰳ' => 'ⰳ' (line 927) 993s # Converting 'Ⰴ' => 'ⰴ' (line 928) 993s # Converting 'Ⰵ' => 'ⰵ' (line 929) 993s # Converting 'Ⰶ' => 'ⰶ' (line 930) 993s # Converting 'Ⰷ' => 'ⰷ' (line 931) 993s # Converting 'Ⰸ' => 'ⰸ' (line 932) 993s # Converting 'Ⰹ' => 'ⰹ' (line 933) 993s # Converting 'Ⰺ' => 'ⰺ' (line 934) 993s # Converting 'Ⰻ' => 'ⰻ' (line 935) 993s # Converting 'Ⰼ' => 'ⰼ' (line 936) 993s # Converting 'Ⰽ' => 'ⰽ' (line 937) 993s # Converting 'Ⰾ' => 'ⰾ' (line 938) 993s # Converting 'Ⰿ' => 'ⰿ' (line 939) 993s # Converting 'Ⱀ' => 'ⱀ' (line 940) 993s # Converting 'Ⱁ' => 'ⱁ' (line 941) 993s # Converting 'Ⱂ' => 'ⱂ' (line 942) 993s # Converting 'Ⱃ' => 'ⱃ' (line 943) 993s # Converting 'Ⱄ' => 'ⱄ' (line 944) 993s # Converting 'Ⱅ' => 'ⱅ' (line 945) 993s # Converting 'Ⱆ' => 'ⱆ' (line 946) 993s # Converting 'Ⱇ' => 'ⱇ' (line 947) 993s # Converting 'Ⱈ' => 'ⱈ' (line 948) 993s # Converting 'Ⱉ' => 'ⱉ' (line 949) 993s # Converting 'Ⱊ' => 'ⱊ' (line 950) 993s # Converting 'Ⱋ' => 'ⱋ' (line 951) 993s # Converting 'Ⱌ' => 'ⱌ' (line 952) 993s # Converting 'Ⱍ' => 'ⱍ' (line 953) 993s # Converting 'Ⱎ' => 'ⱎ' (line 954) 993s # Converting 'Ⱏ' => 'ⱏ' (line 955) 993s # Converting 'Ⱐ' => 'ⱐ' (line 956) 993s # Converting 'Ⱑ' => 'ⱑ' (line 957) 993s # Converting 'Ⱒ' => 'ⱒ' (line 958) 993s # Converting 'Ⱓ' => 'ⱓ' (line 959) 993s # Converting 'Ⱔ' => 'ⱔ' (line 960) 993s # Converting 'Ⱕ' => 'ⱕ' (line 961) 993s # Converting 'Ⱖ' => 'ⱖ' (line 962) 993s # Converting 'Ⱗ' => 'ⱗ' (line 963) 993s # Converting 'Ⱘ' => 'ⱘ' (line 964) 993s # Converting 'Ⱙ' => 'ⱙ' (line 965) 993s # Converting 'Ⱚ' => 'ⱚ' (line 966) 993s # Converting 'Ⱛ' => 'ⱛ' (line 967) 993s # Converting 'Ⱜ' => 'ⱜ' (line 968) 993s # Converting 'Ⱝ' => 'ⱝ' (line 969) 993s # Converting 'Ⱞ' => 'ⱞ' (line 970) 993s # Converting 'Ⱟ' => 'ⱟ' (line 971) 993s # Converting 'Ⱡ' => 'ⱡ' (line 972) 993s # Converting 'Ɫ' => 'ɫ' (line 973) 993s # Converting 'Ᵽ' => 'ᵽ' (line 974) 993s # Converting 'Ɽ' => 'ɽ' (line 975) 993s # Converting 'Ⱨ' => 'ⱨ' (line 976) 993s # Converting 'Ⱪ' => 'ⱪ' (line 977) 993s # Converting 'Ⱬ' => 'ⱬ' (line 978) 993s # Converting 'Ɑ' => 'ɑ' (line 979) 993s # Converting 'Ɱ' => 'ɱ' (line 980) 993s # Converting 'Ɐ' => 'ɐ' (line 981) 993s # Converting 'Ɒ' => 'ɒ' (line 982) 993s # Converting 'Ⱳ' => 'ⱳ' (line 983) 993s # Converting 'Ⱶ' => 'ⱶ' (line 984) 993s # Converting 'Ȿ' => 'ȿ' (line 985) 993s # Converting 'Ɀ' => 'ɀ' (line 986) 993s # Converting 'Ⲁ' => 'ⲁ' (line 987) 993s # Converting 'Ⲃ' => 'ⲃ' (line 988) 993s # Converting 'Ⲅ' => 'ⲅ' (line 989) 993s # Converting 'Ⲇ' => 'ⲇ' (line 990) 993s # Converting 'Ⲉ' => 'ⲉ' (line 991) 993s # Converting 'Ⲋ' => 'ⲋ' (line 992) 993s # Converting 'Ⲍ' => 'ⲍ' (line 993) 993s # Converting 'Ⲏ' => 'ⲏ' (line 994) 993s # Converting 'Ⲑ' => 'ⲑ' (line 995) 993s # Converting 'Ⲓ' => 'ⲓ' (line 996) 993s # Converting 'Ⲕ' => 'ⲕ' (line 997) 993s # Converting 'Ⲗ' => 'ⲗ' (line 998) 993s # Converting 'Ⲙ' => 'ⲙ' (line 999) 993s # Converting 'Ⲛ' => 'ⲛ' (line 1000) 993s # Converting 'Ⲝ' => 'ⲝ' (line 1001) 993s # Converting 'Ⲟ' => 'ⲟ' (line 1002) 993s # Converting 'Ⲡ' => 'ⲡ' (line 1003) 993s # Converting 'Ⲣ' => 'ⲣ' (line 1004) 993s # Converting 'Ⲥ' => 'ⲥ' (line 1005) 993s # Converting 'Ⲧ' => 'ⲧ' (line 1006) 993s # Converting 'Ⲩ' => 'ⲩ' (line 1007) 993s # Converting 'Ⲫ' => 'ⲫ' (line 1008) 993s # Converting 'Ⲭ' => 'ⲭ' (line 1009) 993s # Converting 'Ⲯ' => 'ⲯ' (line 1010) 993s # Converting 'Ⲱ' => 'ⲱ' (line 1011) 993s # Converting 'Ⲳ' => 'ⲳ' (line 1012) 993s # Converting 'Ⲵ' => 'ⲵ' (line 1013) 993s # Converting 'Ⲷ' => 'ⲷ' (line 1014) 993s # Converting 'Ⲹ' => 'ⲹ' (line 1015) 993s # Converting 'Ⲻ' => 'ⲻ' (line 1016) 993s # Converting 'Ⲽ' => 'ⲽ' (line 1017) 993s # Converting 'Ⲿ' => 'ⲿ' (line 1018) 993s # Converting 'Ⳁ' => 'ⳁ' (line 1019) 993s # Converting 'Ⳃ' => 'ⳃ' (line 1020) 993s # Converting 'Ⳅ' => 'ⳅ' (line 1021) 993s # Converting 'Ⳇ' => 'ⳇ' (line 1022) 993s # Converting 'Ⳉ' => 'ⳉ' (line 1023) 993s # Converting 'Ⳋ' => 'ⳋ' (line 1024) 993s # Converting 'Ⳍ' => 'ⳍ' (line 1025) 993s # Converting 'Ⳏ' => 'ⳏ' (line 1026) 993s # Converting 'Ⳑ' => 'ⳑ' (line 1027) 993s # Converting 'Ⳓ' => 'ⳓ' (line 1028) 993s # Converting 'Ⳕ' => 'ⳕ' (line 1029) 993s # Converting 'Ⳗ' => 'ⳗ' (line 1030) 993s # Converting 'Ⳙ' => 'ⳙ' (line 1031) 993s # Converting 'Ⳛ' => 'ⳛ' (line 1032) 993s # Converting 'Ⳝ' => 'ⳝ' (line 1033) 993s # Converting 'Ⳟ' => 'ⳟ' (line 1034) 993s # Converting 'Ⳡ' => 'ⳡ' (line 1035) 993s # Converting 'Ⳣ' => 'ⳣ' (line 1036) 993s # Converting 'Ⳬ' => 'ⳬ' (line 1037) 993s # Converting 'Ⳮ' => 'ⳮ' (line 1038) 993s # Converting 'Ⳳ' => 'ⳳ' (line 1039) 993s # Converting 'Ꙁ' => 'ꙁ' (line 1040) 993s # Converting 'Ꙃ' => 'ꙃ' (line 1041) 993s # Converting 'Ꙅ' => 'ꙅ' (line 1042) 993s # Converting 'Ꙇ' => 'ꙇ' (line 1043) 993s # Converting 'Ꙉ' => 'ꙉ' (line 1044) 993s # Converting 'Ꙋ' => 'ꙋ' (line 1045) 993s # Converting 'Ꙍ' => 'ꙍ' (line 1046) 993s # Converting 'Ꙏ' => 'ꙏ' (line 1047) 993s # Converting 'Ꙑ' => 'ꙑ' (line 1048) 993s # Converting 'Ꙓ' => 'ꙓ' (line 1049) 993s # Converting 'Ꙕ' => 'ꙕ' (line 1050) 993s # Converting 'Ꙗ' => 'ꙗ' (line 1051) 993s # Converting 'Ꙙ' => 'ꙙ' (line 1052) 993s # Converting 'Ꙛ' => 'ꙛ' (line 1053) 993s # Converting 'Ꙝ' => 'ꙝ' (line 1054) 993s # Converting 'Ꙟ' => 'ꙟ' (line 1055) 993s # Converting 'Ꙡ' => 'ꙡ' (line 1056) 993s # Converting 'Ꙣ' => 'ꙣ' (line 1057) 993s # Converting 'Ꙥ' => 'ꙥ' (line 1058) 993s # Converting 'Ꙧ' => 'ꙧ' (line 1059) 993s # Converting 'Ꙩ' => 'ꙩ' (line 1060) 993s # Converting 'Ꙫ' => 'ꙫ' (line 1061) 993s # Converting 'Ꙭ' => 'ꙭ' (line 1062) 993s # Converting 'Ꚁ' => 'ꚁ' (line 1063) 993s # Converting 'Ꚃ' => 'ꚃ' (line 1064) 993s # Converting 'Ꚅ' => 'ꚅ' (line 1065) 993s # Converting 'Ꚇ' => 'ꚇ' (line 1066) 993s # Converting 'Ꚉ' => 'ꚉ' (line 1067) 993s # Converting 'Ꚋ' => 'ꚋ' (line 1068) 993s # Converting 'Ꚍ' => 'ꚍ' (line 1069) 993s # Converting 'Ꚏ' => 'ꚏ' (line 1070) 993s # Converting 'Ꚑ' => 'ꚑ' (line 1071) 993s # Converting 'Ꚓ' => 'ꚓ' (line 1072) 993s # Converting 'Ꚕ' => 'ꚕ' (line 1073) 993s # Converting 'Ꚗ' => 'ꚗ' (line 1074) 993s # Converting 'Ꚙ' => 'ꚙ' (line 1075) 993s # Converting 'Ꚛ' => 'ꚛ' (line 1076) 993s # Converting 'Ꜣ' => 'ꜣ' (line 1077) 993s # Converting 'Ꜥ' => 'ꜥ' (line 1078) 993s # Converting 'Ꜧ' => 'ꜧ' (line 1079) 993s # Converting 'Ꜩ' => 'ꜩ' (line 1080) 993s # Converting 'Ꜫ' => 'ꜫ' (line 1081) 993s # Converting 'Ꜭ' => 'ꜭ' (line 1082) 993s # Converting 'Ꜯ' => 'ꜯ' (line 1083) 993s # Converting 'Ꜳ' => 'ꜳ' (line 1084) 993s # Converting 'Ꜵ' => 'ꜵ' (line 1085) 993s # Converting 'Ꜷ' => 'ꜷ' (line 1086) 993s # Converting 'Ꜹ' => 'ꜹ' (line 1087) 993s # Converting 'Ꜻ' => 'ꜻ' (line 1088) 993s # Converting 'Ꜽ' => 'ꜽ' (line 1089) 993s # Converting 'Ꜿ' => 'ꜿ' (line 1090) 993s # Converting 'Ꝁ' => 'ꝁ' (line 1091) 993s # Converting 'Ꝃ' => 'ꝃ' (line 1092) 993s # Converting 'Ꝅ' => 'ꝅ' (line 1093) 993s # Converting 'Ꝇ' => 'ꝇ' (line 1094) 993s # Converting 'Ꝉ' => 'ꝉ' (line 1095) 993s # Converting 'Ꝋ' => 'ꝋ' (line 1096) 993s # Converting 'Ꝍ' => 'ꝍ' (line 1097) 993s # Converting 'Ꝏ' => 'ꝏ' (line 1098) 993s # Converting 'Ꝑ' => 'ꝑ' (line 1099) 993s # Converting 'Ꝓ' => 'ꝓ' (line 1100) 993s # Converting 'Ꝕ' => 'ꝕ' (line 1101) 993s # Converting 'Ꝗ' => 'ꝗ' (line 1102) 993s # Converting 'Ꝙ' => 'ꝙ' (line 1103) 993s # Converting 'Ꝛ' => 'ꝛ' (line 1104) 993s # Converting 'Ꝝ' => 'ꝝ' (line 1105) 993s # Converting 'Ꝟ' => 'ꝟ' (line 1106) 993s # Converting 'Ꝡ' => 'ꝡ' (line 1107) 993s # Converting 'Ꝣ' => 'ꝣ' (line 1108) 993s # Converting 'Ꝥ' => 'ꝥ' (line 1109) 993s # Converting 'Ꝧ' => 'ꝧ' (line 1110) 993s # Converting 'Ꝩ' => 'ꝩ' (line 1111) 993s # Converting 'Ꝫ' => 'ꝫ' (line 1112) 993s # Converting 'Ꝭ' => 'ꝭ' (line 1113) 993s # Converting 'Ꝯ' => 'ꝯ' (line 1114) 993s # Converting 'Ꝺ' => 'ꝺ' (line 1115) 993s # Converting 'Ꝼ' => 'ꝼ' (line 1116) 993s # Converting 'Ᵹ' => 'ᵹ' (line 1117) 993s # Converting 'Ꝿ' => 'ꝿ' (line 1118) 993s # Converting 'Ꞁ' => 'ꞁ' (line 1119) 993s # Converting 'Ꞃ' => 'ꞃ' (line 1120) 993s # Converting 'Ꞅ' => 'ꞅ' (line 1121) 993s # Converting 'Ꞇ' => 'ꞇ' (line 1122) 993s # Converting 'Ꞌ' => 'ꞌ' (line 1123) 993s # Converting 'Ɥ' => 'ɥ' (line 1124) 993s # Converting 'Ꞑ' => 'ꞑ' (line 1125) 993s # Converting 'Ꞓ' => 'ꞓ' (line 1126) 993s # Converting 'Ꞗ' => 'ꞗ' (line 1127) 993s # Converting 'Ꞙ' => 'ꞙ' (line 1128) 993s # Converting 'Ꞛ' => 'ꞛ' (line 1129) 993s # Converting 'Ꞝ' => 'ꞝ' (line 1130) 993s # Converting 'Ꞟ' => 'ꞟ' (line 1131) 993s # Converting 'Ꞡ' => 'ꞡ' (line 1132) 993s # Converting 'Ꞣ' => 'ꞣ' (line 1133) 993s # Converting 'Ꞥ' => 'ꞥ' (line 1134) 993s # Converting 'Ꞧ' => 'ꞧ' (line 1135) 993s # Converting 'Ꞩ' => 'ꞩ' (line 1136) 993s # Converting 'Ɦ' => 'ɦ' (line 1137) 993s # Converting 'Ɜ' => 'ɜ' (line 1138) 993s # Converting 'Ɡ' => 'ɡ' (line 1139) 993s # Converting 'Ɬ' => 'ɬ' (line 1140) 993s # Converting 'Ɪ' => 'ɪ' (line 1141) 993s # Converting 'Ʞ' => 'ʞ' (line 1142) 993s # Converting 'Ʇ' => 'ʇ' (line 1143) 993s # Converting 'Ʝ' => 'ʝ' (line 1144) 993s # Converting 'Ꭓ' => 'ꭓ' (line 1145) 993s # Converting 'Ꞵ' => 'ꞵ' (line 1146) 993s # Converting 'Ꞷ' => 'ꞷ' (line 1147) 993s # Converting 'Ꞹ' => 'ꞹ' (line 1148) 993s # Converting 'Ꞻ' => 'ꞻ' (line 1149) 993s # Converting 'Ꞽ' => 'ꞽ' (line 1150) 993s # Converting 'Ꞿ' => 'ꞿ' (line 1151) 993s # Converting 'Ꟁ' => 'ꟁ' (line 1152) 993s # Converting 'Ꟃ' => 'ꟃ' (line 1153) 993s # Converting 'Ꞔ' => 'ꞔ' (line 1154) 993s # Converting 'Ʂ' => 'ʂ' (line 1155) 993s # Converting 'Ᶎ' => 'ᶎ' (line 1156) 993s # Converting 'Ꟈ' => 'ꟈ' (line 1157) 993s # Converting 'Ꟊ' => 'ꟊ' (line 1158) 993s # Converting 'Ɤ' => 'ɤ' (line 1159) 993s # Converting 'Ꟍ' => 'ꟍ' (line 1160) 993s # Converting '꟎' => '꟏' (line 1161) 993s # Converting 'Ꟑ' => 'ꟑ' (line 1162) 993s # Converting '꟒' => 'ꟓ' (line 1163) 993s # Converting '꟔' => 'ꟕ' (line 1164) 993s # Converting 'Ꟗ' => 'ꟗ' (line 1165) 993s # Converting 'Ꟙ' => 'ꟙ' (line 1166) 993s # Converting 'Ꟛ' => 'ꟛ' (line 1167) 993s # Converting 'Ƛ' => 'ƛ' (line 1168) 993s # Converting 'Ꟶ' => 'ꟶ' (line 1169) 993s # Converting 'ꭰ' => 'Ꭰ' (line 1170) 993s # Converting 'ꭱ' => 'Ꭱ' (line 1171) 993s # Converting 'ꭲ' => 'Ꭲ' (line 1172) 993s # Converting 'ꭳ' => 'Ꭳ' (line 1173) 993s # Converting 'ꭴ' => 'Ꭴ' (line 1174) 993s # Converting 'ꭵ' => 'Ꭵ' (line 1175) 993s # Converting 'ꭶ' => 'Ꭶ' (line 1176) 993s # Converting 'ꭷ' => 'Ꭷ' (line 1177) 993s # Converting 'ꭸ' => 'Ꭸ' (line 1178) 993s # Converting 'ꭹ' => 'Ꭹ' (line 1179) 993s # Converting 'ꭺ' => 'Ꭺ' (line 1180) 993s # Converting 'ꭻ' => 'Ꭻ' (line 1181) 993s # Converting 'ꭼ' => 'Ꭼ' (line 1182) 993s # Converting 'ꭽ' => 'Ꭽ' (line 1183) 993s # Converting 'ꭾ' => 'Ꭾ' (line 1184) 993s # Converting 'ꭿ' => 'Ꭿ' (line 1185) 993s # Converting 'ꮀ' => 'Ꮀ' (line 1186) 993s # Converting 'ꮁ' => 'Ꮁ' (line 1187) 993s # Converting 'ꮂ' => 'Ꮂ' (line 1188) 993s # Converting 'ꮃ' => 'Ꮃ' (line 1189) 993s # Converting 'ꮄ' => 'Ꮄ' (line 1190) 993s # Converting 'ꮅ' => 'Ꮅ' (line 1191) 993s # Converting 'ꮆ' => 'Ꮆ' (line 1192) 993s # Converting 'ꮇ' => 'Ꮇ' (line 1193) 993s # Converting 'ꮈ' => 'Ꮈ' (line 1194) 993s # Converting 'ꮉ' => 'Ꮉ' (line 1195) 993s # Converting 'ꮊ' => 'Ꮊ' (line 1196) 993s # Converting 'ꮋ' => 'Ꮋ' (line 1197) 993s # Converting 'ꮌ' => 'Ꮌ' (line 1198) 993s # Converting 'ꮍ' => 'Ꮍ' (line 1199) 993s # Converting 'ꮎ' => 'Ꮎ' (line 1200) 993s # Converting 'ꮏ' => 'Ꮏ' (line 1201) 993s # Converting 'ꮐ' => 'Ꮐ' (line 1202) 993s # Converting 'ꮑ' => 'Ꮑ' (line 1203) 993s # Converting 'ꮒ' => 'Ꮒ' (line 1204) 993s # Converting 'ꮓ' => 'Ꮓ' (line 1205) 993s # Converting 'ꮔ' => 'Ꮔ' (line 1206) 993s # Converting 'ꮕ' => 'Ꮕ' (line 1207) 993s # Converting 'ꮖ' => 'Ꮖ' (line 1208) 993s # Converting 'ꮗ' => 'Ꮗ' (line 1209) 993s # Converting 'ꮘ' => 'Ꮘ' (line 1210) 993s # Converting 'ꮙ' => 'Ꮙ' (line 1211) 993s # Converting 'ꮚ' => 'Ꮚ' (line 1212) 993s # Converting 'ꮛ' => 'Ꮛ' (line 1213) 993s # Converting 'ꮜ' => 'Ꮜ' (line 1214) 993s # Converting 'ꮝ' => 'Ꮝ' (line 1215) 993s # Converting 'ꮞ' => 'Ꮞ' (line 1216) 993s # Converting 'ꮟ' => 'Ꮟ' (line 1217) 993s # Converting 'ꮠ' => 'Ꮠ' (line 1218) 993s # Converting 'ꮡ' => 'Ꮡ' (line 1219) 993s # Converting 'ꮢ' => 'Ꮢ' (line 1220) 993s # Converting 'ꮣ' => 'Ꮣ' (line 1221) 993s # Converting 'ꮤ' => 'Ꮤ' (line 1222) 993s # Converting 'ꮥ' => 'Ꮥ' (line 1223) 993s # Converting 'ꮦ' => 'Ꮦ' (line 1224) 993s # Converting 'ꮧ' => 'Ꮧ' (line 1225) 993s # Converting 'ꮨ' => 'Ꮨ' (line 1226) 993s # Converting 'ꮩ' => 'Ꮩ' (line 1227) 993s # Converting 'ꮪ' => 'Ꮪ' (line 1228) 993s # Converting 'ꮫ' => 'Ꮫ' (line 1229) 993s # Converting 'ꮬ' => 'Ꮬ' (line 1230) 993s # Converting 'ꮭ' => 'Ꮭ' (line 1231) 993s # Converting 'ꮮ' => 'Ꮮ' (line 1232) 993s # Converting 'ꮯ' => 'Ꮯ' (line 1233) 993s # Converting 'ꮰ' => 'Ꮰ' (line 1234) 993s # Converting 'ꮱ' => 'Ꮱ' (line 1235) 993s # Converting 'ꮲ' => 'Ꮲ' (line 1236) 993s # Converting 'ꮳ' => 'Ꮳ' (line 1237) 993s # Converting 'ꮴ' => 'Ꮴ' (line 1238) 993s # Converting 'ꮵ' => 'Ꮵ' (line 1239) 993s # Converting 'ꮶ' => 'Ꮶ' (line 1240) 993s # Converting 'ꮷ' => 'Ꮷ' (line 1241) 993s # Converting 'ꮸ' => 'Ꮸ' (line 1242) 993s # Converting 'ꮹ' => 'Ꮹ' (line 1243) 993s # Converting 'ꮺ' => 'Ꮺ' (line 1244) 993s # Converting 'ꮻ' => 'Ꮻ' (line 1245) 993s # Converting 'ꮼ' => 'Ꮼ' (line 1246) 993s # Converting 'ꮽ' => 'Ꮽ' (line 1247) 993s # Converting 'ꮾ' => 'Ꮾ' (line 1248) 993s # Converting 'ꮿ' => 'Ꮿ' (line 1249) 993s # Converting 'ff' => 'ff' (line 1250) 993s # Converting 'fi' => 'fi' (line 1251) 993s # Converting 'fl' => 'fl' (line 1252) 993s # Converting 'ffi' => 'ffi' (line 1253) 993s # Converting 'ffl' => 'ffl' (line 1254) 993s # Converting 'ſt' => 'st' (line 1255) 993s # Converting 'st' => 'st' (line 1256) 993s # Converting 'ﬓ' => 'մն' (line 1257) 993s # Converting 'ﬔ' => 'մե' (line 1258) 993s # Converting 'ﬕ' => 'մի' (line 1259) 993s # Converting 'ﬖ' => 'վն' (line 1260) 993s # Converting 'ﬗ' => 'մխ' (line 1261) 993s # Converting 'A' => 'a' (line 1262) 993s # Converting 'B' => 'b' (line 1263) 993s # Converting 'C' => 'c' (line 1264) 993s # Converting 'D' => 'd' (line 1265) 993s # Converting 'E' => 'e' (line 1266) 993s # Converting 'F' => 'f' (line 1267) 993s # Converting 'G' => 'g' (line 1268) 993s # Converting 'H' => 'h' (line 1269) 993s # Converting 'I' => 'i' (line 1270) 993s # Converting 'J' => 'j' (line 1271) 993s # Converting 'K' => 'k' (line 1272) 993s # Converting 'L' => 'l' (line 1273) 993s # Converting 'M' => 'm' (line 1274) 993s # Converting 'N' => 'n' (line 1275) 993s # Converting 'O' => 'o' (line 1276) 993s # Converting 'P' => 'p' (line 1277) 993s # Converting 'Q' => 'q' (line 1278) 993s # Converting 'R' => 'r' (line 1279) 993s # Converting 'S' => 's' (line 1280) 993s # Converting 'T' => 't' (line 1281) 993s # Converting 'U' => 'u' (line 1282) 993s # Converting 'V' => 'v' (line 1283) 993s # Converting 'W' => 'w' (line 1284) 993s # Converting 'X' => 'x' (line 1285) 993s # Converting 'Y' => 'y' (line 1286) 993s # Converting 'Z' => 'z' (line 1287) 993s # Converting '𐐀' => '𐐨' (line 1288) 993s # Converting '𐐁' => '𐐩' (line 1289) 993s # Converting '𐐂' => '𐐪' (line 1290) 993s # Converting '𐐃' => '𐐫' (line 1291) 993s # Converting '𐐄' => '𐐬' (line 1292) 993s # Converting '𐐅' => '𐐭' (line 1293) 993s # Converting '𐐆' => '𐐮' (line 1294) 993s # Converting '𐐇' => '𐐯' (line 1295) 993s # Converting '𐐈' => '𐐰' (line 1296) 993s # Converting '𐐉' => '𐐱' (line 1297) 993s # Converting '𐐊' => '𐐲' (line 1298) 993s # Converting '𐐋' => '𐐳' (line 1299) 993s # Converting '𐐌' => '𐐴' (line 1300) 993s # Converting '𐐍' => '𐐵' (line 1301) 993s # Converting '𐐎' => '𐐶' (line 1302) 993s # Converting '𐐏' => '𐐷' (line 1303) 993s # Converting '𐐐' => '𐐸' (line 1304) 993s # Converting '𐐑' => '𐐹' (line 1305) 993s # Converting '𐐒' => '𐐺' (line 1306) 993s # Converting '𐐓' => '𐐻' (line 1307) 993s # Converting '𐐔' => '𐐼' (line 1308) 993s # Converting '𐐕' => '𐐽' (line 1309) 993s # Converting '𐐖' => '𐐾' (line 1310) 993s # Converting '𐐗' => '𐐿' (line 1311) 993s # Converting '𐐘' => '𐑀' (line 1312) 993s # Converting '𐐙' => '𐑁' (line 1313) 993s # Converting '𐐚' => '𐑂' (line 1314) 993s # Converting '𐐛' => '𐑃' (line 1315) 993s # Converting '𐐜' => '𐑄' (line 1316) 993s # Converting '𐐝' => '𐑅' (line 1317) 993s # Converting '𐐞' => '𐑆' (line 1318) 993s # Converting '𐐟' => '𐑇' (line 1319) 993s # Converting '𐐠' => '𐑈' (line 1320) 993s # Converting '𐐡' => '𐑉' (line 1321) 993s # Converting '𐐢' => '𐑊' (line 1322) 993s # Converting '𐐣' => '𐑋' (line 1323) 993s # Converting '𐐤' => '𐑌' (line 1324) 993s # Converting '𐐥' => '𐑍' (line 1325) 993s # Converting '𐐦' => '𐑎' (line 1326) 993s # Converting '𐐧' => '𐑏' (line 1327) 993s # Converting '𐒰' => '𐓘' (line 1328) 993s # Converting '𐒱' => '𐓙' (line 1329) 993s # Converting '𐒲' => '𐓚' (line 1330) 993s # Converting '𐒳' => '𐓛' (line 1331) 993s # Converting '𐒴' => '𐓜' (line 1332) 993s # Converting '𐒵' => '𐓝' (line 1333) 993s # Converting '𐒶' => '𐓞' (line 1334) 993s # Converting '𐒷' => '𐓟' (line 1335) 993s # Converting '𐒸' => '𐓠' (line 1336) 993s # Converting '𐒹' => '𐓡' (line 1337) 993s # Converting '𐒺' => '𐓢' (line 1338) 993s # Converting '𐒻' => '𐓣' (line 1339) 993s # Converting '𐒼' => '𐓤' (line 1340) 993s # Converting '𐒽' => '𐓥' (line 1341) 993s # Converting '𐒾' => '𐓦' (line 1342) 993s # Converting '𐒿' => '𐓧' (line 1343) 993s # Converting '𐓀' => '𐓨' (line 1344) 993s # Converting '𐓁' => '𐓩' (line 1345) 993s # Converting '𐓂' => '𐓪' (line 1346) 993s # Converting '𐓃' => '𐓫' (line 1347) 993s # Converting '𐓄' => '𐓬' (line 1348) 993s # Converting '𐓅' => '𐓭' (line 1349) 993s # Converting '𐓆' => '𐓮' (line 1350) 993s # Converting '𐓇' => '𐓯' (line 1351) 993s # Converting '𐓈' => '𐓰' (line 1352) 993s # Converting '𐓉' => '𐓱' (line 1353) 993s # Converting '𐓊' => '𐓲' (line 1354) 993s # Converting '𐓋' => '𐓳' (line 1355) 993s # Converting '𐓌' => '𐓴' (line 1356) 993s # Converting '𐓍' => '𐓵' (line 1357) 993s # Converting '𐓎' => '𐓶' (line 1358) 993s # Converting '𐓏' => '𐓷' (line 1359) 993s # Converting '𐓐' => '𐓸' (line 1360) 993s # Converting '𐓑' => '𐓹' (line 1361) 993s # Converting '𐓒' => '𐓺' (line 1362) 993s # Converting '𐓓' => '𐓻' (line 1363) 993s # Converting '𐕰' => '𐖗' (line 1364) 993s # Converting '𐕱' => '𐖘' (line 1365) 993s # Converting '𐕲' => '𐖙' (line 1366) 993s # Converting '𐕳' => '𐖚' (line 1367) 993s # Converting '𐕴' => '𐖛' (line 1368) 993s # Converting '𐕵' => '𐖜' (line 1369) 993s # Converting '𐕶' => '𐖝' (line 1370) 993s # Converting '𐕷' => '𐖞' (line 1371) 993s # Converting '𐕸' => '𐖟' (line 1372) 993s # Converting '𐕹' => '𐖠' (line 1373) 993s # Converting '𐕺' => '𐖡' (line 1374) 993s # Converting '𐕼' => '𐖣' (line 1375) 993s # Converting '𐕽' => '𐖤' (line 1376) 993s # Converting '𐕾' => '𐖥' (line 1377) 993s # Converting '𐕿' => '𐖦' (line 1378) 993s # Converting '𐖀' => '𐖧' (line 1379) 993s # Converting '𐖁' => '𐖨' (line 1380) 993s # Converting '𐖂' => '𐖩' (line 1381) 993s # Converting '𐖃' => '𐖪' (line 1382) 993s # Converting '𐖄' => '𐖫' (line 1383) 993s # Converting '𐖅' => '𐖬' (line 1384) 993s # Converting '𐖆' => '𐖭' (line 1385) 993s # Converting '𐖇' => '𐖮' (line 1386) 993s # Converting '𐖈' => '𐖯' (line 1387) 993s # Converting '𐖉' => '𐖰' (line 1388) 993s # Converting '𐖊' => '𐖱' (line 1389) 993s # Converting '𐖌' => '𐖳' (line 1390) 993s # Converting '𐖍' => '𐖴' (line 1391) 993s # Converting '𐖎' => '𐖵' (line 1392) 993s # Converting '𐖏' => '𐖶' (line 1393) 993s # Converting '𐖐' => '𐖷' (line 1394) 993s # Converting '𐖑' => '𐖸' (line 1395) 993s # Converting '𐖒' => '𐖹' (line 1396) 993s # Converting '𐖔' => '𐖻' (line 1397) 993s # Converting '𐖕' => '𐖼' (line 1398) 993s # Converting '𐲀' => '𐳀' (line 1399) 993s # Converting '𐲁' => '𐳁' (line 1400) 993s # Converting '𐲂' => '𐳂' (line 1401) 993s # Converting '𐲃' => '𐳃' (line 1402) 993s # Converting '𐲄' => '𐳄' (line 1403) 993s # Converting '𐲅' => '𐳅' (line 1404) 993s # Converting '𐲆' => '𐳆' (line 1405) 993s # Converting '𐲇' => '𐳇' (line 1406) 993s # Converting '𐲈' => '𐳈' (line 1407) 993s # Converting '𐲉' => '𐳉' (line 1408) 993s # Converting '𐲊' => '𐳊' (line 1409) 993s # Converting '𐲋' => '𐳋' (line 1410) 993s # Converting '𐲌' => '𐳌' (line 1411) 993s # Converting '𐲍' => '𐳍' (line 1412) 993s # Converting '𐲎' => '𐳎' (line 1413) 993s # Converting '𐲏' => '𐳏' (line 1414) 993s # Converting '𐲐' => '𐳐' (line 1415) 993s # Converting '𐲑' => '𐳑' (line 1416) 993s # Converting '𐲒' => '𐳒' (line 1417) 993s # Converting '𐲓' => '𐳓' (line 1418) 993s # Converting '𐲔' => '𐳔' (line 1419) 993s # Converting '𐲕' => '𐳕' (line 1420) 993s # Converting '𐲖' => '𐳖' (line 1421) 993s # Converting '𐲗' => '𐳗' (line 1422) 993s # Converting '𐲘' => '𐳘' (line 1423) 993s # Converting '𐲙' => '𐳙' (line 1424) 993s # Converting '𐲚' => '𐳚' (line 1425) 993s # Converting '𐲛' => '𐳛' (line 1426) 993s # Converting '𐲜' => '𐳜' (line 1427) 993s # Converting '𐲝' => '𐳝' (line 1428) 993s # Converting '𐲞' => '𐳞' (line 1429) 993s # Converting '𐲟' => '𐳟' (line 1430) 993s # Converting '𐲠' => '𐳠' (line 1431) 993s # Converting '𐲡' => '𐳡' (line 1432) 993s # Converting '𐲢' => '𐳢' (line 1433) 993s # Converting '𐲣' => '𐳣' (line 1434) 993s # Converting '𐲤' => '𐳤' (line 1435) 993s # Converting '𐲥' => '𐳥' (line 1436) 993s # Converting '𐲦' => '𐳦' (line 1437) 993s # Converting '𐲧' => '𐳧' (line 1438) 993s # Converting '𐲨' => '𐳨' (line 1439) 993s # Converting '𐲩' => '𐳩' (line 1440) 993s # Converting '𐲪' => '𐳪' (line 1441) 993s # Converting '𐲫' => '𐳫' (line 1442) 993s # Converting '𐲬' => '𐳬' (line 1443) 993s # Converting '𐲭' => '𐳭' (line 1444) 993s # Converting '𐲮' => '𐳮' (line 1445) 993s # Converting '𐲯' => '𐳯' (line 1446) 993s # Converting '𐲰' => '𐳰' (line 1447) 993s # Converting '𐲱' => '𐳱' (line 1448) 993s # Converting '𐲲' => '𐳲' (line 1449) 993s # Converting '𐵐' => '𐵰' (line 1450) 993s # Converting '𐵑' => '𐵱' (line 1451) 993s # Converting '𐵒' => '𐵲' (line 1452) 993s # Converting '𐵓' => '𐵳' (line 1453) 993s # Converting '𐵔' => '𐵴' (line 1454) 993s # Converting '𐵕' => '𐵵' (line 1455) 993s # Converting '𐵖' => '𐵶' (line 1456) 993s # Converting '𐵗' => '𐵷' (line 1457) 993s # Converting '𐵘' => '𐵸' (line 1458) 993s # Converting '𐵙' => '𐵹' (line 1459) 993s # Converting '𐵚' => '𐵺' (line 1460) 993s # Converting '𐵛' => '𐵻' (line 1461) 993s # Converting '𐵜' => '𐵼' (line 1462) 993s # Converting '𐵝' => '𐵽' (line 1463) 993s # Converting '𐵞' => '𐵾' (line 1464) 993s # Converting '𐵟' => '𐵿' (line 1465) 993s # Converting '𐵠' => '𐶀' (line 1466) 993s # Converting '𐵡' => '𐶁' (line 1467) 993s # Converting '𐵢' => '𐶂' (line 1468) 993s # Converting '𐵣' => '𐶃' (line 1469) 993s # Converting '𐵤' => '𐶄' (line 1470) 993s # Converting '𐵥' => '𐶅' (line 1471) 993s # Converting '𑢠' => '𑣀' (line 1472) 993s # Converting '𑢡' => '𑣁' (line 1473) 993s # Converting '𑢢' => '𑣂' (line 1474) 993s # Converting '𑢣' => '𑣃' (line 1475) 993s # Converting '𑢤' => '𑣄' (line 1476) 993s # Converting '𑢥' => '𑣅' (line 1477) 993s # Converting '𑢦' => '𑣆' (line 1478) 993s # Converting '𑢧' => '𑣇' (line 1479) 993s # Converting '𑢨' => '𑣈' (line 1480) 993s # Converting '𑢩' => '𑣉' (line 1481) 993s # Converting '𑢪' => '𑣊' (line 1482) 993s # Converting '𑢫' => '𑣋' (line 1483) 993s # Converting '𑢬' => '𑣌' (line 1484) 993s # Converting '𑢭' => '𑣍' (line 1485) 993s # Converting '𑢮' => '𑣎' (line 1486) 993s # Converting '𑢯' => '𑣏' (line 1487) 993s # Converting '𑢰' => '𑣐' (line 1488) 993s # Converting '𑢱' => '𑣑' (line 1489) 993s # Converting '𑢲' => '𑣒' (line 1490) 993s # Converting '𑢳' => '𑣓' (line 1491) 993s # Converting '𑢴' => '𑣔' (line 1492) 993s # Converting '𑢵' => '𑣕' (line 1493) 993s # Converting '𑢶' => '𑣖' (line 1494) 993s # Converting '𑢷' => '𑣗' (line 1495) 993s # Converting '𑢸' => '𑣘' (line 1496) 993s # Converting '𑢹' => '𑣙' (line 1497) 993s # Converting '𑢺' => '𑣚' (line 1498) 993s # Converting '𑢻' => '𑣛' (line 1499) 993s # Converting '𑢼' => '𑣜' (line 1500) 993s # Converting '𑢽' => '𑣝' (line 1501) 993s # Converting '𑢾' => '𑣞' (line 1502) 993s # Converting '𑢿' => '𑣟' (line 1503) 993s # Converting '𖹀' => '𖹠' (line 1504) 993s # Converting '𖹁' => '𖹡' (line 1505) 993s # Converting '𖹂' => '𖹢' (line 1506) 993s # Converting '𖹃' => '𖹣' (line 1507) 993s # Converting '𖹄' => '𖹤' (line 1508) 993s # Converting '𖹅' => '𖹥' (line 1509) 993s # Converting '𖹆' => '𖹦' (line 1510) 993s # Converting '𖹇' => '𖹧' (line 1511) 993s # Converting '𖹈' => '𖹨' (line 1512) 993s # Converting '𖹉' => '𖹩' (line 1513) 993s # Converting '𖹊' => '𖹪' (line 1514) 993s # Converting '𖹋' => '𖹫' (line 1515) 993s # Converting '𖹌' => '𖹬' (line 1516) 993s # Converting '𖹍' => '𖹭' (line 1517) 993s # Converting '𖹎' => '𖹮' (line 1518) 993s # Converting '𖹏' => '𖹯' (line 1519) 993s # Converting '𖹐' => '𖹰' (line 1520) 993s # Converting '𖹑' => '𖹱' (line 1521) 993s # Converting '𖹒' => '𖹲' (line 1522) 993s # Converting '𖹓' => '𖹳' (line 1523) 993s # Converting '𖹔' => '𖹴' (line 1524) 993s # Converting '𖹕' => '𖹵' (line 1525) 993s # Converting '𖹖' => '𖹶' (line 1526) 993s # Converting '𖹗' => '𖹷' (line 1527) 993s # Converting '𖹘' => '𖹸' (line 1528) 993s # Converting '𖹙' => '𖹹' (line 1529) 993s # Converting '𖹚' => '𖹺' (line 1530) 993s # Converting '𖹛' => '𖹻' (line 1531) 993s # Converting '𖹜' => '𖹼' (line 1532) 993s # Converting '𖹝' => '𖹽' (line 1533) 993s # Converting '𖹞' => '𖹾' (line 1534) 993s # Converting '𖹟' => '𖹿' (line 1535) 993s # Converting '𖺠' => '𖺻' (line 1536) 993s # Converting '𖺡' => '𖺼' (line 1537) 993s # Converting '𖺢' => '𖺽' (line 1538) 993s # Converting '𖺣' => '𖺾' (line 1539) 993s # Converting '𖺤' => '𖺿' (line 1540) 993s # Converting '𖺥' => '𖻀' (line 1541) 993s # Converting '𖺦' => '𖻁' (line 1542) 993s # Converting '𖺧' => '𖻂' (line 1543) 993s # Converting '𖺨' => '𖻃' (line 1544) 993s # Converting '𖺩' => '𖻄' (line 1545) 993s # Converting '𖺪' => '𖻅' (line 1546) 993s # Converting '𖺫' => '𖻆' (line 1547) 993s # Converting '𖺬' => '𖻇' (line 1548) 993s # Converting '𖺭' => '𖻈' (line 1549) 993s # Converting '𖺮' => '𖻉' (line 1550) 993s # Converting '𖺯' => '𖻊' (line 1551) 993s # Converting '𖺰' => '𖻋' (line 1552) 993s # Converting '𖺱' => '𖻌' (line 1553) 993s # Converting '𖺲' => '𖻍' (line 1554) 993s # Converting '𖺳' => '𖻎' (line 1555) 993s # Converting '𖺴' => '𖻏' (line 1556) 993s # Converting '𖺵' => '𖻐' (line 1557) 993s # Converting '𖺶' => '𖻑' (line 1558) 993s # Converting '𖺷' => '𖻒' (line 1559) 993s # Converting '𖺸' => '𖻓' (line 1560) 993s # Converting '𞤀' => '𞤢' (line 1561) 993s # Converting '𞤁' => '𞤣' (line 1562) 993s # Converting '𞤂' => '𞤤' (line 1563) 993s # Converting '𞤃' => '𞤥' (line 1564) 993s # Converting '𞤄' => '𞤦' (line 1565) 993s # Converting '𞤅' => '𞤧' (line 1566) 993s # Converting '𞤆' => '𞤨' (line 1567) 993s # Converting '𞤇' => '𞤩' (line 1568) 993s # Converting '𞤈' => '𞤪' (line 1569) 993s # Converting '𞤉' => '𞤫' (line 1570) 993s # Converting '𞤊' => '𞤬' (line 1571) 993s # Converting '𞤋' => '𞤭' (line 1572) 993s # Converting '𞤌' => '𞤮' (line 1573) 993s # Converting '𞤍' => '𞤯' (line 1574) 993s # Converting '𞤎' => '𞤰' (line 1575) 993s # Converting '𞤏' => '𞤱' (line 1576) 993s # Converting '𞤐' => '𞤲' (line 1577) 993s # Converting '𞤑' => '𞤳' (line 1578) 993s # Converting '𞤒' => '𞤴' (line 1579) 993s # Converting '𞤓' => '𞤵' (line 1580) 993s # Converting '𞤔' => '𞤶' (line 1581) 993s # Converting '𞤕' => '𞤷' (line 1582) 993s # Converting '𞤖' => '𞤸' (line 1583) 993s # Converting '𞤗' => '𞤹' (line 1584) 993s # Converting '𞤘' => '𞤺' (line 1585) 993s # Converting '𞤙' => '𞤻' (line 1586) 993s # Converting '𞤚' => '𞤼' (line 1587) 993s # Converting '𞤛' => '𞤽' (line 1588) 993s # Converting '𞤜' => '𞤾' (line 1589) 993s # Converting '𞤝' => '𞤿' (line 1590) 993s # Converting '𞤞' => '𞥀' (line 1591) 993s # Converting '𞤟' => '𞥁' (line 1592) 993s # Converting '𞤠' => '𞥂' (line 1593) 993s # Converting '𞤡' => '𞥃' (line 1594) 993s ok 6 /unicode/casemap_and_casefold 993s ok 7 /unicode/cases 993s ok 8 /unicode/character-type 993s ok 9 /unicode/cntrl 993s ok 10 /unicode/combining-class 993s # Composing U+000041 and U+000042; expecting U+000000 993s # Composing U+000041 and U+000000; expecting U+000000 993s # Composing U+000066 and U+000069; expecting U+000000 993s # Composing U+000308 and U+000301; expecting U+000000 993s # Composing U+000f71 and U+000f72; expecting U+000000 993s # Composing U+00212b and U+000000; expecting U+000000 993s # Composing U+0000c5 and U+000000; expecting U+000000 993s # Composing U+002126 and U+000000; expecting U+000000 993s # Composing U+0003a9 and U+000000; expecting U+000000 993s # Composing U+000041 and U+00030a; expecting U+0000c5 993s # Composing U+00006f and U+000302; expecting U+0000f4 993s # Composing U+001e63 and U+000307; expecting U+001e69 993s # Composing U+000073 and U+000323; expecting U+001e63 993s # Composing U+000064 and U+000307; expecting U+001e0b 993s # Composing U+000064 and U+000323; expecting U+001e0d 993s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 993s # Composing U+001111 and U+001171; expecting U+00d4cc 993s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 993s # Composing U+00110e and U+001173; expecting U+00ce20 993s # Composing U+001100 and U+001160; expecting U+000000 993s # Composing U+001100 and U+001177; expecting U+000000 993s # Composing U+00abff and U+0011b6; expecting U+000000 993s # Composing U+00d7a5 and U+0011b6; expecting U+000000 993s # Composing U+00ac01 and U+0011b6; expecting U+000000 993s # Composing U+00d4cc and U+0011a6; expecting U+000000 993s # Composing U+00d4cc and U+0011c4; expecting U+000000 993s # Composing U+01611e and U+01611e; expecting U+016121 993s # Composing U+01611e and U+01611f; expecting U+016123 993s # Composing U+0000f6 and U+000304; expecting U+00022b 993s # Composing U+000b47 and U+000b57; expecting U+000b4c 993s # Composing U+0000a0 and U+000b57; expecting U+000000 993s # Composing U+016e00 and U+00030a; expecting U+000000 993s # Composing U+00212b and U+016e00; expecting U+000000 993s # Composing U+001e63 and U+000306; expecting U+000000 993s # Composing U+001e63 and U+000304; expecting U+000000 993s # Composing U+001e63 and U+000b57; expecting U+000000 993s # Composing U+001e63 and U+000000; expecting U+000000 993s # Composing U+001e63 and U+0113c2; expecting U+000000 993s # Composing U+001f01 and U+0113c2; expecting U+000000 993s # Composing U+00006e and U+000302; expecting U+000000 993s # Composing U+001e63 and U+01611f; expecting U+000000 993s # Composing U+01138e and U+0113b8; expecting U+000000 993s # Composing U+01611e and U+000000; expecting U+000000 993s # Composing U+000000 and U+01611f; expecting U+000000 993s # Composing U+011390 and U+0113c2; expecting U+000000 993s ok 11 /unicode/compose 993s ok 12 /unicode/decompose 993s ok 13 /unicode/decompose-tail 993s ok 14 /unicode/defined 993s ok 15 /unicode/digit 993s ok 16 /unicode/digit-value 993s # Fully decomposing U+000041; expecting 1 codepoints 993s # Fully decomposing U+00fb01; expecting 1 codepoints 993s # Fully decomposing U+00212b; expecting 2 codepoints 993s # Fully decomposing U+002126; expecting 1 codepoints 993s # Fully decomposing U+000344; expecting 2 codepoints 993s # Fully decomposing U+000f73; expecting 2 codepoints 993s # Fully decomposing U+0000c5; expecting 2 codepoints 993s # Fully decomposing U+0000f4; expecting 2 codepoints 993s # Fully decomposing U+001e69; expecting 3 codepoints 993s # Fully decomposing U+001e63; expecting 2 codepoints 993s # Fully decomposing U+001e0b; expecting 2 codepoints 993s # Fully decomposing U+001e0d; expecting 2 codepoints 993s # Fully decomposing U+00d4db; expecting 3 codepoints 993s # Fully decomposing U+00d4cc; expecting 2 codepoints 993s # Fully decomposing U+00ce31; expecting 3 codepoints 993s # Fully decomposing U+00ce20; expecting 2 codepoints 993s ok 17 /unicode/fully-decompose-canonical 993s ok 18 /unicode/fully-decompose-len 993s ok 19 /unicode/normalization 993s ok 20 /unicode/graph 993s # Testing script Zyyy (code 1517910393) 993s # Testing script Zinh (code 1516858984) 993s # Testing script Zmth (code 1517122664) 993s # Testing script Arab (code 1098015074) 993s # Testing script Armn (code 1098018158) 993s # Testing script Beng (code 1113943655) 993s # Testing script Bopo (code 1114599535) 993s # Testing script Cher (code 1130915186) 993s # Testing script Copt (code 1131376756) 993s # Testing script Cyrl (code 1132032620) 993s # Testing script Dsrt (code 1148416628) 993s # Testing script Deva (code 1147500129) 993s # Testing script Ethi (code 1165256809) 993s # Testing script Geor (code 1197830002) 993s # Testing script Goth (code 1198486632) 993s # Testing script Grek (code 1198679403) 993s # Testing script Gujr (code 1198877298) 993s # Testing script Guru (code 1198879349) 993s # Testing script Hani (code 1214344809) 993s # Testing script Hang (code 1214344807) 993s # Testing script Hebr (code 1214603890) 993s # Testing script Hira (code 1214870113) 993s # Testing script Knda (code 1265525857) 993s # Testing script Kana (code 1264676449) 993s # Testing script Khmr (code 1265134962) 993s # Testing script Laoo (code 1281453935) 993s # Testing script Latn (code 1281455214) 993s # Testing script Mlym (code 1298954605) 993s # Testing script Mong (code 1299148391) 993s # Testing script Mymr (code 1299803506) 993s # Testing script Ogam (code 1332175213) 993s # Testing script Ital (code 1232363884) 993s # Testing script Orya (code 1332902241) 993s # Testing script Runr (code 1383427698) 993s # Testing script Sinh (code 1399418472) 993s # Testing script Syrc (code 1400468067) 993s # Testing script Taml (code 1415671148) 993s # Testing script Telu (code 1415933045) 993s # Testing script Thaa (code 1416126817) 993s # Testing script Thai (code 1416126825) 993s # Testing script Tibt (code 1416192628) 993s # Testing script Cans (code 1130458739) 993s # Testing script Yiii (code 1500080489) 993s # Testing script Tglg (code 1416064103) 993s # Testing script Hano (code 1214344815) 993s # Testing script Buhd (code 1114990692) 993s # Testing script Tagb (code 1415669602) 993s # Testing script Brai (code 1114792297) 993s # Testing script Cprt (code 1131442804) 993s # Testing script Limb (code 1281977698) 993s # Testing script Osma (code 1332964705) 993s # Testing script Shaw (code 1399349623) 993s # Testing script Linb (code 1281977954) 993s # Testing script Tale (code 1415670885) 993s # Testing script Ugar (code 1432838514) 993s # Testing script Talu (code 1415670901) 993s # Testing script Bugi (code 1114990441) 993s # Testing script Glag (code 1198285159) 993s # Testing script Tfng (code 1415999079) 993s # Testing script Sylo (code 1400466543) 993s # Testing script Xpeo (code 1483761007) 993s # Testing script Khar (code 1265131890) 993s # Testing script Zzzz (code 1517976186) 993s # Testing script Bali (code 1113681001) 993s # Testing script Xsux (code 1483961720) 993s # Testing script Phnx (code 1349021304) 993s # Testing script Phag (code 1349017959) 993s # Testing script Nkoo (code 1315663727) 993s # Testing script Kali (code 1264675945) 993s # Testing script Lepc (code 1281716323) 993s # Testing script Rjng (code 1382706791) 993s # Testing script Sund (code 1400204900) 993s # Testing script Saur (code 1398895986) 993s # Testing script Cham (code 1130914157) 993s # Testing script Olck (code 1332503403) 993s # Testing script Vaii (code 1449224553) 993s # Testing script Cari (code 1130459753) 993s # Testing script Lyci (code 1283023721) 993s # Testing script Lydi (code 1283023977) 993s # Testing script Avst (code 1098281844) 993s # Testing script Bamu (code 1113681269) 993s # Testing script Egyp (code 1164409200) 993s # Testing script Armi (code 1098018153) 993s # Testing script Phli (code 1349020777) 993s # Testing script Prti (code 1349678185) 993s # Testing script Java (code 1247901281) 993s # Testing script Kthi (code 1265920105) 993s # Testing script Lisu (code 1281979253) 993s # Testing script Mtei (code 1299473769) 993s # Testing script Sarb (code 1398895202) 993s # Testing script Orkh (code 1332898664) 993s # Testing script Samr (code 1398893938) 993s # Testing script Lana (code 1281453665) 993s # Testing script Tavt (code 1415673460) 993s # Testing script Batk (code 1113683051) 993s # Testing script Brah (code 1114792296) 993s # Testing script Mand (code 1298230884) 993s # Testing script Cakm (code 1130457965) 993s # Testing script Merc (code 1298494051) 993s # Testing script Mero (code 1298494063) 993s # Testing script Plrd (code 1349284452) 993s # Testing script Shrd (code 1399353956) 993s # Testing script Sora (code 1399812705) 993s # Testing script Takr (code 1415670642) 993s # Testing script Bass (code 1113682803) 993s # Testing script Aghb (code 1097295970) 993s # Testing script Dupl (code 1148547180) 993s # Testing script Elba (code 1164730977) 993s # Testing script Gran (code 1198678382) 993s # Testing script Khoj (code 1265135466) 993s # Testing script Sind (code 1399418468) 993s # Testing script Lina (code 1281977953) 993s # Testing script Mahj (code 1298229354) 993s # Testing script Mani (code 1298230889) 993s # Testing script Mend (code 1298493028) 993s # Testing script Modi (code 1299145833) 993s # Testing script Mroo (code 1299345263) 993s # Testing script Nbat (code 1315070324) 993s # Testing script Narb (code 1315009122) 993s # Testing script Perm (code 1348825709) 993s # Testing script Hmng (code 1215131239) 993s # Testing script Palm (code 1348562029) 993s # Testing script Pauc (code 1348564323) 993s # Testing script Phlp (code 1349020784) 993s # Testing script Sidd (code 1399415908) 993s # Testing script Tirh (code 1416196712) 993s # Testing script Wara (code 1466004065) 993s # Testing script Ahom (code 1097363309) 993s # Testing script Hluw (code 1215067511) 993s # Testing script Hatr (code 1214346354) 993s # Testing script Mult (code 1299541108) 993s # Testing script Hung (code 1215655527) 993s # Testing script Sgnw (code 1399287415) 993s # Testing script Adlm (code 1097100397) 993s # Testing script Bhks (code 1114139507) 993s # Testing script Marc (code 1298231907) 993s # Testing script Newa (code 1315272545) 993s # Testing script Osge (code 1332963173) 993s # Testing script Tang (code 1415671399) 993s # Testing script Gonm (code 1198485101) 993s # Testing script Nshu (code 1316186229) 993s # Testing script Soyo (code 1399814511) 993s # Testing script Zanb (code 1516334690) 993s # Testing script Dogr (code 1148151666) 993s # Testing script Gong (code 1198485095) 993s # Testing script Rohg (code 1383032935) 993s # Testing script Maka (code 1298230113) 993s # Testing script Medf (code 1298490470) 993s # Testing script Sogo (code 1399809903) 993s # Testing script Sogd (code 1399809892) 993s # Testing script Elym (code 1164736877) 993s # Testing script Nand (code 1315008100) 993s # Testing script Hmnp (code 1215131248) 993s # Testing script Wcho (code 1466132591) 993s # Testing script Chrs (code 1130918515) 993s # Testing script Diak (code 1147756907) 993s # Testing script Kits (code 1265202291) 993s # Testing script Yezi (code 1499822697) 993s # Testing script Cpmn (code 1131441518) 993s # Testing script Ougr (code 1333094258) 993s # Testing script Tnsa (code 1416524641) 993s # Testing script Toto (code 1416590447) 993s # Testing script Vith (code 1449751656) 993s # Testing script Kawi (code 1264678761) 993s # Testing script Nagm (code 1315006317) 993s # Testing script Todr (code 1416586354) 993s # Testing script Gara (code 1197568609) 993s # Testing script Tutg (code 1416983655) 993s # Testing script Sunu (code 1400204917) 993s # Testing script Gukh (code 1198877544) 993s # Testing script Krai (code 1265787241) 993s # Testing script Onao (code 1332633967) 993s ok 21 /unicode/iso15924 993s ok 22 /unicode/lower 993s ok 23 /unicode/mark 993s ok 24 /unicode/mirror 993s ok 25 /unicode/print 993s ok 26 /unicode/punctuation 993s ok 27 /unicode/script 993s ok 28 /unicode/space 993s ok 29 /unicode/strdown 993s ok 30 /unicode/strup 993s ok 31 /unicode/turkish-strupdown 993s ok 32 /unicode/title 993s ok 33 /unicode/upper 993s ok 34 /unicode/validate 993s ok 35 /unicode/wide 993s ok 36 /unicode/unichar-to-utf8 993s ok 37 /unicode/xdigit 993s ok 38 /unicode/xdigit-value 993s ok 39 /unicode/zero-width 993s ok 40 /unicode/normalize 993s # Testing script 0 993s # Testing script 1 993s # Testing script 2 993s # Testing script 3 993s # Testing script 4 993s # Testing script 5 993s # Testing script 6 993s # Testing script 7 993s # Testing script 8 993s # Testing script 9 993s # Testing script 10 993s # Testing script 11 993s # Testing script 12 993s # Testing script 13 993s # Testing script 14 993s # Testing script 15 993s # Testing script 16 993s # Testing script 17 993s # Testing script 18 993s # Testing script 19 993s # Testing script 20 993s # Testing script 21 993s # Testing script 22 993s # Testing script 23 993s # Testing script 24 993s # Testing script 25 993s # Testing script 26 993s # Testing script 27 993s # Testing script 28 993s # Testing script 29 993s # Testing script 30 993s # Testing script 31 993s # Testing script 32 993s # Testing script 33 993s # Testing script 34 993s # Testing script 35 993s # Testing script 36 993s # Testing script 37 993s # Testing script 38 993s # Testing script 39 993s # Testing script 40 993s # Testing script 41 993s # Testing script 42 993s # Testing script 43 993s # Testing script 44 993s # Testing script 45 993s # Testing script 46 993s # Testing script 47 993s # Testing script 48 993s # Testing script 49 993s # Testing script 50 993s # Testing script 51 993s # Testing script 52 993s # Testing script 53 993s # Testing script 54 993s # Testing script 55 993s # Testing script 56 993s # Testing script 57 993s # Testing script 58 993s # Testing script 59 993s # Testing script 60 993s # Testing script 61 993s # Testing script 62 993s # Testing script 63 993s # Testing script 64 993s # Testing script 65 993s # Testing script 66 993s # Testing script 67 993s # Testing script 68 993s # Testing script 69 993s # Testing script 70 993s # Testing script 71 993s # Testing script 72 993s # Testing script 73 993s # Testing script 74 993s # Testing script 75 993s # Testing script 76 993s # Testing script 77 993s # Testing script 78 993s # Testing script 79 993s # Testing script 80 993s # Testing script 81 993s # Testing script 82 993s # Testing script 83 993s # Testing script 84 993s # Testing script 85 993s # Testing script 86 993s # Testing script 87 993s # Testing script 88 993s # Testing script 89 993s # Testing script 90 993s # Testing script 91 993s # Testing script 92 993s # Testing script 93 993s # Testing script 94 993s # Testing script 95 993s # Testing script 96 993s # Testing script 97 993s # Testing script 98 993s # Testing script 99 993s # Testing script 100 993s # Testing script 101 993s # Testing script 102 993s # Testing script 103 993s # Testing script 104 993s # Testing script 105 993s # Testing script 106 993s # Testing script 107 993s # Testing script 108 993s # Testing script 109 993s # Testing script 110 993s # Testing script 111 993s # Testing script 112 993s # Testing script 113 993s # Testing script 114 993s # Testing script 115 993s # Testing script 116 993s # Testing script 117 993s # Testing script 118 993s # Testing script 119 993s # Testing script 120 993s # Testing script 121 993s # Testing script 122 993s # Testing script 123 993s # Testing script 124 993s # Testing script 125 993s # Testing script 126 993s # Testing script 127 993s # Testing script 128 993s # Testing script 129 993s # Testing script 130 993s # Testing script 131 993s # Testing script 132 993s # Testing script 133 993s # Testing script 134 993s # Testing script 135 993s # Testing script 136 993s # Testing script 137 993s # Testing script 138 993s # Testing script 139 993s # Testing script 140 993s # Testing script 141 993s # Testing script 142 993s # Testing script 143 993s # Testing script 144 993s # Testing script 145 993s # Testing script 146 993s # Testing script 147 993s # Testing script 148 993s # Testing script 149 993s # Testing script 150 993s # Testing script 151 993s # Testing script 152 993s # Testing script 153 993s # Testing script 154 993s # Testing script 155 993s # Testing script 156 993s # Testing script 157 993s # Testing script 158 993s # Testing script 159 993s # Testing script 160 993s # Testing script 161 993s # Testing script 162 993s # Testing script 163 993s # Testing script 164 993s # Testing script 165 993s # Testing script 166 993s # Testing script 167 993s # Testing script 168 993s # Testing script 169 993s # Testing script 170 993s # Testing script 171 993s # Testing script 172 993s # Testing script 173 993s # Testing script 174 993s # Testing script 175 993s ok 41 /unicode/unknown-scripts 993s # End of unicode tests 993s TAP version 14 993s # random seed: R02Sf2315452bcc2b18bd5f7ebe556f01a0c 993s 1..28 993s # Start of base64 tests 993s ok 1 /base64/encode 993s ok 2 /base64/decode 993s ok 3 /base64/decode-inplace 993s ok 4 /base64/encode-decode 993s # Start of full tests 993s ok 5 /base64/full/1 993s ok 6 /base64/full/2 993s ok 7 /base64/full/3 993s ok 8 /base64/full/4 993s # End of full tests 993s # Start of encode tests 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 993s ok 9 /base64/encode/empty 993s # Start of incremental tests 993s # Start of small-block tests 993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 993s ok 10 /base64/encode/incremental/small-block/1 993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 993s ok 11 /base64/encode/incremental/small-block/2 993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 993s ok 12 /base64/encode/incremental/small-block/3 993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 993s ok 13 /base64/encode/incremental/small-block/4 993s # End of small-block tests 993s # End of incremental tests 993s # End of encode tests 993s # Start of incremental tests 993s # Start of nobreak tests 993s ok 14 /base64/incremental/nobreak/1 993s ok 15 /base64/incremental/nobreak/2 993s ok 16 /base64/incremental/nobreak/3 993s ok 17 /base64/incremental/nobreak/4-a 993s ok 18 /base64/incremental/nobreak/4-b 993s ok 19 /base64/incremental/nobreak/4-c 993s # End of nobreak tests 993s # Start of break tests 993s ok 20 /base64/incremental/break/1 993s ok 21 /base64/incremental/break/2 993s ok 22 /base64/incremental/break/3 993s # End of break tests 993s # Start of smallblock tests 993s ok 23 /base64/incremental/smallblock/1 993s ok 24 /base64/incremental/smallblock/2 993s ok 25 /base64/incremental/smallblock/3 993s ok 26 /base64/incremental/smallblock/4 993s # End of smallblock tests 993s # End of incremental tests 993s # Start of decode tests 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 993s ok 27 /base64/decode/empty 993s # End of decode tests 993s # Start of encode-decode tests 993s # Vector 0: 993s # Vector 1: f 993s # Vector 2: fo 993s # Vector 3: foo 993s # Vector 4: foob 993s # Vector 5: fooba 993s # Vector 6: foobar 993s ok 28 /base64/encode-decode/rfc4648 993s # End of encode-decode tests 993s # End of base64 tests 993s TAP version 14 993s # random seed: R02S7b07de6bcd626f14e5826f8af6a40db6 993s 1..1 993s # Start of gdbus tests 993s # Start of proxy tests 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_1VJBK3/gdbus/proxy/vs-threads/.dirs/runtime 994s # Executing: glib/gdbus-proxy-threads.test 995s ok 1 /gdbus/proxy/vs-threads 995s # slow test /gdbus/proxy/vs-threads executed in 2.11 secs 995s # End of proxy tests 995s # End of gdbus tests 995s cleaning up pid 1886 995s ok - glib/gdbus-proxy-threads.test 995s # Running test: glib/portal-support-flatpak-none.test 995s TAP version 14 995s # random seed: R02S3b75b3cea85342a823f3f9e7220b7f98 995s 1..1 995s # Start of portal-support tests 995s # Start of flatpak tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/runtime 995s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_ZN1DK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 995s ok 1 /portal-support/flatpak/none 995s # End of flatpak tests 995s # End of portal-support tests 995s ok - glib/portal-support-flatpak-none.test 995s # Running test: glib/references.test 995s TAP version 14 995s # random seed: R02Sfbdd5d3232449c457529511d4d40e779 995s 1..4 995s # Start of gobject tests 995s ok 1 /gobject/references 995s ok 2 /gobject/references-many 995s ok 3 /gobject/references_two 996s ok 4 /gobject/references_run_dispose 996s # End of gobject tests 996s ok - glib/references.test 996s # Running test: glib/codegen.py.test 996s TAP version 13 996s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 996s # gdbus-codegen: /usr/bin/gdbus-codegen 996s # tmpdir: /tmp/tmp5omq_t07 996s # /tmp/tmp5omq_t07/tmppoh0b4m1.xml: 996s # 996s # 996s # 996s # 996s # 996s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5omq_t07/tmppoh0b4m1.xml', '--output', '-', '--header'] 996s # Return code: 0 996s # Output: 996s # /* 996s # * This file is generated by gdbus-codegen, do not modify it. 996s # * 996s # * The license of this code is the same as for the D-Bus interface description 996s # * it was derived from. Note that it links to GLib, so must comply with the 996s # * LGPL linking clauses. 996s # */ 996s # 996s # #ifndef __STDOUT__ 996s # #define __STDOUT__ 996s # 996s # #include 996s # 996s # G_BEGIN_DECLS 996s # 996s # 996s # /* ------------------------------------------------------------------------ */ 996s # /* Declarations for org.project.UsefulInterface */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 996s # 996s # struct _OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 996s # 996s # struct _OrgProjectUsefulInterfaceIface 996s # { 996s # GTypeInterface parent_iface; 996s # 996s # gboolean (*handle_useful_method) ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # }; 996s # 996s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 996s # 996s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 996s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 996s # 996s # 996s # /* D-Bus method call completion functions: */ 996s # void org_project_useful_interface_complete_useful_method ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # 996s # 996s # /* D-Bus method calls: */ 996s # void org_project_useful_interface_call_useful_method ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_finish ( 996s # OrgProjectUsefulInterface *proxy, 996s # GAsyncResult *res, 996s # GError **error); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_sync ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 996s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 996s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceProxy 996s # { 996s # /*< private >*/ 996s # GDBusProxy parent_instance; 996s # OrgProjectUsefulInterfaceProxyPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceProxyClass 996s # { 996s # GDBusProxyClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 996s # #endif 996s # 996s # void org_project_useful_interface_proxy_new ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # void org_project_useful_interface_proxy_new_for_bus ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeleton 996s # { 996s # /*< private >*/ 996s # GDBusInterfaceSkeleton parent_instance; 996s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeletonClass 996s # { 996s # GDBusInterfaceSkeletonClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 996s # #endif 996s # 996s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 996s # 996s # 996s # G_END_DECLS 996s # 996s # #endif /* __STDOUT__ */ 996s # Error: 996s # 996s # /tmp/tmp5omq_t07/tmpeamrn3o2.xml: 996s # 996s # 996s # 996s # 996s # 996s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5omq_t07/tmpeamrn3o2.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 996s # Return code: 0 996s # Output: 996s # /* 996s # * This file is generated by gdbus-codegen, do not modify it. 996s # * 996s # * The license of this code is the same as for the D-Bus interface description 996s # * it was derived from. Note that it links to GLib, so must comply with the 996s # * LGPL linking clauses. 996s # */ 996s # 996s # #ifndef __STDOUT__ 996s # #define __STDOUT__ 996s # 996s # #include 996s # 996s # G_BEGIN_DECLS 996s # 996s # 996s # /* ------------------------------------------------------------------------ */ 996s # /* Declarations for org.project.UsefulInterface */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 996s # 996s # struct _OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 996s # 996s # struct _OrgProjectUsefulInterfaceIface 996s # { 996s # GTypeInterface parent_iface; 996s # 996s # gboolean (*handle_useful_method) ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # }; 996s # 996s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 996s # 996s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 996s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 996s # 996s # 996s # /* D-Bus method call completion functions: */ 996s # void org_project_useful_interface_complete_useful_method ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # 996s # 996s # /* D-Bus method calls: */ 996s # void org_project_useful_interface_call_useful_method ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_finish ( 996s # OrgProjectUsefulInterface *proxy, 996s # GAsyncResult *res, 996s # GError **error); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_sync ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 996s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 996s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceProxy 996s # { 996s # /*< private >*/ 996s # GDBusProxy parent_instance; 996s # OrgProjectUsefulInterfaceProxyPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceProxyClass 996s # { 996s # GDBusProxyClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 996s # #endif 996s # 996s # void org_project_useful_interface_proxy_new ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # void org_project_useful_interface_proxy_new_for_bus ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeleton 996s # { 996s # /*< private >*/ 996s # GDBusInterfaceSkeleton parent_instance; 996s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeletonClass 996s # { 996s # GDBusInterfaceSkeletonClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 996s # #endif 996s # 996s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 996s # 996s # 996s # G_END_DECLS 996s # 996s # #endif /* __STDOUT__ */ 996s # Error: 996s # 996s # /tmp/tmp5omq_t07/tmpsgk5i_2i.xml: 996s # 996s # 996s # 996s # 996s # 996s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5omq_t07/tmpsgk5i_2i.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 996s # Return code: 0 996s # Output: 996s # /* 996s # * This file is generated by gdbus-codegen, do not modify it. 996s # * 996s # * The license of this code is the same as for the D-Bus interface description 996s # * it was derived from. Note that it links to GLib, so must comply with the 996s # * LGPL linking clauses. 996s # */ 996s # 996s # #ifndef __STDOUT__ 996s # #define __STDOUT__ 996s # 996s # #include 996s # 996s # G_BEGIN_DECLS 996s # 996s # 996s # /* ------------------------------------------------------------------------ */ 996s # /* Declarations for org.project.UsefulInterface */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 996s # 996s # struct _OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 996s # 996s # struct _OrgProjectUsefulInterfaceIface 996s # { 996s # GTypeInterface parent_iface; 996s # 996s # gboolean (*handle_useful_method) ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # }; 996s # 996s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 996s # 996s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 996s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 996s # 996s # 996s # /* D-Bus method call completion functions: */ 996s # void org_project_useful_interface_complete_useful_method ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # 996s # 996s # /* D-Bus method calls: */ 996s # void org_project_useful_interface_call_useful_method ( 996s # OrgProjectUsefulInterface *proxy, 996s # GDBusCallFlags call_flags, 996s # gint timeout_msec, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_finish ( 996s # OrgProjectUsefulInterface *proxy, 996s # GAsyncResult *res, 996s # GError **error); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_sync ( 996s # OrgProjectUsefulInterface *proxy, 996s # GDBusCallFlags call_flags, 996s # gint timeout_msec, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 996s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 996s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceProxy 996s # { 996s # /*< private >*/ 996s # GDBusProxy parent_instance; 996s # OrgProjectUsefulInterfaceProxyPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceProxyClass 996s # { 996s # GDBusProxyClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 996s # #endif 996s # 996s # void org_project_useful_interface_proxy_new ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # void org_project_useful_interface_proxy_new_for_bus ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeleton 996s # { 996s # /*< private >*/ 996s # GDBusInterfaceSkeleton parent_instance; 996s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeletonClass 996s # { 996s # GDBusInterfaceSkeletonClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 996s # #endif 996s # 996s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 996s # 996s # 996s # G_END_DECLS 996s # 996s # #endif /* __STDOUT__ */ 996s # Error: 997s ok 2 __main__.TestCodegen.test_dbus_types 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmp6umci5i8 997s # /tmp/tmp6umci5i8/tmp38k2wevn.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmp38k2wevn.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 997s # /tmp/tmp6umci5i8/tmpb3utqci3.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpb3utqci3.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 997s # /tmp/tmp6umci5i8/tmp2ajlac58.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmp2ajlac58.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 997s # /tmp/tmp6umci5i8/tmpaglsnvwm.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpaglsnvwm.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 997s # /tmp/tmp6umci5i8/tmpznjqcaew.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpznjqcaew.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 997s # /tmp/tmp6umci5i8/tmpxpfp1uib.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpxpfp1uib.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 997s # /tmp/tmp6umci5i8/tmpqx4zirm0.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpqx4zirm0.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 997s # /tmp/tmp6umci5i8/tmpgihtasnv.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpgihtasnv.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 997s # /tmp/tmp6umci5i8/tmpvkqsbtm8.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpvkqsbtm8.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 997s # /tmp/tmp6umci5i8/tmpjgb78bmi.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpjgb78bmi.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: D-Bus maximum signature length of 255 exceeded. 997s # /tmp/tmp6umci5i8/tmpysy_ntti.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpysy_ntti.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: D-Bus maximum signature length of 255 exceeded. 997s # /tmp/tmp6umci5i8/tmpzpehe962.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpzpehe962.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 997s # /tmp/tmp6umci5i8/tmpm4y4hg__.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpm4y4hg__.xml', '--output', '-', '--body'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # ERROR: D-Bus maximum signature length of 255 exceeded. 997s # /tmp/tmp6umci5i8/tmpoxjcq6z4.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpoxjcq6z4.xml', '--output', '-', '--body'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface GoodTypes 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:GoodTypes 997s # * @title: GoodTypes 997s # * @short_description: Generated C code for the GoodTypes D-Bus interface 997s # * 997s # * This section contains code for working with the GoodTypes D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for GoodTypes ---- */ 997s # 997s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodPropertyType", 997s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 997s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 997s # NULL 997s # }, 997s # "good-property-type", 997s # FALSE, 997s # TRUE 997s # }; 997s # 997s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 997s # { 997s # &_good_types_property_info_good_property_type.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodTypes", 997s # NULL, 997s # NULL, 997s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 997s # NULL 997s # }, 997s # "good-types", 997s # }; 997s # 997s # 997s # /** 997s # * good_types_interface_info: 997s # * 997s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # good_types_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * good_types_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 997s # { 997s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # 997s # /** 997s # * GoodTypes: 997s # * 997s # * Abstract interface type for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # /** 997s # * GoodTypesIface: 997s # * @parent_iface: The parent interface. 997s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 997s # * 997s # * Virtual table for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # typedef GoodTypesIface GoodTypesInterface; 997s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 997s # 997s # static void 997s # good_types_default_init (GoodTypesIface *iface) 997s # { 997s # /* GObject properties for D-Bus properties: */ 997s # /** 997s # * GoodTypes:good-property-type: 997s # * 997s # * Represents the D-Bus property "GoodPropertyType". 997s # * 997s # * 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. 997s # */ 997s # g_object_interface_install_property (iface, 997s # 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)); 997s # } 997s # 997s # /** 997s # * good_types_get_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets the value of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # GVariant * 997s # good_types_get_good_property_type (GoodTypes *object) 997s # { 997s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 997s # 997s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 997s # } 997s # 997s # /** 997s # * good_types_dup_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets a copy of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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(). 997s # */ 997s # GVariant * 997s # good_types_dup_good_property_type (GoodTypes *object) 997s # { 997s # GVariant *value; 997s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 997s # return value; 997s # } 997s # 997s # /** 997s # * good_types_set_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * @value: The value to set. 997s # * 997s # * Sets the "GoodPropertyType" D-Bus property to @value. 997s # * 997s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 997s # */ 997s # void 997s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 997s # { 997s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesProxy: 997s # * 997s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesProxy. 997s # */ 997s # 997s # struct _GoodTypesProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (GoodTypesProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_proxy_finalize (GObject *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_proxy_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 997s # if (info->use_gvariant) 997s # { 997s # g_value_set_variant (value, variant); 997s # } 997s # else 997s # { 997s # if (variant != NULL) 997s # g_dbus_gvariant_to_gvalue (variant, value); 997s # } 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 997s # GAsyncResult *res, 997s # gpointer user_data) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info = user_data; 997s # GError *error; 997s # GVariant *_ret; 997s # error = NULL; 997s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 997s # if (!_ret) 997s # { 997s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 997s # info->parent_struct.name, 997s # error->message, g_quark_to_string (error->domain), error->code); 997s # g_error_free (error); 997s # } 997s # else 997s # { 997s # g_variant_unref (_ret); 997s # } 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_dbus_proxy_call (G_DBUS_PROXY (object), 997s # "org.freedesktop.DBus.Properties.Set", 997s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static GVariant * 997s # good_types_proxy_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # GVariant *variant; 997s # GVariant *value = NULL; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 997s # value = variant; 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_proxy_init (GoodTypesProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = good_types_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 997s # } 997s # 997s # static void 997s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_proxy_finalize; 997s # gobject_class->get_property = good_types_proxy_get_property; 997s # gobject_class->set_property = good_types_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = good_types_proxy_g_signal; 997s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_proxy_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 997s # * 997s # * 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()). 997s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * good_types_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * 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()). 997s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesSkeleton: 997s # * 997s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesSkeleton. 997s # */ 997s # 997s # struct _GoodTypesSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _good_types_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # 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); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _good_types_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _good_types_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 997s # { 997s # _good_types_skeleton_handle_method_call, 997s # _good_types_skeleton_handle_get_property, 997s # _good_types_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return good_types_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #else 997s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #endif 997s # if (_good_types_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static gboolean _good_types_emit_changed (gpointer user_data); 997s # 997s # static void 997s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # gboolean emit_changed = FALSE; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # { 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # emit_changed = TRUE; 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # 997s # if (emit_changed) 997s # _good_types_emit_changed (skeleton); 997s # } 997s # 997s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (GoodTypesSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_skeleton_finalize (GObject *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # guint n; 997s # for (n = 0; n < 1; n++) 997s # g_value_unset (&skeleton->priv->properties[n]); 997s # g_free (skeleton->priv->properties); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # /* coverity[missing_lock : SUPPRESS] */ 997s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 997s # #else 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # #endif 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static gboolean 997s # _good_types_emit_changed (gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GList *l; 997s # GVariantBuilder builder; 997s # GVariantBuilder invalidated_builder; 997s # guint num_changes; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # #else 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # #endif 997s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *cp = l->data; 997s # GVariant *variant; 997s # const GValue *cur_value; 997s # 997s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 997s # if (!_g_value_equal (cur_value, &cp->orig_value)) 997s # { 997s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 997s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 997s # g_variant_unref (variant); 997s # num_changes++; 997s # } 997s # } 997s # if (num_changes > 0) 997s # { 997s # GList *connections, *ll; 997s # GVariant *signal_variant; 997s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 997s # &builder, &invalidated_builder)); 997s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 997s # for (ll = connections; ll != NULL; ll = ll->next) 997s # { 997s # GDBusConnection *connection = ll->data; 997s # 997s # g_dbus_connection_emit_signal (connection, 997s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 997s # "org.freedesktop.DBus.Properties", 997s # "PropertiesChanged", 997s # signal_variant, 997s # NULL); 997s # } 997s # g_variant_unref (signal_variant); 997s # g_list_free_full (connections, g_object_unref); 997s # } 997s # else 997s # { 997s # g_variant_builder_clear (&builder); 997s # g_variant_builder_clear (&invalidated_builder); 997s # } 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # skeleton->priv->changed_properties = NULL; 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return FALSE; 997s # } 997s # 997s # static void 997s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 997s # { 997s # ChangedProperty *cp; 997s # GList *l; 997s # cp = NULL; 997s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *i_cp = l->data; 997s # if (i_cp->info == info) 997s # { 997s # cp = i_cp; 997s # break; 997s # } 997s # } 997s # if (cp == NULL) 997s # { 997s # cp = g_new0 (ChangedProperty, 1); 997s # cp->prop_id = prop_id; 997s # cp->info = info; 997s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 997s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 997s # g_value_copy (orig_value, &cp->orig_value); 997s # } 997s # } 997s # 997s # static void 997s # good_types_skeleton_notify (GObject *object, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties != NULL && 997s # skeleton->priv->changed_properties_idle_source == NULL) 997s # { 997s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 997s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 997s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 997s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 997s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 997s # g_source_unref (skeleton->priv->changed_properties_idle_source); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static void 997s # good_types_skeleton_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_object_freeze_notify (object); 997s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 997s # { 997s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 997s # info->emits_changed_signal) 997s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 997s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 997s # g_object_notify_by_pspec (object, pspec); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # g_object_thaw_notify (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # skeleton->priv->properties = g_new0 (GValue, 1); 997s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # GVariant *value; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_skeleton_finalize; 997s # gobject_class->get_property = good_types_skeleton_get_property; 997s # gobject_class->set_property = good_types_skeleton_set_property; 997s # gobject_class->notify = good_types_skeleton_notify; 997s # 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_skeleton_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface GoodTypes. 997s # * 997s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 997s # */ 997s # GoodTypes * 997s # good_types_skeleton_new (void) 997s # { 997s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 997s # } 997s # Error: 997s # 997s # /tmp/tmp6umci5i8/tmp5n7d80ix.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmp5n7d80ix.xml', '--output', '-', '--body'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface GoodTypes 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:GoodTypes 997s # * @title: GoodTypes 997s # * @short_description: Generated C code for the GoodTypes D-Bus interface 997s # * 997s # * This section contains code for working with the GoodTypes D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for GoodTypes ---- */ 997s # 997s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodPropertyType", 997s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 997s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 997s # NULL 997s # }, 997s # "good-property-type", 997s # FALSE, 997s # TRUE 997s # }; 997s # 997s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 997s # { 997s # &_good_types_property_info_good_property_type.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodTypes", 997s # NULL, 997s # NULL, 997s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 997s # NULL 997s # }, 997s # "good-types", 997s # }; 997s # 997s # 997s # /** 997s # * good_types_interface_info: 997s # * 997s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # good_types_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * good_types_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 997s # { 997s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # 997s # /** 997s # * GoodTypes: 997s # * 997s # * Abstract interface type for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # /** 997s # * GoodTypesIface: 997s # * @parent_iface: The parent interface. 997s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 997s # * 997s # * Virtual table for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # typedef GoodTypesIface GoodTypesInterface; 997s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 997s # 997s # static void 997s # good_types_default_init (GoodTypesIface *iface) 997s # { 997s # /* GObject properties for D-Bus properties: */ 997s # /** 997s # * GoodTypes:good-property-type: 997s # * 997s # * Represents the D-Bus property "GoodPropertyType". 997s # * 997s # * 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. 997s # */ 997s # g_object_interface_install_property (iface, 997s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 997s # } 997s # 997s # /** 997s # * good_types_get_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets the value of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # GVariant * 997s # good_types_get_good_property_type (GoodTypes *object) 997s # { 997s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 997s # 997s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 997s # } 997s # 997s # /** 997s # * good_types_dup_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets a copy of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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(). 997s # */ 997s # GVariant * 997s # good_types_dup_good_property_type (GoodTypes *object) 997s # { 997s # GVariant *value; 997s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 997s # return value; 997s # } 997s # 997s # /** 997s # * good_types_set_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * @value: The value to set. 997s # * 997s # * Sets the "GoodPropertyType" D-Bus property to @value. 997s # * 997s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 997s # */ 997s # void 997s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 997s # { 997s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesProxy: 997s # * 997s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesProxy. 997s # */ 997s # 997s # struct _GoodTypesProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (GoodTypesProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_proxy_finalize (GObject *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_proxy_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 997s # if (info->use_gvariant) 997s # { 997s # g_value_set_variant (value, variant); 997s # } 997s # else 997s # { 997s # if (variant != NULL) 997s # g_dbus_gvariant_to_gvalue (variant, value); 997s # } 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 997s # GAsyncResult *res, 997s # gpointer user_data) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info = user_data; 997s # GError *error; 997s # GVariant *_ret; 997s # error = NULL; 997s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 997s # if (!_ret) 997s # { 997s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 997s # info->parent_struct.name, 997s # error->message, g_quark_to_string (error->domain), error->code); 997s # g_error_free (error); 997s # } 997s # else 997s # { 997s # g_variant_unref (_ret); 997s # } 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_dbus_proxy_call (G_DBUS_PROXY (object), 997s # "org.freedesktop.DBus.Properties.Set", 997s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static GVariant * 997s # good_types_proxy_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # GVariant *variant; 997s # GVariant *value = NULL; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 997s # value = variant; 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_proxy_init (GoodTypesProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = good_types_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 997s # } 997s # 997s # static void 997s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_proxy_finalize; 997s # gobject_class->get_property = good_types_proxy_get_property; 997s # gobject_class->set_property = good_types_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = good_types_proxy_g_signal; 997s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_proxy_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 997s # * 997s # * 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()). 997s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * good_types_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * 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()). 997s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesSkeleton: 997s # * 997s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesSkeleton. 997s # */ 997s # 997s # struct _GoodTypesSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _good_types_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # 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); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _good_types_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _good_types_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 997s # { 997s # _good_types_skeleton_handle_method_call, 997s # _good_types_skeleton_handle_get_property, 997s # _good_types_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return good_types_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #else 997s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #endif 997s # if (_good_types_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static gboolean _good_types_emit_changed (gpointer user_data); 997s # 997s # static void 997s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # gboolean emit_changed = FALSE; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # { 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # emit_changed = TRUE; 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # 997s # if (emit_changed) 997s # _good_types_emit_changed (skeleton); 997s # } 997s # 997s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (GoodTypesSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_skeleton_finalize (GObject *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # guint n; 997s # for (n = 0; n < 1; n++) 997s # g_value_unset (&skeleton->priv->properties[n]); 997s # g_free (skeleton->priv->properties); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # /* coverity[missing_lock : SUPPRESS] */ 997s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 997s # #else 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # #endif 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static gboolean 997s # _good_types_emit_changed (gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GList *l; 997s # GVariantBuilder builder; 997s # GVariantBuilder invalidated_builder; 997s # guint num_changes; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # #else 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # #endif 997s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *cp = l->data; 997s # GVariant *variant; 997s # const GValue *cur_value; 997s # 997s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 997s # if (!_g_value_equal (cur_value, &cp->orig_value)) 997s # { 997s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 997s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 997s # g_variant_unref (variant); 997s # num_changes++; 997s # } 997s # } 997s # if (num_changes > 0) 997s # { 997s # GList *connections, *ll; 997s # GVariant *signal_variant; 997s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 997s # &builder, &invalidated_builder)); 997s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 997s # for (ll = connections; ll != NULL; ll = ll->next) 997s # { 997s # GDBusConnection *connection = ll->data; 997s # 997s # g_dbus_connection_emit_signal (connection, 997s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 997s # "org.freedesktop.DBus.Properties", 997s # "PropertiesChanged", 997s # signal_variant, 997s # NULL); 997s # } 997s # g_variant_unref (signal_variant); 997s # g_list_free_full (connections, g_object_unref); 997s # } 997s # else 997s # { 997s # g_variant_builder_clear (&builder); 997s # g_variant_builder_clear (&invalidated_builder); 997s # } 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # skeleton->priv->changed_properties = NULL; 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return FALSE; 997s # } 997s # 997s # static void 997s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 997s # { 997s # ChangedProperty *cp; 997s # GList *l; 997s # cp = NULL; 997s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *i_cp = l->data; 997s # if (i_cp->info == info) 997s # { 997s # cp = i_cp; 997s # break; 997s # } 997s # } 997s # if (cp == NULL) 997s # { 997s # cp = g_new0 (ChangedProperty, 1); 997s # cp->prop_id = prop_id; 997s # cp->info = info; 997s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 997s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 997s # g_value_copy (orig_value, &cp->orig_value); 997s # } 997s # } 997s # 997s # static void 997s # good_types_skeleton_notify (GObject *object, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties != NULL && 997s # skeleton->priv->changed_properties_idle_source == NULL) 997s # { 997s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 997s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 997s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 997s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 997s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 997s # g_source_unref (skeleton->priv->changed_properties_idle_source); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static void 997s # good_types_skeleton_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_object_freeze_notify (object); 997s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 997s # { 997s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 997s # info->emits_changed_signal) 997s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 997s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 997s # g_object_notify_by_pspec (object, pspec); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # g_object_thaw_notify (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # skeleton->priv->properties = g_new0 (GValue, 1); 997s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # GVariant *value; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_skeleton_finalize; 997s # gobject_class->get_property = good_types_skeleton_get_property; 997s # gobject_class->set_property = good_types_skeleton_set_property; 997s # gobject_class->notify = good_types_skeleton_notify; 997s # 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_skeleton_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface GoodTypes. 997s # * 997s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 997s # */ 997s # GoodTypes * 997s # good_types_skeleton_new (void) 997s # { 997s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 997s # } 997s # Error: 997s # 997s # /tmp/tmp6umci5i8/tmpj6ue5rwn.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6umci5i8/tmpj6ue5rwn.xml', '--output', '-', '--body'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface GoodTypes 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:GoodTypes 997s # * @title: GoodTypes 997s # * @short_description: Generated C code for the GoodTypes D-Bus interface 997s # * 997s # * This section contains code for working with the GoodTypes D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for GoodTypes ---- */ 997s # 997s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodPropertyType", 997s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 997s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 997s # NULL 997s # }, 997s # "good-property-type", 997s # FALSE, 997s # TRUE 997s # }; 997s # 997s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 997s # { 997s # &_good_types_property_info_good_property_type.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodTypes", 997s # NULL, 997s # NULL, 997s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 997s # NULL 997s # }, 997s # "good-types", 997s # }; 997s # 997s # 997s # /** 997s # * good_types_interface_info: 997s # * 997s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # good_types_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * good_types_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 997s # { 997s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # 997s # /** 997s # * GoodTypes: 997s # * 997s # * Abstract interface type for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # /** 997s # * GoodTypesIface: 997s # * @parent_iface: The parent interface. 997s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 997s # * 997s # * Virtual table for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # typedef GoodTypesIface GoodTypesInterface; 997s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 997s # 997s # static void 997s # good_types_default_init (GoodTypesIface *iface) 997s # { 997s # /* GObject properties for D-Bus properties: */ 997s # /** 997s # * GoodTypes:good-property-type: 997s # * 997s # * Represents the D-Bus property "GoodPropertyType". 997s # * 997s # * 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. 997s # */ 997s # g_object_interface_install_property (iface, 997s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 997s # } 997s # 997s # /** 997s # * good_types_get_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets the value of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # GVariant * 997s # good_types_get_good_property_type (GoodTypes *object) 997s # { 997s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 997s # 997s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 997s # } 997s # 997s # /** 997s # * good_types_dup_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets a copy of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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(). 997s # */ 997s # GVariant * 997s # good_types_dup_good_property_type (GoodTypes *object) 997s # { 997s # GVariant *value; 997s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 997s # return value; 997s # } 997s # 997s # /** 997s # * good_types_set_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * @value: The value to set. 997s # * 997s # * Sets the "GoodPropertyType" D-Bus property to @value. 997s # * 997s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 997s # */ 997s # void 997s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 997s # { 997s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesProxy: 997s # * 997s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesProxy. 997s # */ 997s # 997s # struct _GoodTypesProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (GoodTypesProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_proxy_finalize (GObject *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_proxy_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 997s # if (info->use_gvariant) 997s # { 997s # g_value_set_variant (value, variant); 997s # } 997s # else 997s # { 997s # if (variant != NULL) 997s # g_dbus_gvariant_to_gvalue (variant, value); 997s # } 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 997s # GAsyncResult *res, 997s # gpointer user_data) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info = user_data; 997s # GError *error; 997s # GVariant *_ret; 997s # error = NULL; 997s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 997s # if (!_ret) 997s # { 997s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 997s # info->parent_struct.name, 997s # error->message, g_quark_to_string (error->domain), error->code); 997s # g_error_free (error); 997s # } 997s # else 997s # { 997s # g_variant_unref (_ret); 997s # } 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_dbus_proxy_call (G_DBUS_PROXY (object), 997s # "org.freedesktop.DBus.Properties.Set", 997s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static GVariant * 997s # good_types_proxy_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # GVariant *variant; 997s # GVariant *value = NULL; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 997s # value = variant; 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_proxy_init (GoodTypesProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = good_types_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 997s # } 997s # 997s # static void 997s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_proxy_finalize; 997s # gobject_class->get_property = good_types_proxy_get_property; 997s # gobject_class->set_property = good_types_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = good_types_proxy_g_signal; 997s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_proxy_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 997s # * 997s # * 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()). 997s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * good_types_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * 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()). 997s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesSkeleton: 997s # * 997s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesSkeleton. 997s # */ 997s # 997s # struct _GoodTypesSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _good_types_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # 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); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _good_types_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _good_types_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 997s # { 997s # _good_types_skeleton_handle_method_call, 997s # _good_types_skeleton_handle_get_property, 997s # _good_types_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return good_types_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #else 997s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #endif 997s # if (_good_types_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static gboolean _good_types_emit_changed (gpointer user_data); 997s # 997s # static void 997s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # gboolean emit_changed = FALSE; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # { 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # emit_changed = TRUE; 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # 997s # if (emit_changed) 997s # _good_types_emit_changed (skeleton); 997s # } 997s # 997s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (GoodTypesSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_skeleton_finalize (GObject *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # guint n; 997s # for (n = 0; n < 1; n++) 997s # g_value_unset (&skeleton->priv->properties[n]); 997s # g_free (skeleton->priv->properties); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # /* coverity[missing_lock : SUPPRESS] */ 997s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 997s # #else 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # #endif 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static gboolean 997s # _good_types_emit_changed (gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GList *l; 997s # GVariantBuilder builder; 997s # GVariantBuilder invalidated_builder; 997s # guint num_changes; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # #else 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # #endif 997s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *cp = l->data; 997s # GVariant *variant; 997s # const GValue *cur_value; 997s # 997s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 997s # if (!_g_value_equal (cur_value, &cp->orig_value)) 997s # { 997s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 997s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 997s # g_variant_unref (variant); 997s # num_changes++; 997s # } 997s # } 997s # if (num_changes > 0) 997s # { 997s # GList *connections, *ll; 997s # GVariant *signal_variant; 997s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 997s # &builder, &invalidated_builder)); 997s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 997s # for (ll = connections; ll != NULL; ll = ll->next) 997s # { 997s # GDBusConnection *connection = ll->data; 997s # 997s # g_dbus_connection_emit_signal (connection, 997s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 997s # "org.freedesktop.DBus.Properties", 997s # "PropertiesChanged", 997s # signal_variant, 997s # NULL); 997s # } 997s # g_variant_unref (signal_variant); 997s # g_list_free_full (connections, g_object_unref); 997s # } 997s # else 997s # { 997s # g_variant_builder_clear (&builder); 997s # g_variant_builder_clear (&invalidated_builder); 997s # } 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # skeleton->priv->changed_properties = NULL; 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return FALSE; 997s # } 997s # 997s # static void 997s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 997s # { 997s # ChangedProperty *cp; 997s # GList *l; 997s # cp = NULL; 997s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *i_cp = l->data; 997s # if (i_cp->info == info) 997s # { 997s # cp = i_cp; 997s # break; 997s # } 997s # } 997s # if (cp == NULL) 997s # { 997s # cp = g_new0 (ChangedProperty, 1); 997s # cp->prop_id = prop_id; 997s # cp->info = info; 997s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 997s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 997s # g_value_copy (orig_value, &cp->orig_value); 997s # } 997s # } 997s # 997s # static void 997s # good_types_skeleton_notify (GObject *object, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties != NULL && 997s # skeleton->priv->changed_properties_idle_source == NULL) 997s # { 997s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 997s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 997s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 997s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 997s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 997s # g_source_unref (skeleton->priv->changed_properties_idle_source); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static void 997s # good_types_skeleton_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_object_freeze_notify (object); 997s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 997s # { 997s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 997s # info->emits_changed_signal) 997s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 997s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 997s # g_object_notify_by_pspec (object, pspec); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # g_object_thaw_notify (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # skeleton->priv->properties = g_new0 (GValue, 1); 997s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # GVariant *value; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_skeleton_finalize; 997s # gobject_class->get_property = good_types_skeleton_get_property; 997s # gobject_class->set_property = good_types_skeleton_set_property; 997s # gobject_class->notify = good_types_skeleton_notify; 997s # 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_skeleton_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface GoodTypes. 997s # * 997s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 997s # */ 997s # GoodTypes * 997s # good_types_skeleton_new (void) 997s # { 997s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 997s # } 997s # Error: 997s ok 3 __main__.TestCodegen.test_empty_interface_body 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmp6zs4e9sz 997s # /tmp/tmp6zs4e9sz/tmp05xrevwc.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6zs4e9sz/tmp05xrevwc.xml', '--output', '-', '--body'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # Error: 997s ok 4 __main__.TestCodegen.test_empty_interface_header 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmp6cybsacb 997s # /tmp/tmp6cybsacb/tmp4fj2nnra.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6cybsacb/tmp4fj2nnra.xml', '--output', '-', '--header'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s # Error: 997s ok 5 __main__.TestCodegen.test_empty_interface_info_body 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmp2tczs_cd 997s # /tmp/tmp2tczs_cd/tmp1ei4tbzs.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2tczs_cd/tmp1ei4tbzs.xml', '--output', '-', '--interface-info-body'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # Error: 997s ok 6 __main__.TestCodegen.test_empty_interface_info_header 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpnrnp4vwh 997s # /tmp/tmpnrnp4vwh/tmprr35vmlf.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnrnp4vwh/tmprr35vmlf.xml', '--output', '-', '--interface-info-header'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s # Error: 997s ok 7 __main__.TestCodegen.test_extension_bad_file 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpuwfyc7xp 997s # /tmp/tmpuwfyc7xp/tmp9y_44pd0.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuwfyc7xp/tmp9y_44pd0.xml', '--output', '-', '--header', '--extension-path', '/path/that/does/not/exist'] 997s # Return code: 1 997s # Output: 997s # 997s # Error: 997s # WARNING: Traceback (most recent call last): 997s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 329, in codegen_main 997s # codegen_ext = import_from_path("GDBusCodegenExt", args.extension_path) 997s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 46, in import_from_path 997s # raise Exception("Not a Python file") 997s # Exception: Not a Python file 997s # 997s # ERROR: Loading extension ‘/path/that/does/not/exist’ failed 997s ok 8 __main__.TestCodegen.test_extension_code_generate 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpi5oykjl2 997s # /tmp/tmpi5oykjl2/tmp006erbku.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi5oykjl2/tmp006erbku.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* codegen-test-extension body preamble */ 997s # static void 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint G_GNUC_UNUSED, 997s # void *marshal_data) 997s # { 997s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 997s # (void *data1, 997s # GDBusMethodInvocation *arg_method_invocation, 997s # void *data2); 997s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 997s # GCClosure *cc = (GCClosure*) closure; 997s # void *data1, *data2; 997s # gboolean v_return; 997s # 997s # g_return_if_fail (return_value != NULL); 997s # g_return_if_fail (n_param_values == 2); 997s # 997s # if (G_CCLOSURE_SWAP_DATA (closure)) 997s # { 997s # data1 = closure->data; 997s # data2 = g_value_peek_pointer (param_values + 0); 997s # } 997s # else 997s # { 997s # data1 = g_value_peek_pointer (param_values + 0); 997s # data2 = closure->data; 997s # } 997s # 997s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 997s # (marshal_data ? marshal_data : cc->callback); 997s # 997s # v_return = 997s # callback (data1, 997s # g_marshal_value_peek_object (param_values + 1), 997s # data2); 997s # 997s # g_value_set_boolean (return_value, v_return); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface org.project.UsefulInterface 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:OrgProjectUsefulInterface 997s # * @title: OrgProjectUsefulInterface 997s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 997s # * 997s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 997s # 997s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_useful_method = 997s # { 997s # { 997s # -1, 997s # (gchar *) "UsefulMethod", 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "handle-useful-method", 997s # FALSE 997s # }; 997s # 997s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 997s # { 997s # &_org_project_useful_interface_method_info_useful_method.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "org.project.UsefulInterface", 997s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "org-project-useful-interface", 997s # }; 997s # 997s # 997s # /** 997s # * org_project_useful_interface_interface_info: 997s # * 997s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # org_project_useful_interface_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 997s # { 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # inline static void 997s # org_project_useful_interface_method_marshal_useful_method ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint, 997s # void *marshal_data) 997s # { 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 997s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 997s # } 997s # 997s # 997s # /** 997s # * OrgProjectUsefulInterface: 997s # * 997s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 997s # */ 997s # 997s # /** 997s # * OrgProjectUsefulInterfaceIface: 997s # * @parent_iface: The parent interface. 997s # * @handle_useful_method: Handler for the #OrgProjectUsefulInterface::handle-useful-method signal. 997s # * 997s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 997s # */ 997s # 997s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 997s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 997s # 997s # static void 997s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 997s # { 997s # /* GObject signals for incoming D-Bus method calls: */ 997s # /** 997s # * OrgProjectUsefulInterface::handle-useful-method: 997s # * @object: A #OrgProjectUsefulInterface. 997s # * @invocation: A #GDBusMethodInvocation. 997s # * 997s # * Signal emitted when a remote caller is invoking the UsefulMethod() D-Bus method. 997s # * 997s # * 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_useful_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. 997s # * 997s # * 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. 997s # */ 997s # g_signal_new ("handle-useful-method", 997s # G_TYPE_FROM_INTERFACE (iface), 997s # G_SIGNAL_RUN_LAST, 997s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_useful_method), 997s # g_signal_accumulator_true_handled, 997s # NULL, 997s # org_project_useful_interface_method_marshal_useful_method, 997s # G_TYPE_BOOLEAN, 997s # 1, 997s # G_TYPE_DBUS_METHOD_INVOCATION); 997s # 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_call_useful_method: 997s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously invokes the UsefulMethod() D-Bus method on @proxy. 997s # * 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()). 997s # * You can then call org_project_useful_interface_call_useful_method_finish() to get the result of the operation. 997s # * 997s # * See org_project_useful_interface_call_useful_method_sync() for the synchronous, blocking version of this method. 997s # */ 997s # void 997s # org_project_useful_interface_call_useful_method ( 997s # OrgProjectUsefulInterface *proxy, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 997s # "UsefulMethod", 997s # g_variant_new ("()"), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # cancellable, 997s # callback, 997s # user_data); 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_call_useful_method_finish: 997s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_useful_method(). 997s # * @error: Return location for error or %NULL. 997s # * 997s # * Finishes an operation started with org_project_useful_interface_call_useful_method(). 997s # * 997s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 997s # */ 997s # gboolean 997s # org_project_useful_interface_call_useful_method_finish ( 997s # OrgProjectUsefulInterface *proxy, 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GVariant *_ret; 997s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 997s # if (_ret == NULL) 997s # goto _out; 997s # g_variant_get (_ret, 997s # "()"); 997s # g_variant_unref (_ret); 997s # _out: 997s # return _ret != NULL; 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_call_useful_method_sync: 997s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL. 997s # * 997s # * Synchronously invokes the UsefulMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_useful_interface_call_useful_method() for the asynchronous version of this method. 997s # * 997s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 997s # */ 997s # gboolean 997s # org_project_useful_interface_call_useful_method_sync ( 997s # OrgProjectUsefulInterface *proxy, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GVariant *_ret; 997s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 997s # "UsefulMethod", 997s # g_variant_new ("()"), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # cancellable, 997s # error); 997s # if (_ret == NULL) 997s # goto _out; 997s # g_variant_get (_ret, 997s # "()"); 997s # g_variant_unref (_ret); 997s # _out: 997s # return _ret != NULL; 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_complete_useful_method: 997s # * @object: A #OrgProjectUsefulInterface. 997s # * @invocation: (transfer full): A #GDBusMethodInvocation. 997s # * 997s # * Helper function used in service implementations to finish handling invocations of the UsefulMethod() 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. 997s # * 997s # * This method will free @invocation, you cannot use it afterwards. 997s # */ 997s # void 997s # org_project_useful_interface_complete_useful_method ( 997s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 997s # GDBusMethodInvocation *invocation) 997s # { 997s # g_dbus_method_invocation_return_value (invocation, 997s # g_variant_new ("()")); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * OrgProjectUsefulInterfaceProxy: 997s # * 997s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * OrgProjectUsefulInterfaceProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for #OrgProjectUsefulInterfaceProxy. 997s # */ 997s # 997s # struct _OrgProjectUsefulInterfaceProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # org_project_useful_interface_proxy_finalize (GObject *object) 997s # { 997s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 997s # guint prop_id G_GNUC_UNUSED, 997s # GValue *value G_GNUC_UNUSED, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 997s # guint prop_id G_GNUC_UNUSED, 997s # const GValue *value G_GNUC_UNUSED, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 997s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 997s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 997s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 997s # * 997s # * 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()). 997s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # org_project_useful_interface_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectUsefulInterface * 997s # org_project_useful_interface_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectUsefulInterface * 997s # org_project_useful_interface_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * org_project_useful_interface_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * 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()). 997s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # org_project_useful_interface_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectUsefulInterface * 997s # org_project_useful_interface_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectUsefulInterface * 997s # org_project_useful_interface_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * OrgProjectUsefulInterfaceSkeleton: 997s # * 997s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * OrgProjectUsefulInterfaceSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 997s # */ 997s # 997s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _org_project_useful_interface_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # 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); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _org_project_useful_interface_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _org_project_useful_interface_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 997s # { 997s # _org_project_useful_interface_skeleton_handle_method_call, 997s # _org_project_useful_interface_skeleton_handle_get_property, 997s # _org_project_useful_interface_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return org_project_useful_interface_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #else 997s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #endif 997s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static void 997s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # org_project_useful_interface_skeleton_finalize (GObject *object) 997s # { 997s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # /* coverity[missing_lock : SUPPRESS] */ 997s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 997s # #else 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # #endif 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # } 997s # 997s # static void 997s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # /** 997s # * org_project_useful_interface_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 997s # * 997s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 997s # */ 997s # OrgProjectUsefulInterface * 997s # org_project_useful_interface_skeleton_new (void) 997s # { 997s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 997s # } 997s # 997s # /* codegen-test-extension generate for iface org.project.UsefulInterface */ 997s # Error: 997s # 997s # /tmp/tmpi5oykjl2/tmp7ibqnh21.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi5oykjl2/tmp7ibqnh21.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # /* codegen-test-extension include */ 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # /* Declarations for org.project.UsefulInterface */ 997s # 997s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 997s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 997s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 997s # 997s # struct _OrgProjectUsefulInterface; 997s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 997s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 997s # 997s # struct _OrgProjectUsefulInterfaceIface 997s # { 997s # GTypeInterface parent_iface; 997s # 997s # gboolean (*handle_useful_method) ( 997s # OrgProjectUsefulInterface *object, 997s # GDBusMethodInvocation *invocation); 997s # 997s # }; 997s # 997s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 997s # 997s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 997s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 997s # 997s # 997s # /* D-Bus method call completion functions: */ 997s # void org_project_useful_interface_complete_useful_method ( 997s # OrgProjectUsefulInterface *object, 997s # GDBusMethodInvocation *invocation); 997s # 997s # 997s # 997s # /* D-Bus method calls: */ 997s # void org_project_useful_interface_call_useful_method ( 997s # OrgProjectUsefulInterface *proxy, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # 997s # gboolean org_project_useful_interface_call_useful_method_finish ( 997s # OrgProjectUsefulInterface *proxy, 997s # GAsyncResult *res, 997s # GError **error); 997s # 997s # gboolean org_project_useful_interface_call_useful_method_sync ( 997s # OrgProjectUsefulInterface *proxy, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # 997s # 997s # /* ---- */ 997s # 997s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 997s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 997s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 997s # 997s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 997s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 997s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 997s # 997s # struct _OrgProjectUsefulInterfaceProxy 997s # { 997s # /*< private >*/ 997s # GDBusProxy parent_instance; 997s # OrgProjectUsefulInterfaceProxyPrivate *priv; 997s # }; 997s # 997s # struct _OrgProjectUsefulInterfaceProxyClass 997s # { 997s # GDBusProxyClass parent_class; 997s # }; 997s # 997s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 997s # 997s # #if GLIB_CHECK_VERSION(2, 44, 0) 997s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 997s # #endif 997s # 997s # void org_project_useful_interface_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error); 997s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # void org_project_useful_interface_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error); 997s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # 997s # /* ---- */ 997s # 997s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 997s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 997s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 997s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 997s # 997s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 997s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 997s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 997s # 997s # struct _OrgProjectUsefulInterfaceSkeleton 997s # { 997s # /*< private >*/ 997s # NewDBusInterfaceSkeleton parent_instance; 997s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 997s # }; 997s # 997s # struct _OrgProjectUsefulInterfaceSkeletonClass 997s # { 997s # NewDBusInterfaceSkeletonClass parent_class; 997s # }; 997s # 997s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 997s # 997s # #if GLIB_CHECK_VERSION(2, 44, 0) 997s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 997s # #endif 997s # 997s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 997s # 997s # /* codegen-test-extension declare type for iface org.project.UsefulInterface */ 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s # Error: 997s ok 9 __main__.TestCodegen.test_extension_empty_interface_body 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpf6wircak 997s # /tmp/tmpf6wircak/tmp6uesbtj_.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf6wircak/tmp6uesbtj_.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* codegen-test-extension body preamble */ 997s # Error: 997s ok 10 __main__.TestCodegen.test_extension_empty_interface_header 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpv10gw4gy 997s # /tmp/tmpv10gw4gy/tmp3y68ry2w.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv10gw4gy/tmp3y68ry2w.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # /* codegen-test-extension include */ 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s # Error: 997s ok 11 __main__.TestCodegen.test_extension_header_declare_types 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmp5rlnkqib 997s # /tmp/tmp5rlnkqib/tmpb7j7wsp8.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rlnkqib/tmpb7j7wsp8.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # /* codegen-test-extension include */ 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # /* Declarations for org.project.Foo */ 997s # 997s # #define TYPE_ORG_PROJECT_FOO (org_project_foo_get_type ()) 997s # #define ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFoo)) 997s # #define IS_ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO)) 997s # #define ORG_PROJECT_FOO_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFooIface)) 997s # 997s # struct _OrgProjectFoo; 997s # typedef struct _OrgProjectFoo OrgProjectFoo; 997s # typedef struct _OrgProjectFooIface OrgProjectFooIface; 997s # 997s # struct _OrgProjectFooIface 997s # { 997s # GTypeInterface parent_iface; 997s # }; 997s # 997s # GType org_project_foo_get_type (void) G_GNUC_CONST; 997s # 997s # GDBusInterfaceInfo *org_project_foo_interface_info (void); 997s # guint org_project_foo_override_properties (GObjectClass *klass, guint property_id_begin); 997s # 997s # 997s # /* ---- */ 997s # 997s # #define TYPE_ORG_PROJECT_FOO_PROXY (org_project_foo_proxy_get_type ()) 997s # #define ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxy)) 997s # #define ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 997s # #define ORG_PROJECT_FOO_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 997s # #define IS_ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_PROXY)) 997s # #define IS_ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_PROXY)) 997s # 997s # typedef struct _OrgProjectFooProxy OrgProjectFooProxy; 997s # typedef struct _OrgProjectFooProxyClass OrgProjectFooProxyClass; 997s # typedef struct _OrgProjectFooProxyPrivate OrgProjectFooProxyPrivate; 997s # 997s # struct _OrgProjectFooProxy 997s # { 997s # /*< private >*/ 997s # GDBusProxy parent_instance; 997s # OrgProjectFooProxyPrivate *priv; 997s # }; 997s # 997s # struct _OrgProjectFooProxyClass 997s # { 997s # GDBusProxyClass parent_class; 997s # }; 997s # 997s # GType org_project_foo_proxy_get_type (void) G_GNUC_CONST; 997s # 997s # #if GLIB_CHECK_VERSION(2, 44, 0) 997s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooProxy, g_object_unref) 997s # #endif 997s # 997s # void org_project_foo_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # OrgProjectFoo *org_project_foo_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error); 997s # OrgProjectFoo *org_project_foo_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # void org_project_foo_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error); 997s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # 997s # /* ---- */ 997s # 997s # #define TYPE_ORG_PROJECT_FOO_SKELETON (org_project_foo_skeleton_get_type ()) 997s # #define ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeleton)) 997s # #define ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 997s # #define ORG_PROJECT_FOO_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 997s # #define IS_ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_SKELETON)) 997s # #define IS_ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_SKELETON)) 997s # 997s # typedef struct _OrgProjectFooSkeleton OrgProjectFooSkeleton; 997s # typedef struct _OrgProjectFooSkeletonClass OrgProjectFooSkeletonClass; 997s # typedef struct _OrgProjectFooSkeletonPrivate OrgProjectFooSkeletonPrivate; 997s # 997s # struct _OrgProjectFooSkeleton 997s # { 997s # /*< private >*/ 997s # NewDBusInterfaceSkeleton parent_instance; 997s # OrgProjectFooSkeletonPrivate *priv; 997s # }; 997s # 997s # struct _OrgProjectFooSkeletonClass 997s # { 997s # NewDBusInterfaceSkeletonClass parent_class; 997s # }; 997s # 997s # GType org_project_foo_skeleton_get_type (void) G_GNUC_CONST; 997s # 997s # #if GLIB_CHECK_VERSION(2, 44, 0) 997s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooSkeleton, g_object_unref) 997s # #endif 997s # 997s # OrgProjectFoo *org_project_foo_skeleton_new (void); 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # /* Declarations for org.project.Bar */ 997s # 997s # #define TYPE_ORG_PROJECT_BAR (org_project_bar_get_type ()) 997s # #define ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBar)) 997s # #define IS_ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR)) 997s # #define ORG_PROJECT_BAR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBarIface)) 997s # 997s # struct _OrgProjectBar; 997s # typedef struct _OrgProjectBar OrgProjectBar; 997s # typedef struct _OrgProjectBarIface OrgProjectBarIface; 997s # 997s # struct _OrgProjectBarIface 997s # { 997s # GTypeInterface parent_iface; 997s # }; 997s # 997s # GType org_project_bar_get_type (void) G_GNUC_CONST; 997s # 997s # GDBusInterfaceInfo *org_project_bar_interface_info (void); 997s # guint org_project_bar_override_properties (GObjectClass *klass, guint property_id_begin); 997s # 997s # 997s # /* ---- */ 997s # 997s # #define TYPE_ORG_PROJECT_BAR_PROXY (org_project_bar_proxy_get_type ()) 997s # #define ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxy)) 997s # #define ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 997s # #define ORG_PROJECT_BAR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 997s # #define IS_ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_PROXY)) 997s # #define IS_ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_PROXY)) 997s # 997s # typedef struct _OrgProjectBarProxy OrgProjectBarProxy; 997s # typedef struct _OrgProjectBarProxyClass OrgProjectBarProxyClass; 997s # typedef struct _OrgProjectBarProxyPrivate OrgProjectBarProxyPrivate; 997s # 997s # struct _OrgProjectBarProxy 997s # { 997s # /*< private >*/ 997s # GDBusProxy parent_instance; 997s # OrgProjectBarProxyPrivate *priv; 997s # }; 997s # 997s # struct _OrgProjectBarProxyClass 997s # { 997s # GDBusProxyClass parent_class; 997s # }; 997s # 997s # GType org_project_bar_proxy_get_type (void) G_GNUC_CONST; 997s # 997s # #if GLIB_CHECK_VERSION(2, 44, 0) 997s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarProxy, g_object_unref) 997s # #endif 997s # 997s # void org_project_bar_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # OrgProjectBar *org_project_bar_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error); 997s # OrgProjectBar *org_project_bar_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # void org_project_bar_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data); 997s # OrgProjectBar *org_project_bar_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error); 997s # OrgProjectBar *org_project_bar_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error); 997s # 997s # 997s # /* ---- */ 997s # 997s # #define TYPE_ORG_PROJECT_BAR_SKELETON (org_project_bar_skeleton_get_type ()) 997s # #define ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeleton)) 997s # #define ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 997s # #define ORG_PROJECT_BAR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 997s # #define IS_ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_SKELETON)) 997s # #define IS_ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_SKELETON)) 997s # 997s # typedef struct _OrgProjectBarSkeleton OrgProjectBarSkeleton; 997s # typedef struct _OrgProjectBarSkeletonClass OrgProjectBarSkeletonClass; 997s # typedef struct _OrgProjectBarSkeletonPrivate OrgProjectBarSkeletonPrivate; 997s # 997s # struct _OrgProjectBarSkeleton 997s # { 997s # /*< private >*/ 997s # NewDBusInterfaceSkeleton parent_instance; 997s # OrgProjectBarSkeletonPrivate *priv; 997s # }; 997s # 997s # struct _OrgProjectBarSkeletonClass 997s # { 997s # NewDBusInterfaceSkeletonClass parent_class; 997s # }; 997s # 997s # GType org_project_bar_skeleton_get_type (void) G_GNUC_CONST; 997s # 997s # #if GLIB_CHECK_VERSION(2, 44, 0) 997s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarSkeleton, g_object_unref) 997s # #endif 997s # 997s # OrgProjectBar *org_project_bar_skeleton_new (void); 997s # 997s # /* codegen-test-extension declare type for iface org.project.Foo */ 997s # /* codegen-test-extension declare type for iface org.project.Bar */ 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s # Error: 997s ok 12 __main__.TestCodegen.test_extension_help 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmprwki81t5 997s # Running: ['/usr/bin/gdbus-codegen', '--help'] 997s # Return code: 0 997s # Output: 997s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 997s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 997s # [--c-generate-autocleanup {none,objects,all}] 997s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 997s # [--generate-rst OUTFILES] [--pragma-once] 997s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 997s # [--glib-min-required VERSION] 997s # [--glib-max-allowed VERSION] 997s # [--symbol-decorator SYMBOL_DECORATOR] 997s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 997s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 997s # [--extension-path EXTENSION_PATH] 997s # [--generate-c-code OUTFILES | --header | --body | 997s # --interface-info-header | --interface-info-body] 997s # [--output FILE | --output-directory OUTDIR] 997s # FILE [FILE ...] 997s # 997s # D-Bus code and documentation generator 997s # 997s # positional arguments: 997s # FILE D-Bus introspection XML file 997s # 997s # options: 997s # -h, --help show this help message and exit 997s # --interface-prefix PREFIX 997s # String to strip from D-Bus interface names for code 997s # and docs 997s # --c-namespace NAMESPACE 997s # The namespace to use for generated C code 997s # --c-generate-object-manager 997s # Generate a GDBusObjectManagerClient subclass when 997s # generating C code 997s # --c-generate-autocleanup {none,objects,all} 997s # Generate autocleanup support 997s # --generate-docbook OUTFILES 997s # Generate Docbook in OUTFILES-org.Project.IFace.xml 997s # --generate-md OUTFILES 997s # Generate Markdown in OUTFILES-org.Project.IFace.md 997s # --generate-rst OUTFILES 997s # Generate reStructuredText in OUTFILES- 997s # org.Project.IFace.rst 997s # --pragma-once Use "pragma once" as the inclusion guard 997s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 997s # Add annotation (may be used several times) 997s # --glib-min-required VERSION 997s # Minimum version of GLib to be supported by the 997s # outputted code (default: 2.30) 997s # --glib-max-allowed VERSION 997s # Maximum version of GLib to be used by the outputted 997s # code (default: current GLib version) 997s # --symbol-decorator SYMBOL_DECORATOR 997s # Macro used to decorate a symbol in the outputted 997s # header, possibly to export symbols 997s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 997s # Additional header required for decorator specified by 997s # --symbol-decorator 997s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 997s # Additional define required for decorator specified by 997s # --symbol-decorator 997s # --extension-path EXTENSION_PATH 997s # Path to a gdbus-codegen Python extension file 997s # (unstable API) 997s # --generate-c-code OUTFILES 997s # Generate C code in OUTFILES.[ch] 997s # --header Generate C headers 997s # --body Generate C code 997s # --interface-info-header 997s # Generate GDBusInterfaceInfo C header 997s # --interface-info-body 997s # Generate GDBusInterfaceInfo C code 997s # --output FILE Write output into the specified file 997s # --output-directory OUTDIR 997s # Location to output generated files 997s # Error: 997s ok 13 __main__.TestCodegen.test_generate_docbook 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpcajhcb3g 997s # /tmp/tmpcajhcb3g/tmprga6fi1p.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcajhcb3g/tmprga6fi1p.xml', '--generate-docbook', 'test'] 997s # Return code: 0 997s # Output: 997s # 997s # Error: 997s ok 14 __main__.TestCodegen.test_generate_md 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmpjwp9vm8d 997s # /tmp/tmpjwp9vm8d/tmpl43ddaoy.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjwp9vm8d/tmpl43ddaoy.xml', '--generate-md', 'test'] 997s # Return code: 0 997s # Output: 997s # 997s # Error: 997s ok 15 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 997s # gdbus-codegen: /usr/bin/gdbus-codegen 997s # tmpdir: /tmp/tmprcxsheuc 997s # /tmp/tmprcxsheuc/tmpy3kbbww8.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprcxsheuc/tmpy3kbbww8.xml', '--output', '-', '--body'] 997s # Return code: 0 997s # Output: 997s # /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # static void 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint G_GNUC_UNUSED, 997s # void *marshal_data) 997s # { 997s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 997s # (void *data1, 997s # GDBusMethodInvocation *arg_method_invocation, 997s # void *data2); 997s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 997s # GCClosure *cc = (GCClosure*) closure; 997s # void *data1, *data2; 997s # gboolean v_return; 997s # 997s # g_return_if_fail (return_value != NULL); 997s # g_return_if_fail (n_param_values == 2); 997s # 997s # if (G_CCLOSURE_SWAP_DATA (closure)) 997s # { 997s # data1 = closure->data; 997s # data2 = g_value_peek_pointer (param_values + 0); 997s # } 997s # else 997s # { 997s # data1 = g_value_peek_pointer (param_values + 0); 997s # data2 = closure->data; 997s # } 997s # 997s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 997s # (marshal_data ? marshal_data : cc->callback); 997s # 997s # v_return = 997s # callback (data1, 997s # g_marshal_value_peek_object (param_values + 1), 997s # data2); 997s # 997s # g_value_set_boolean (return_value, v_return); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface org.project.CallableIface 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:OrgProjectCallableIface 997s # * @title: OrgProjectCallableIface 997s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 997s # * 997s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for org.project.CallableIface ---- */ 997s # 997s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 997s # { 997s # { 997s # -1, 997s # (gchar *) "SimpleMethod", 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "handle-simple-method", 997s # FALSE 997s # }; 997s # 997s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 997s # { 997s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "org.project.CallableIface", 997s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "org-project-callable-iface", 997s # }; 997s # 997s # 997s # /** 997s # * org_project_callable_iface_interface_info: 997s # * 997s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # org_project_callable_iface_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 997s # { 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # inline static void 997s # org_project_callable_iface_method_marshal_simple_method ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint, 997s # void *marshal_data) 997s # { 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 997s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 997s # } 997s # 997s # 997s # /** 997s # * OrgProjectCallableIface: 997s # * 997s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 997s # */ 997s # 997s # /** 997s # * OrgProjectCallableIfaceIface: 997s # * @parent_iface: The parent interface. 997s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 997s # * 997s # * Virtual table for the D-Bus interface org.project.CallableIface. 997s # */ 997s # 997s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 997s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 997s # 997s # static void 997s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 997s # { 997s # /* GObject signals for incoming D-Bus method calls: */ 997s # /** 997s # * OrgProjectCallableIface::handle-simple-method: 997s # * @object: A #OrgProjectCallableIface. 997s # * @invocation: A #GDBusMethodInvocation. 997s # * 997s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # g_signal_new ("handle-simple-method", 997s # G_TYPE_FROM_INTERFACE (iface), 997s # G_SIGNAL_RUN_LAST, 997s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 997s # g_signal_accumulator_true_handled, 997s # NULL, 997s # org_project_callable_iface_method_marshal_simple_method, 997s # G_TYPE_BOOLEAN, 997s # 1, 997s # G_TYPE_DBUS_METHOD_INVOCATION); 997s # 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_call_simple_method: 997s # * @proxy: A #OrgProjectCallableIfaceProxy. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 997s # * 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()). 997s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 997s # * 997s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 997s # */ 997s # void 997s # org_project_callable_iface_call_simple_method ( 997s # OrgProjectCallableIface *proxy, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 997s # "SimpleMethod", 997s # g_variant_new ("()"), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # cancellable, 997s # callback, 997s # user_data); 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_call_simple_method_finish: 997s # * @proxy: A #OrgProjectCallableIfaceProxy. 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 997s # * @error: Return location for error or %NULL. 997s # * 997s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 997s # * 997s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 997s # */ 997s # gboolean 997s # org_project_callable_iface_call_simple_method_finish ( 997s # OrgProjectCallableIface *proxy, 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GVariant *_ret; 997s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 997s # if (_ret == NULL) 997s # goto _out; 997s # g_variant_get (_ret, 997s # "()"); 997s # g_variant_unref (_ret); 997s # _out: 997s # return _ret != NULL; 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_call_simple_method_sync: 997s # * @proxy: A #OrgProjectCallableIfaceProxy. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL. 997s # * 997s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 997s # * 997s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 997s # */ 997s # gboolean 997s # org_project_callable_iface_call_simple_method_sync ( 997s # OrgProjectCallableIface *proxy, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GVariant *_ret; 997s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 997s # "SimpleMethod", 997s # g_variant_new ("()"), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # cancellable, 997s # error); 997s # if (_ret == NULL) 997s # goto _out; 997s # g_variant_get (_ret, 997s # "()"); 997s # g_variant_unref (_ret); 997s # _out: 997s # return _ret != NULL; 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_complete_simple_method: 997s # * @object: A #OrgProjectCallableIface. 997s # * @invocation: (transfer full): A #GDBusMethodInvocation. 997s # * 997s # * 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. 997s # * 997s # * This method will free @invocation, you cannot use it afterwards. 997s # */ 997s # void 997s # org_project_callable_iface_complete_simple_method ( 997s # OrgProjectCallableIface *object G_GNUC_UNUSED, 997s # GDBusMethodInvocation *invocation) 997s # { 997s # g_dbus_method_invocation_return_value (invocation, 997s # g_variant_new ("()")); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * OrgProjectCallableIfaceProxy: 997s # * 997s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * OrgProjectCallableIfaceProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for #OrgProjectCallableIfaceProxy. 997s # */ 997s # 997s # struct _OrgProjectCallableIfaceProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # org_project_callable_iface_proxy_finalize (GObject *object) 997s # { 997s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 997s # guint prop_id G_GNUC_UNUSED, 997s # GValue *value G_GNUC_UNUSED, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 997s # guint prop_id G_GNUC_UNUSED, 997s # const GValue *value G_GNUC_UNUSED, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 997s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 997s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 997s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 997s # * 997s # * 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()). 997s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # org_project_callable_iface_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectCallableIface * 997s # org_project_callable_iface_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return ORG_PROJECT_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectCallableIface * 997s # org_project_callable_iface_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return ORG_PROJECT_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * org_project_callable_iface_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * 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()). 997s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # org_project_callable_iface_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectCallableIface * 997s # org_project_callable_iface_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return ORG_PROJECT_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectCallableIface * 997s # org_project_callable_iface_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return ORG_PROJECT_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * OrgProjectCallableIfaceSkeleton: 997s # * 997s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * OrgProjectCallableIfaceSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for #OrgProjectCallableIfaceSkeleton. 997s # */ 997s # 997s # struct _OrgProjectCallableIfaceSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _org_project_callable_iface_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # 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); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _org_project_callable_iface_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _org_project_callable_iface_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 997s # { 997s # _org_project_callable_iface_skeleton_handle_method_call, 997s # _org_project_callable_iface_skeleton_handle_get_property, 997s # _org_project_callable_iface_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return org_project_callable_iface_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #else 997s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #endif 997s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static void 997s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # org_project_callable_iface_skeleton_finalize (GObject *object) 997s # { 997s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # /* coverity[missing_lock : SUPPRESS] */ 997s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 997s # #else 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # #endif 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # } 997s # 997s # static void 997s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 997s # * 997s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 997s # */ 997s # OrgProjectCallableIface * 997s # org_project_callable_iface_skeleton_new (void) 997s # { 997s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface org.project.OtherCallableIface 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:OrgProjectOtherCallableIface 997s # * @title: OrgProjectOtherCallableIface 997s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 997s # * 997s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 997s # 997s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 997s # { 997s # { 997s # -1, 997s # (gchar *) "SimpleMethod", 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "handle-simple-method", 997s # FALSE 997s # }; 997s # 997s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 997s # { 997s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "org.project.OtherCallableIface", 997s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "org-project-other-callable-iface", 997s # }; 997s # 997s # 997s # /** 997s # * org_project_other_callable_iface_interface_info: 997s # * 997s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # org_project_other_callable_iface_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 997s # { 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # inline static void 997s # org_project_other_callable_iface_method_marshal_simple_method ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint, 997s # void *marshal_data) 997s # { 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 997s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 997s # } 997s # 997s # 997s # /** 997s # * OrgProjectOtherCallableIface: 997s # * 997s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 997s # */ 997s # 997s # /** 997s # * OrgProjectOtherCallableIfaceIface: 997s # * @parent_iface: The parent interface. 997s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 997s # * 997s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 997s # */ 997s # 997s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 997s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 997s # 997s # static void 997s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 997s # { 997s # /* GObject signals for incoming D-Bus method calls: */ 997s # /** 997s # * OrgProjectOtherCallableIface::handle-simple-method: 997s # * @object: A #OrgProjectOtherCallableIface. 997s # * @invocation: A #GDBusMethodInvocation. 997s # * 997s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # g_signal_new ("handle-simple-method", 997s # G_TYPE_FROM_INTERFACE (iface), 997s # G_SIGNAL_RUN_LAST, 997s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 997s # g_signal_accumulator_true_handled, 997s # NULL, 997s # org_project_other_callable_iface_method_marshal_simple_method, 997s # G_TYPE_BOOLEAN, 997s # 1, 997s # G_TYPE_DBUS_METHOD_INVOCATION); 997s # 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_call_simple_method: 997s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 997s # * 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()). 997s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 997s # * 997s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 997s # */ 997s # void 997s # org_project_other_callable_iface_call_simple_method ( 997s # OrgProjectOtherCallableIface *proxy, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 997s # "SimpleMethod", 997s # g_variant_new ("()"), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # cancellable, 997s # callback, 997s # user_data); 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_call_simple_method_finish: 997s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 997s # * @error: Return location for error or %NULL. 997s # * 997s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 997s # * 997s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 997s # */ 997s # gboolean 997s # org_project_other_callable_iface_call_simple_method_finish ( 997s # OrgProjectOtherCallableIface *proxy, 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GVariant *_ret; 997s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 997s # if (_ret == NULL) 997s # goto _out; 997s # g_variant_get (_ret, 997s # "()"); 997s # g_variant_unref (_ret); 997s # _out: 997s # return _ret != NULL; 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_call_simple_method_sync: 997s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL. 997s # * 997s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 997s # * 997s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 997s # */ 997s # gboolean 997s # org_project_other_callable_iface_call_simple_method_sync ( 997s # OrgProjectOtherCallableIface *proxy, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GVariant *_ret; 997s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 997s # "SimpleMethod", 997s # g_variant_new ("()"), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # cancellable, 997s # error); 997s # if (_ret == NULL) 997s # goto _out; 997s # g_variant_get (_ret, 997s # "()"); 997s # g_variant_unref (_ret); 997s # _out: 997s # return _ret != NULL; 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_complete_simple_method: 997s # * @object: A #OrgProjectOtherCallableIface. 997s # * @invocation: (transfer full): A #GDBusMethodInvocation. 997s # * 997s # * 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. 997s # * 997s # * This method will free @invocation, you cannot use it afterwards. 997s # */ 997s # void 997s # org_project_other_callable_iface_complete_simple_method ( 997s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 997s # GDBusMethodInvocation *invocation) 997s # { 997s # g_dbus_method_invocation_return_value (invocation, 997s # g_variant_new ("()")); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * OrgProjectOtherCallableIfaceProxy: 997s # * 997s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * OrgProjectOtherCallableIfaceProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 997s # */ 997s # 997s # struct _OrgProjectOtherCallableIfaceProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # org_project_other_callable_iface_proxy_finalize (GObject *object) 997s # { 997s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 997s # guint prop_id G_GNUC_UNUSED, 997s # GValue *value G_GNUC_UNUSED, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 997s # guint prop_id G_GNUC_UNUSED, 997s # const GValue *value G_GNUC_UNUSED, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 997s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 997s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 997s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 997s # * 997s # * 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()). 997s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # org_project_other_callable_iface_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectOtherCallableIface * 997s # org_project_other_callable_iface_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectOtherCallableIface * 997s # org_project_other_callable_iface_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * org_project_other_callable_iface_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * 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()). 997s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # org_project_other_callable_iface_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectOtherCallableIface * 997s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # OrgProjectOtherCallableIface * 997s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * OrgProjectOtherCallableIfaceSkeleton: 997s # * 997s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * OrgProjectOtherCallableIfaceSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 997s # */ 997s # 997s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _org_project_other_callable_iface_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # 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); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _org_project_other_callable_iface_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _org_project_other_callable_iface_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 997s # { 997s # _org_project_other_callable_iface_skeleton_handle_method_call, 997s # _org_project_other_callable_iface_skeleton_handle_get_property, 997s # _org_project_other_callable_iface_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return org_project_other_callable_iface_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 997s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #else 997s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 997s # #endif 997s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 997s # { 997s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # /* coverity[missing_lock : SUPPRESS] */ 997s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 997s # #else 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # #endif 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 997s # { 997s # } 997s # 997s # /** 997s # * org_project_other_callable_iface_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 997s # * 997s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 997s # */ 997s # OrgProjectOtherCallableIface * 997s # org_project_other_callable_iface_skeleton_new (void) 997s # { 997s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 997s # } 997s # Error: 998s ok 16 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 998s # gdbus-codegen: /usr/bin/gdbus-codegen 998s # tmpdir: /tmp/tmpueykqsb4 998s # /tmp/tmpueykqsb4/tmpzdm19o1n.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpzdm19o1n.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gboolean arg_arg_b, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_boolean (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_b", 998s # (gchar *) "b", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodB", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-b", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_b ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_b: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-b", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_b, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_b: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_b: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_b ( 998s # OrgProjectUsefulInterface *proxy, 998s # gboolean arg_arg_b, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodB", 998s # g_variant_new ("(b)", 998s # arg_arg_b), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_b_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_b_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_b_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_b: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_b_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gboolean arg_arg_b, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodB", 998s # g_variant_new ("(b)", 998s # arg_arg_b), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_b: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_b ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmph_df5g76.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmph_df5g76.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guchar arg_arg_y, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uchar (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_y", 998s # (gchar *) "y", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodY", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-y", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_y ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_y: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-y", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_y, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_y: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_y: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_y ( 998s # OrgProjectUsefulInterface *proxy, 998s # guchar arg_arg_y, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodY", 998s # g_variant_new ("(y)", 998s # arg_arg_y), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_y_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_y_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_y_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_y: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_y_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guchar arg_arg_y, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodY", 998s # g_variant_new ("(y)", 998s # arg_arg_y), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_y: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_y ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpc6cbjlgl.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpc6cbjlgl.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gint16 arg_arg_n, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_int (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_n", 998s # (gchar *) "n", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodN", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-n", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_n ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_n: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-n", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_n, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_n: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_n: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_n ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint16 arg_arg_n, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodN", 998s # g_variant_new ("(n)", 998s # arg_arg_n), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_n_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_n_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_n_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_n: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_n_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint16 arg_arg_n, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodN", 998s # g_variant_new ("(n)", 998s # arg_arg_n), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_n: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_n ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpmwbuyyga.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpmwbuyyga.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guint16 arg_arg_q, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uint (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_q", 998s # (gchar *) "q", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodQ", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-q", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_q ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_q: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-q", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_q, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_q: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_q: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_q ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint16 arg_arg_q, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodQ", 998s # g_variant_new ("(q)", 998s # arg_arg_q), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_q_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_q_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_q_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_q: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_q_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint16 arg_arg_q, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodQ", 998s # g_variant_new ("(q)", 998s # arg_arg_q), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_q: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_q ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpzzacf866.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpzzacf866.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gint arg_arg_i, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_int (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_i", 998s # (gchar *) "i", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodI", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-i", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_i ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_i: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-i", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_i, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_i: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_i: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_i ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint arg_arg_i, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodI", 998s # g_variant_new ("(i)", 998s # arg_arg_i), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_i_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_i_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_i_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_i: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_i_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint arg_arg_i, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodI", 998s # g_variant_new ("(i)", 998s # arg_arg_i), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_i: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_i ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpdiqejdva.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpdiqejdva.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guint arg_arg_u, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uint (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_u", 998s # (gchar *) "u", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodU", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-u", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_u ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_u: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-u", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_u, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_u: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_u: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_u ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint arg_arg_u, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodU", 998s # g_variant_new ("(u)", 998s # arg_arg_u), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_u_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_u_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_u_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_u: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_u_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint arg_arg_u, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodU", 998s # g_variant_new ("(u)", 998s # arg_arg_u), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_u: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_u ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp9f86r3os.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp9f86r3os.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gint64 arg_arg_x, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_int64 (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_x", 998s # (gchar *) "x", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodX", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-x", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_x ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_x: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-x", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_x, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_x: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_x: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_x ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint64 arg_arg_x, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodX", 998s # g_variant_new ("(x)", 998s # arg_arg_x), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_x_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_x_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_x_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_x: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_x_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint64 arg_arg_x, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodX", 998s # g_variant_new ("(x)", 998s # arg_arg_x), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_x: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_x ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp2m7ftm5u.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp2m7ftm5u.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guint64 arg_arg_t, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uint64 (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_t", 998s # (gchar *) "t", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodT", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-t", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_t ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_t: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-t", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_t, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_t: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_t: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_t ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint64 arg_arg_t, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodT", 998s # g_variant_new ("(t)", 998s # arg_arg_t), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_t_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_t_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_t_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_t: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_t_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint64 arg_arg_t, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodT", 998s # g_variant_new ("(t)", 998s # arg_arg_t), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_t: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_t ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmplko99qx6.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmplko99qx6.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gdouble arg_arg_d, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_double (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_d", 998s # (gchar *) "d", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodD", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-d", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_d ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_d: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-d", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_d, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_d: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_d: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_d ( 998s # OrgProjectUsefulInterface *proxy, 998s # gdouble arg_arg_d, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodD", 998s # g_variant_new ("(d)", 998s # arg_arg_d), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_d_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_d_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_d_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_d: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_d_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gdouble arg_arg_d, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodD", 998s # g_variant_new ("(d)", 998s # arg_arg_d), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_d: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_d ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp9d2xffma.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp9d2xffma.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *arg_arg_s, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_string (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_s", 998s # (gchar *) "s", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodS", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-s", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_s ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_s: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-s", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_s, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_s: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_s: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_s ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_s, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodS", 998s # g_variant_new ("(s)", 998s # arg_arg_s), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_s_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_s_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_s_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_s: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_s_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_s, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodS", 998s # g_variant_new ("(s)", 998s # arg_arg_s), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_s: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_s ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp__57ysat.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp__57ysat.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *arg_arg_o, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_string (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_o", 998s # (gchar *) "o", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodO", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-o", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_o ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_o: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-o", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_o, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_o: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_o: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_o ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_o, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodO", 998s # g_variant_new ("(o)", 998s # arg_arg_o), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_o_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_o_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_o_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_o: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_o_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_o, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodO", 998s # g_variant_new ("(o)", 998s # arg_arg_o), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_o: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_o ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp8bjdmrkw.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp8bjdmrkw.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *arg_arg_g, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_string (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_g", 998s # (gchar *) "g", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodG", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-g", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_g ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_g: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-g", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_g, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_g: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_g: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_g ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_g, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodG", 998s # g_variant_new ("(g)", 998s # arg_arg_g), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_g_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_g_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_g_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_g: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_g_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_g, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodG", 998s # g_variant_new ("(g)", 998s # arg_arg_g), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_g: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_g ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpd2f64hb8.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpd2f64hb8.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # GVariant *arg_arg_h, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_variant (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_h", 998s # (gchar *) "h", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodH", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-h", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_h ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_h: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-h", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_h, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_h: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_h: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_h ( 998s # OrgProjectUsefulInterface *proxy, 998s # GVariant *arg_arg_h, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodH", 998s # g_variant_new ("(@h)", 998s # arg_arg_h), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_h_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_h_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_h_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_h: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_h_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # GVariant *arg_arg_h, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodH", 998s # g_variant_new ("(@h)", 998s # arg_arg_h), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_h: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_h ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpzjrqbitu.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpzjrqbitu.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *arg_arg_ay, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_string (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_ay", 998s # (gchar *) "ay", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodAy", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-ay", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_ay: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-ay", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_ay, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_ay: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_ay: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_ay ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_ay, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAy", 998s # g_variant_new ("(^ay)", 998s # arg_arg_ay), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_ay_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_ay_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_ay_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_ay: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_ay_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *arg_arg_ay, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAy", 998s # g_variant_new ("(^ay)", 998s # arg_arg_ay), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_ay: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_ay ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpw_aq61_m.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpw_aq61_m.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *const *arg_arg_as, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_boxed (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_as", 998s # (gchar *) "as", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodAs", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-as", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_as ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_as: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-as", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_as, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_as: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_as: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_as ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *const *arg_arg_as, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAs", 998s # g_variant_new ("(^as)", 998s # arg_arg_as), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_as_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_as_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_as_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_as: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_as_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *const *arg_arg_as, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAs", 998s # g_variant_new ("(^as)", 998s # arg_arg_as), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_as: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_as ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmpt6jxrdkg.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmpt6jxrdkg.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *const *arg_arg_ao, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_boxed (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_ao", 998s # (gchar *) "ao", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodAo", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-ao", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_ao: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-ao", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_ao, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_ao: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_ao: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_ao ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *const *arg_arg_ao, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAo", 998s # g_variant_new ("(^ao)", 998s # arg_arg_ao), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_ao_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_ao_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_ao_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_ao: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_ao_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *const *arg_arg_ao, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAo", 998s # g_variant_new ("(^ao)", 998s # arg_arg_ao), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_ao: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_ao ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp_n5t1u2t.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp_n5t1u2t.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # const gchar *const *arg_arg_aay, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_boxed (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_aay", 998s # (gchar *) "aay", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodAay", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-aay", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_aay: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-aay", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_aay, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_aay: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_aay: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_aay ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *const *arg_arg_aay, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAay", 998s # g_variant_new ("(^aay)", 998s # arg_arg_aay), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_aay_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_aay_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_aay_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_aay: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_aay_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # const gchar *const *arg_arg_aay, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAay", 998s # g_variant_new ("(^aay)", 998s # arg_arg_aay), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_aay: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_aay ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 998s # 998s # /tmp/tmpueykqsb4/tmp_qezc_p7.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpueykqsb4/tmp_qezc_p7.xml', '--output', '-', '--body'] 998s # Return code: 0 998s # Output: 998s # /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # GVariant *arg_arg_asv, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_variant (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_asv", 998s # (gchar *) "a{sv}", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodAsv", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-asv", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_asv: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-asv", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_asv, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_asv: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_asv: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 998s # * 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()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_asv ( 998s # OrgProjectUsefulInterface *proxy, 998s # GVariant *arg_arg_asv, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAsv", 998s # g_variant_new ("(@a{sv})", 998s # arg_arg_asv), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_asv_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_asv_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_asv_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_asv: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_asv_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # GVariant *arg_arg_asv, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodAsv", 998s # g_variant_new ("(@a{sv})", 998s # arg_arg_asv), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_asv: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_asv ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * 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()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # 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); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 998s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #else 998s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 998s # #endif 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # /* coverity[missing_lock : SUPPRESS] */ 998s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 998s # #else 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # skeleton->priv->changed_properties_idle_source = NULL; 998s # #endif 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # Error: 999s ok 17 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpoe2hx94k 999s # /tmp/tmpoe2hx94k/tmpcf17rqgm.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpcf17rqgm.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodB", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-b", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_b ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-b", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_b, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_b: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_b ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodB", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_b_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_b_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gboolean* out_arg_b, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(b)", 999s # out_arg_b); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_b_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_b_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gboolean* out_arg_b, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodB", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(b)", 999s # out_arg_b); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_b: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_b: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_b ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gboolean arg_b) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(b)", 999s # arg_b)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpgu6_r2al.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpgu6_r2al.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodY", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-y", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_y ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-y", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_y, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_y: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_y ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodY", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_y_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_y_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # guchar* out_arg_y, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(y)", 999s # out_arg_y); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_y_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_y_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # guchar* out_arg_y, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodY", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(y)", 999s # out_arg_y); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_y: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_y: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_y ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # guchar arg_y) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(y)", 999s # arg_y)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmple8xbjwg.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmple8xbjwg.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodN", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-n", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_n ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-n", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_n, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_n: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_n ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodN", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_n_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_n_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gint16* out_arg_n, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(n)", 999s # out_arg_n); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_n_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_n_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gint16* out_arg_n, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodN", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(n)", 999s # out_arg_n); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_n: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_n: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_n ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gint16 arg_n) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(n)", 999s # arg_n)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpo463p9kr.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpo463p9kr.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodQ", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-q", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_q ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-q", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_q, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_q: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_q ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodQ", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_q_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_q_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint16* out_arg_q, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(q)", 999s # out_arg_q); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_q_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_q_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint16* out_arg_q, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodQ", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(q)", 999s # out_arg_q); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_q: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_q: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_q ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # guint16 arg_q) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(q)", 999s # arg_q)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpzrkuekpu.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpzrkuekpu.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodI", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-i", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_i ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-i", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_i, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_i: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_i ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodI", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_i_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_i_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gint* out_arg_i, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(i)", 999s # out_arg_i); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_i_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_i_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gint* out_arg_i, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodI", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(i)", 999s # out_arg_i); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_i: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_i: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_i ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gint arg_i) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(i)", 999s # arg_i)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmptiee6lnk.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmptiee6lnk.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodU", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-u", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_u ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-u", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_u, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_u: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_u ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodU", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_u_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_u_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint* out_arg_u, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(u)", 999s # out_arg_u); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_u_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_u_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint* out_arg_u, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodU", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(u)", 999s # out_arg_u); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_u: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_u: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_u ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # guint arg_u) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(u)", 999s # arg_u)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpx0cgxxzm.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpx0cgxxzm.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodX", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-x", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_x ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-x", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_x, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_x: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_x ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodX", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_x_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_x_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gint64* out_arg_x, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(x)", 999s # out_arg_x); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_x_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_x_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gint64* out_arg_x, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodX", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(x)", 999s # out_arg_x); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_x: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_x: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_x ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gint64 arg_x) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(x)", 999s # arg_x)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpgex52237.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpgex52237.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodT", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-t", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_t ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-t", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_t, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_t: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_t ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodT", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_t_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_t_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint64* out_arg_t, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(t)", 999s # out_arg_t); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_t_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_t_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint64* out_arg_t, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodT", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(t)", 999s # out_arg_t); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_t: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_t: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_t ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # guint64 arg_t) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(t)", 999s # arg_t)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpl0bfuczm.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpl0bfuczm.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodD", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-d", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_d ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-d", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_d, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_d: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_d ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodD", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_d_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_d_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gdouble* out_arg_d, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(d)", 999s # out_arg_d); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_d_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_d_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gdouble* out_arg_d, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodD", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(d)", 999s # out_arg_d); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_d: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_d: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_d ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gdouble arg_d) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(d)", 999s # arg_d)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmp8w4cixnd.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmp8w4cixnd.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodS", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-s", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_s ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-s", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_s, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_s: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_s ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodS", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_s_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_s_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_s, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(s)", 999s # out_arg_s); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_s_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_s_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_s, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodS", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(s)", 999s # out_arg_s); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_s: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_s: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_s ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *arg_s) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(s)", 999s # arg_s)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpvhwmcj5m.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpvhwmcj5m.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodO", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-o", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_o ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-o", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_o, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_o: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_o ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodO", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_o_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_o_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_o, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(o)", 999s # out_arg_o); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_o_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_o_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_o, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodO", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(o)", 999s # out_arg_o); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_o: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_o: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_o ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *arg_o) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(o)", 999s # arg_o)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpvi9th65s.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpvi9th65s.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodG", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-g", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_g ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-g", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_g, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_g: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_g ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodG", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_g_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_g_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_g, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(g)", 999s # out_arg_g); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_g_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_g_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_g, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodG", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(g)", 999s # out_arg_g); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_g: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_g: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_g ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *arg_g) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(g)", 999s # arg_g)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpsw_gooxe.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpsw_gooxe.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodH", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-h", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_h ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-h", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_h, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_h: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_h ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodH", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_h_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_h_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant ** out_arg_h, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(@h)", 999s # out_arg_h); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_h_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_h_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant ** out_arg_h, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodH", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(@h)", 999s # out_arg_h); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_h: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_h: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_h ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # GVariant *arg_h) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(@h)", 999s # arg_h)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpsnn9ton2.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpsnn9ton2.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAy", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-ay", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-ay", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_ay, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ay: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_ay ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAy", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ay_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ay_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_ay, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^ay)", 999s # out_arg_ay); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ay_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ay_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar ** out_arg_ay, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAy", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^ay)", 999s # out_arg_ay); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_ay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_ay: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_ay ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *arg_ay) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(^ay)", 999s # arg_ay)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmp8aqhih65.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmp8aqhih65.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAs", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-as", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_as ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-as", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_as, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_as: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_as ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAs", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_as_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_as_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar *** out_arg_as, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^as)", 999s # out_arg_as); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_as_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_as_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar *** out_arg_as, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAs", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^as)", 999s # out_arg_as); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_as: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_as: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_as ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *const *arg_as) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(^as)", 999s # arg_as)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmppd3a1xjr.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmppd3a1xjr.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAo", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-ao", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-ao", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_ao, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ao: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_ao ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAo", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ao_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ao_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar *** out_arg_ao, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^ao)", 999s # out_arg_ao); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ao_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ao_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar *** out_arg_ao, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAo", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^ao)", 999s # out_arg_ao); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_ao: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_ao: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_ao ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *const *arg_ao) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(^ao)", 999s # arg_ao)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpet7hdtvp.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpet7hdtvp.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAay", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-aay", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-aay", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_aay, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_aay: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_aay ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAay", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_aay_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_aay_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar *** out_arg_aay, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^aay)", 999s # out_arg_aay); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_aay_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_aay_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gchar *** out_arg_aay, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAay", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(^aay)", 999s # out_arg_aay); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_aay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_aay: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_aay ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # const gchar *const *arg_aay) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(^aay)", 999s # arg_aay)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s # 999s # /tmp/tmpoe2hx94k/tmpwtb1bxlu.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoe2hx94k/tmpwtb1bxlu.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAsv", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-asv", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-asv", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_asv, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_asv: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_asv ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAsv", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_asv_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_asv_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant ** out_arg_asv, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(@a{sv})", 999s # out_arg_asv); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_asv_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_asv_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant ** out_arg_asv, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAsv", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(@a{sv})", 999s # out_arg_asv); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_asv: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_asv: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_asv ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # GVariant *arg_asv) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(@a{sv})", 999s # arg_asv)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s ok 18 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmp_qd7i28t 999s # /tmp/tmp_qd7i28t/tmpuy641k2a.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_qd7i28t/tmpuy641k2a.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 20); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_boolean (param_values + 2), 999s # g_marshal_value_peek_uchar (param_values + 3), 999s # g_marshal_value_peek_int (param_values + 4), 999s # g_marshal_value_peek_uint (param_values + 5), 999s # g_marshal_value_peek_int (param_values + 6), 999s # g_marshal_value_peek_uint (param_values + 7), 999s # g_marshal_value_peek_int64 (param_values + 8), 999s # g_marshal_value_peek_uint64 (param_values + 9), 999s # g_marshal_value_peek_double (param_values + 10), 999s # g_marshal_value_peek_string (param_values + 11), 999s # g_marshal_value_peek_string (param_values + 12), 999s # g_marshal_value_peek_string (param_values + 13), 999s # g_marshal_value_peek_variant (param_values + 14), 999s # g_marshal_value_peek_string (param_values + 15), 999s # g_marshal_value_peek_boxed (param_values + 16), 999s # g_marshal_value_peek_boxed (param_values + 17), 999s # g_marshal_value_peek_boxed (param_values + 18), 999s # g_marshal_value_peek_variant (param_values + 19), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.CallableIface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectCallableIface 999s # * @title: OrgProjectCallableIface 999s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.CallableIface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 999s # { 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 999s # { 999s # { 999s # -1, 999s # (gchar *) "MethodWithManyArgs", 999s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-method-with-many-args", 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 999s # { 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SameMethodWithManyArgs", 999s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-same-method-with-many-args", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 999s # { 999s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 999s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.CallableIface", 999s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-callable-iface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_callable_iface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_callable_iface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_callable_iface_method_marshal_method_with_many_args ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _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, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _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, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectCallableIface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 999s # */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 999s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.CallableIface. 999s # */ 999s # 999s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectCallableIface::handle-method-with-many-args: 999s # * @object: A #OrgProjectCallableIface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_an_b: Argument passed by remote caller. 999s # * @arg_an_y: Argument passed by remote caller. 999s # * @arg_an_n: Argument passed by remote caller. 999s # * @arg_an_q: Argument passed by remote caller. 999s # * @arg_an_i: Argument passed by remote caller. 999s # * @arg_an_u: Argument passed by remote caller. 999s # * @arg_an_x: Argument passed by remote caller. 999s # * @arg_an_t: Argument passed by remote caller. 999s # * @arg_an_d: Argument passed by remote caller. 999s # * @arg_an_s: Argument passed by remote caller. 999s # * @arg_an_o: Argument passed by remote caller. 999s # * @arg_an_g: Argument passed by remote caller. 999s # * @arg_an_h: Argument passed by remote caller. 999s # * @arg_an_ay: Argument passed by remote caller. 999s # * @arg_an_as: Argument passed by remote caller. 999s # * @arg_an_ao: Argument passed by remote caller. 999s # * @arg_an_aay: Argument passed by remote caller. 999s # * @arg_an_asv: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-method-with-many-args", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_callable_iface_method_marshal_method_with_many_args, 999s # G_TYPE_BOOLEAN, 999s # 19, 999s # 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); 999s # 999s # /** 999s # * OrgProjectCallableIface::handle-same-method-with-many-args: 999s # * @object: A #OrgProjectCallableIface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_an_b: Argument passed by remote caller. 999s # * @arg_an_y: Argument passed by remote caller. 999s # * @arg_an_n: Argument passed by remote caller. 999s # * @arg_an_q: Argument passed by remote caller. 999s # * @arg_an_i: Argument passed by remote caller. 999s # * @arg_an_u: Argument passed by remote caller. 999s # * @arg_an_x: Argument passed by remote caller. 999s # * @arg_an_t: Argument passed by remote caller. 999s # * @arg_an_d: Argument passed by remote caller. 999s # * @arg_an_s: Argument passed by remote caller. 999s # * @arg_an_o: Argument passed by remote caller. 999s # * @arg_an_g: Argument passed by remote caller. 999s # * @arg_an_h: Argument passed by remote caller. 999s # * @arg_an_ay: Argument passed by remote caller. 999s # * @arg_an_as: Argument passed by remote caller. 999s # * @arg_an_ao: Argument passed by remote caller. 999s # * @arg_an_aay: Argument passed by remote caller. 999s # * @arg_an_asv: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-same-method-with-many-args", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_callable_iface_method_marshal_same_method_with_many_args, 999s # G_TYPE_BOOLEAN, 999s # 19, 999s # 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); 999s # 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_method_with_many_args: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @arg_an_b: Argument to pass with the method invocation. 999s # * @arg_an_y: Argument to pass with the method invocation. 999s # * @arg_an_n: Argument to pass with the method invocation. 999s # * @arg_an_q: Argument to pass with the method invocation. 999s # * @arg_an_i: Argument to pass with the method invocation. 999s # * @arg_an_u: Argument to pass with the method invocation. 999s # * @arg_an_x: Argument to pass with the method invocation. 999s # * @arg_an_t: Argument to pass with the method invocation. 999s # * @arg_an_d: Argument to pass with the method invocation. 999s # * @arg_an_s: Argument to pass with the method invocation. 999s # * @arg_an_o: Argument to pass with the method invocation. 999s # * @arg_an_g: Argument to pass with the method invocation. 999s # * @arg_an_h: Argument to pass with the method invocation. 999s # * @arg_an_ay: Argument to pass with the method invocation. 999s # * @arg_an_as: Argument to pass with the method invocation. 999s # * @arg_an_ao: Argument to pass with the method invocation. 999s # * @arg_an_aay: Argument to pass with the method invocation. 999s # * @arg_an_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_callable_iface_call_method_with_many_args ( 999s # OrgProjectCallableIface *proxy, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "MethodWithManyArgs", 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_method_with_many_args_finish: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_callable_iface_call_method_with_many_args_finish ( 999s # OrgProjectCallableIface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_method_with_many_args_sync: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @arg_an_b: Argument to pass with the method invocation. 999s # * @arg_an_y: Argument to pass with the method invocation. 999s # * @arg_an_n: Argument to pass with the method invocation. 999s # * @arg_an_q: Argument to pass with the method invocation. 999s # * @arg_an_i: Argument to pass with the method invocation. 999s # * @arg_an_u: Argument to pass with the method invocation. 999s # * @arg_an_x: Argument to pass with the method invocation. 999s # * @arg_an_t: Argument to pass with the method invocation. 999s # * @arg_an_d: Argument to pass with the method invocation. 999s # * @arg_an_s: Argument to pass with the method invocation. 999s # * @arg_an_o: Argument to pass with the method invocation. 999s # * @arg_an_g: Argument to pass with the method invocation. 999s # * @arg_an_h: Argument to pass with the method invocation. 999s # * @arg_an_ay: Argument to pass with the method invocation. 999s # * @arg_an_as: Argument to pass with the method invocation. 999s # * @arg_an_ao: Argument to pass with the method invocation. 999s # * @arg_an_aay: Argument to pass with the method invocation. 999s # * @arg_an_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_callable_iface_call_method_with_many_args_sync ( 999s # OrgProjectCallableIface *proxy, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "MethodWithManyArgs", 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_same_method_with_many_args: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @arg_an_b: Argument to pass with the method invocation. 999s # * @arg_an_y: Argument to pass with the method invocation. 999s # * @arg_an_n: Argument to pass with the method invocation. 999s # * @arg_an_q: Argument to pass with the method invocation. 999s # * @arg_an_i: Argument to pass with the method invocation. 999s # * @arg_an_u: Argument to pass with the method invocation. 999s # * @arg_an_x: Argument to pass with the method invocation. 999s # * @arg_an_t: Argument to pass with the method invocation. 999s # * @arg_an_d: Argument to pass with the method invocation. 999s # * @arg_an_s: Argument to pass with the method invocation. 999s # * @arg_an_o: Argument to pass with the method invocation. 999s # * @arg_an_g: Argument to pass with the method invocation. 999s # * @arg_an_h: Argument to pass with the method invocation. 999s # * @arg_an_ay: Argument to pass with the method invocation. 999s # * @arg_an_as: Argument to pass with the method invocation. 999s # * @arg_an_ao: Argument to pass with the method invocation. 999s # * @arg_an_aay: Argument to pass with the method invocation. 999s # * @arg_an_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_callable_iface_call_same_method_with_many_args ( 999s # OrgProjectCallableIface *proxy, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SameMethodWithManyArgs", 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_same_method_with_many_args_finish: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_callable_iface_call_same_method_with_many_args_finish ( 999s # OrgProjectCallableIface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_same_method_with_many_args_sync: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @arg_an_b: Argument to pass with the method invocation. 999s # * @arg_an_y: Argument to pass with the method invocation. 999s # * @arg_an_n: Argument to pass with the method invocation. 999s # * @arg_an_q: Argument to pass with the method invocation. 999s # * @arg_an_i: Argument to pass with the method invocation. 999s # * @arg_an_u: Argument to pass with the method invocation. 999s # * @arg_an_x: Argument to pass with the method invocation. 999s # * @arg_an_t: Argument to pass with the method invocation. 999s # * @arg_an_d: Argument to pass with the method invocation. 999s # * @arg_an_s: Argument to pass with the method invocation. 999s # * @arg_an_o: Argument to pass with the method invocation. 999s # * @arg_an_g: Argument to pass with the method invocation. 999s # * @arg_an_h: Argument to pass with the method invocation. 999s # * @arg_an_ay: Argument to pass with the method invocation. 999s # * @arg_an_as: Argument to pass with the method invocation. 999s # * @arg_an_ao: Argument to pass with the method invocation. 999s # * @arg_an_aay: Argument to pass with the method invocation. 999s # * @arg_an_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_callable_iface_call_same_method_with_many_args_sync ( 999s # OrgProjectCallableIface *proxy, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SameMethodWithManyArgs", 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_complete_method_with_many_args: 999s # * @object: A #OrgProjectCallableIface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_callable_iface_complete_method_with_many_args ( 999s # OrgProjectCallableIface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_complete_same_method_with_many_args: 999s # * @object: A #OrgProjectCallableIface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_callable_iface_complete_same_method_with_many_args ( 999s # OrgProjectCallableIface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceProxy: 999s # * 999s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectCallableIfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectCallableIfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_callable_iface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 999s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 999s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_callable_iface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_callable_iface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceSkeleton: 999s # * 999s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectCallableIfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectCallableIfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_callable_iface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_callable_iface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_callable_iface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 999s # { 999s # _org_project_callable_iface_skeleton_handle_method_call, 999s # _org_project_callable_iface_skeleton_handle_get_property, 999s # _org_project_callable_iface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_callable_iface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_proje# Executing: glib/codegen.py.test 999s ct_callable_iface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_callable_iface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.OtherCallableIface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectOtherCallableIface 999s # * @title: OrgProjectOtherCallableIface 999s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 999s # { 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 999s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 999s # { 999s # { 999s # -1, 999s # (gchar *) "MethodWithManyArgs", 999s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-method-with-many-args", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 999s # { 999s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.OtherCallableIface", 999s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-other-callable-iface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_other_callable_iface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_other_callable_iface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _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, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectOtherCallableIface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 999s # */ 999s # 999s # /** 999s # * OrgProjectOtherCallableIfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 999s # */ 999s # 999s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 999s # * @object: A #OrgProjectOtherCallableIface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_an_b: Argument passed by remote caller. 999s # * @arg_an_y: Argument passed by remote caller. 999s # * @arg_an_n: Argument passed by remote caller. 999s # * @arg_an_q: Argument passed by remote caller. 999s # * @arg_an_i: Argument passed by remote caller. 999s # * @arg_an_u: Argument passed by remote caller. 999s # * @arg_an_x: Argument passed by remote caller. 999s # * @arg_an_t: Argument passed by remote caller. 999s # * @arg_an_d: Argument passed by remote caller. 999s # * @arg_an_s: Argument passed by remote caller. 999s # * @arg_an_o: Argument passed by remote caller. 999s # * @arg_an_g: Argument passed by remote caller. 999s # * @arg_an_h: Argument passed by remote caller. 999s # * @arg_an_ay: Argument passed by remote caller. 999s # * @arg_an_as: Argument passed by remote caller. 999s # * @arg_an_ao: Argument passed by remote caller. 999s # * @arg_an_aay: Argument passed by remote caller. 999s # * @arg_an_asv: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-method-with-many-args", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_other_callable_iface_method_marshal_method_with_many_args, 999s # G_TYPE_BOOLEAN, 999s # 19, 999s # 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); 999s # 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_call_method_with_many_args: 999s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 999s # * @arg_an_b: Argument to pass with the method invocation. 999s # * @arg_an_y: Argument to pass with the method invocation. 999s # * @arg_an_n: Argument to pass with the method invocation. 999s # * @arg_an_q: Argument to pass with the method invocation. 999s # * @arg_an_i: Argument to pass with the method invocation. 999s # * @arg_an_u: Argument to pass with the method invocation. 999s # * @arg_an_x: Argument to pass with the method invocation. 999s # * @arg_an_t: Argument to pass with the method invocation. 999s # * @arg_an_d: Argument to pass with the method invocation. 999s # * @arg_an_s: Argument to pass with the method invocation. 999s # * @arg_an_o: Argument to pass with the method invocation. 999s # * @arg_an_g: Argument to pass with the method invocation. 999s # * @arg_an_h: Argument to pass with the method invocation. 999s # * @arg_an_ay: Argument to pass with the method invocation. 999s # * @arg_an_as: Argument to pass with the method invocation. 999s # * @arg_an_ao: Argument to pass with the method invocation. 999s # * @arg_an_aay: Argument to pass with the method invocation. 999s # * @arg_an_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 999s # * 999s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_other_callable_iface_call_method_with_many_args ( 999s # OrgProjectOtherCallableIface *proxy, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "MethodWithManyArgs", 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_call_method_with_many_args_finish: 999s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_other_callable_iface_call_method_with_many_args_finish ( 999s # OrgProjectOtherCallableIface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_call_method_with_many_args_sync: 999s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 999s # * @arg_an_b: Argument to pass with the method invocation. 999s # * @arg_an_y: Argument to pass with the method invocation. 999s # * @arg_an_n: Argument to pass with the method invocation. 999s # * @arg_an_q: Argument to pass with the method invocation. 999s # * @arg_an_i: Argument to pass with the method invocation. 999s # * @arg_an_u: Argument to pass with the method invocation. 999s # * @arg_an_x: Argument to pass with the method invocation. 999s # * @arg_an_t: Argument to pass with the method invocation. 999s # * @arg_an_d: Argument to pass with the method invocation. 999s # * @arg_an_s: Argument to pass with the method invocation. 999s # * @arg_an_o: Argument to pass with the method invocation. 999s # * @arg_an_g: Argument to pass with the method invocation. 999s # * @arg_an_h: Argument to pass with the method invocation. 999s # * @arg_an_ay: Argument to pass with the method invocation. 999s # * @arg_an_as: Argument to pass with the method invocation. 999s # * @arg_an_ao: Argument to pass with the method invocation. 999s # * @arg_an_aay: Argument to pass with the method invocation. 999s # * @arg_an_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_other_callable_iface_call_method_with_many_args_sync ( 999s # OrgProjectOtherCallableIface *proxy, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "MethodWithManyArgs", 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_complete_method_with_many_args: 999s # * @object: A #OrgProjectOtherCallableIface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_other_callable_iface_complete_method_with_many_args ( 999s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectOtherCallableIfaceProxy: 999s # * 999s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectOtherCallableIfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectOtherCallableIfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_other_callable_iface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 999s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 999s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_other_callable_iface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectOtherCallableIface * 999s # org_project_other_callable_iface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectOtherCallableIface * 999s # org_project_other_callable_iface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_other_callable_iface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_other_callable_iface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectOtherCallableIface * 999s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectOtherCallableIface * 999s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectOtherCallableIfaceSkeleton: 999s # * 999s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectOtherCallableIfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_other_callable_iface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_other_callable_iface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_other_callable_iface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 999s # { 999s # _org_project_other_callable_iface_skeleton_handle_method_call, 999s # _org_project_other_callable_iface_skeleton_handle_get_property, 999s # _org_project_other_callable_iface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_other_callable_iface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_other_callable_iface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectOtherCallableIface * 999s # org_project_other_callable_iface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s ok 19 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpos1znr3b 999s # /tmp/tmpos1znr3b/tmp2hgi8c6x.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1znr3b/tmp2hgi8c6x.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.CallableIface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectCallableIface 999s # * @title: OrgProjectCallableIface 999s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.CallableIface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 999s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 999s # { 999s # { 999s # -1, 999s # (gchar *) "MethodWithManyArgs", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-method-with-many-args", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 999s # { 999s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.CallableIface", 999s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-callable-iface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_callable_iface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_callable_iface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_callable_iface_method_marshal_method_with_many_args ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectCallableIface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 999s # */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.CallableIface. 999s # */ 999s # 999s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectCallableIface::handle-method-with-many-args: 999s # * @object: A #OrgProjectCallableIface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-method-with-many-args", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_callable_iface_method_marshal_method_with_many_args, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_method_with_many_args: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_callable_iface_call_method_with_many_args ( 999s # OrgProjectCallableIface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "MethodWithManyArgs", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_method_with_many_args_finish: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_callable_iface_call_method_with_many_args_finish ( 999s # OrgProjectCallableIface *proxy, 999s # gboolean* out_an_b, 999s # guchar* out_an_y, 999s # gint16* out_an_n, 999s # guint16* out_an_q, 999s # gint* out_an_i, 999s # guint* out_an_u, 999s # gint64* out_an_x, 999s # guint64* out_an_t, 999s # gdouble* out_an_d, 999s # gchar ** out_an_s, 999s # gchar ** out_an_o, 999s # gchar ** out_an_g, 999s # GVariant ** out_an_h, 999s # gchar ** out_an_ay, 999s # gchar *** out_an_as, 999s # gchar *** out_an_ao, 999s # gchar *** out_an_aay, 999s # GVariant ** out_an_asv, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # out_an_b, 999s # out_an_y, 999s # out_an_n, 999s # out_an_q, 999s # out_an_i, 999s # out_an_u, 999s # out_an_x, 999s # out_an_t, 999s # out_an_d, 999s # out_an_s, 999s # out_an_o, 999s # out_an_g, 999s # out_an_h, 999s # out_an_ay, 999s # out_an_as, 999s # out_an_ao, 999s # out_an_aay, 999s # out_an_asv); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_call_method_with_many_args_sync: 999s # * @proxy: A #OrgProjectCallableIfaceProxy. 999s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 999s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_callable_iface_call_method_with_many_args_sync ( 999s # OrgProjectCallableIface *proxy, 999s # gboolean* out_an_b, 999s # guchar* out_an_y, 999s # gint16* out_an_n, 999s # guint16* out_an_q, 999s # gint* out_an_i, 999s # guint* out_an_u, 999s # gint64* out_an_x, 999s # guint64* out_an_t, 999s # gdouble* out_an_d, 999s # gchar ** out_an_s, 999s # gchar ** out_an_o, 999s # gchar ** out_an_g, 999s # GVariant ** out_an_h, 999s # gchar ** out_an_ay, 999s # gchar *** out_an_as, 999s # gchar *** out_an_ao, 999s # gchar *** out_an_aay, 999s # GVariant ** out_an_asv, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "MethodWithManyArgs", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # out_an_b, 999s # out_an_y, 999s # out_an_n, 999s # out_an_q, 999s # out_an_i, 999s # out_an_u, 999s # out_an_x, 999s # out_an_t, 999s # out_an_d, 999s # out_an_s, 999s # out_an_o, 999s # out_an_g, 999s # out_an_h, 999s # out_an_ay, 999s # out_an_as, 999s # out_an_ao, 999s # out_an_aay, 999s # out_an_asv); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_complete_method_with_many_args: 999s # * @object: A #OrgProjectCallableIface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @an_b: Parameter to return. 999s # * @an_y: Parameter to return. 999s # * @an_n: Parameter to return. 999s # * @an_q: Parameter to return. 999s # * @an_i: Parameter to return. 999s # * @an_u: Parameter to return. 999s # * @an_x: Parameter to return. 999s # * @an_t: Parameter to return. 999s # * @an_d: Parameter to return. 999s # * @an_s: Parameter to return. 999s # * @an_o: Parameter to return. 999s # * @an_g: Parameter to return. 999s # * @an_h: Parameter to return. 999s # * @an_ay: Parameter to return. 999s # * @an_as: Parameter to return. 999s # * @an_ao: Parameter to return. 999s # * @an_aay: Parameter to return. 999s # * @an_asv: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_callable_iface_complete_method_with_many_args ( 999s # OrgProjectCallableIface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gboolean an_b, 999s # guchar an_y, 999s # gint16 an_n, 999s # guint16 an_q, 999s # gint an_i, 999s # guint an_u, 999s # gint64 an_x, 999s # guint64 an_t, 999s # gdouble an_d, 999s # const gchar *an_s, 999s # const gchar *an_o, 999s # const gchar *an_g, 999s # GVariant *an_h, 999s # const gchar *an_ay, 999s # const gchar *const *an_as, 999s # const gchar *const *an_ao, 999s # const gchar *const *an_aay, 999s # GVariant *an_asv) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # an_b, 999s # an_y, 999s # an_n, 999s # an_q, 999s # an_i, 999s # an_u, 999s # an_x, 999s # an_t, 999s # an_d, 999s # an_s, 999s # an_o, 999s # an_g, 999s # an_h, 999s # an_ay, 999s # an_as, 999s # an_ao, 999s # an_aay, 999s # an_asv)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceProxy: 999s # * 999s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectCallableIfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectCallableIfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_callable_iface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 999s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 999s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_callable_iface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_callable_iface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_CALLABLE_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceSkeleton: 999s # * 999s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectCallableIfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectCallableIfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectCallableIfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_callable_iface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_callable_iface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_callable_iface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 999s # { 999s # _org_project_callable_iface_skeleton_handle_method_call, 999s # _org_project_callable_iface_skeleton_handle_get_property, 999s # _org_project_callable_iface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_callable_iface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_callable_iface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_callable_iface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectCallableIface * 999s # org_project_callable_iface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s ok 20 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpi177zpwq 999s # /tmp/tmpi177zpwq/tmpe6e2tdh5.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi177zpwq/tmpe6e2tdh5.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # GUnixFDList *arg_fd_list, 999s # const gchar *arg_greeting, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 4); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_object (param_values + 2), 999s # g_marshal_value_peek_string (param_values + 3), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface test.FDPassing 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:TestFDPassing 999s # * @title: TestFDPassing 999s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 999s # * 999s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for test.FDPassing ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 999s # { 999s # { 999s # -1, 999s # (gchar *) "greeting", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 999s # { 999s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 999s # { 999s # { 999s # -1, 999s # (gchar *) "response", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 999s # { 999s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 999s # { 999s # { 999s # -1, 999s # (gchar *) "HelloFD", 999s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 999s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-hello-fd", 999s # TRUE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 999s # { 999s # &_test_fdpassing_method_info_hello_fd.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "test.FDPassing", 999s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "test-fdpassing", 999s # }; 999s # 999s # 999s # /** 999s # * test_fdpassing_interface_info: 999s # * 999s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # test_fdpassing_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * test_fdpassing_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # test_fdpassing_method_marshal_hello_fd ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * TestFDPassing: 999s # * 999s # * Abstract interface type for the D-Bus interface test.FDPassing. 999s # */ 999s # 999s # /** 999s # * TestFDPassingIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 999s # * 999s # * Virtual table for the D-Bus interface test.FDPassing. 999s # */ 999s # 999s # typedef TestFDPassingIface TestFDPassingInterface; 999s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 999s # 999s # static void 999s # test_fdpassing_default_init (TestFDPassingIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * TestFDPassing::handle-hello-fd: 999s # * @object: A #TestFDPassing. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 999s # * @arg_greeting: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-hello-fd", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # test_fdpassing_method_marshal_hello_fd, 999s # G_TYPE_BOOLEAN, 999s # 3, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 999s # 999s # } 999s # 999s # /** 999s # * test_fdpassing_call_hello_fd: 999s # * @proxy: A #TestFDPassingProxy. 999s # * @arg_greeting: Argument to pass with the method invocation. 999s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 999s # * 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()). 999s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 999s # * 999s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # test_fdpassing_call_hello_fd ( 999s # TestFDPassing *proxy, 999s # const gchar *arg_greeting, 999s # GUnixFDList *fd_list, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 999s # "HelloFD", 999s # g_variant_new ("(s)", 999s # arg_greeting), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # fd_list, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * test_fdpassing_call_hello_fd_finish: 999s # * @proxy: A #TestFDPassingProxy. 999s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # test_fdpassing_call_hello_fd_finish ( 999s # TestFDPassing *proxy, 999s # gchar ** out_response, 999s # GUnixFDList **out_fd_list, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(s)", 999s # out_response); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * test_fdpassing_call_hello_fd_sync: 999s # * @proxy: A #TestFDPassingProxy. 999s # * @arg_greeting: Argument to pass with the method invocation. 999s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 999s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # test_fdpassing_call_hello_fd_sync ( 999s # TestFDPassing *proxy, 999s # const gchar *arg_greeting, 999s # GUnixFDList *fd_list, 999s # gchar ** out_response, 999s # GUnixFDList **out_fd_list, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 999s # "HelloFD", 999s # g_variant_new ("(s)", 999s # arg_greeting), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # fd_list, 999s # out_fd_list, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(s)", 999s # out_response); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * test_fdpassing_complete_hello_fd: 999s # * @object: A #TestFDPassing. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 999s # * @response: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # test_fdpassing_complete_hello_fd ( 999s # TestFDPassing *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # GUnixFDList *fd_list, 999s # const gchar *response) 999s # { 999s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 999s # g_variant_new ("(s)", 999s # response), 999s # fd_list); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * TestFDPassingProxy: 999s # * 999s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * TestFDPassingProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #TestFDPassingProxy. 999s # */ 999s # 999s # struct _TestFDPassingProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (TestFDPassingProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # test_fdpassing_proxy_finalize (GObject *object) 999s # { 999s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = test_fdpassing_proxy_finalize; 999s # gobject_class->get_property = test_fdpassing_proxy_get_property; 999s # gobject_class->set_property = test_fdpassing_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 999s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * test_fdpassing_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # test_fdpassing_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * test_fdpassing_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with test_fdpassing_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # TestFDPassing * 999s # test_fdpassing_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return TEST_FDPASSING (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * test_fdpassing_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # TestFDPassing * 999s # test_fdpassing_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return TEST_FDPASSING (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * test_fdpassing_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # test_fdpassing_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * test_fdpassing_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # TestFDPassing * 999s # test_fdpassing_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return TEST_FDPASSING (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * test_fdpassing_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # TestFDPassing * 999s # test_fdpassing_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return TEST_FDPASSING (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * TestFDPassingSkeleton: 999s # * 999s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * TestFDPassingSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #TestFDPassingSkeleton. 999s # */ 999s # 999s # struct _TestFDPassingSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _test_fdpassing_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _test_fdpassing_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _test_fdpassing_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 999s # { 999s # _test_fdpassing_skeleton_handle_method_call, 999s # _test_fdpassing_skeleton_handle_get_property, 999s # _test_fdpassing_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return test_fdpassing_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (TestFDPassingSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # test_fdpassing_skeleton_finalize (GObject *object) 999s # { 999s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * test_fdpassing_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 999s # * 999s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 999s # */ 999s # TestFDPassing * 999s # test_fdpassing_skeleton_new (void) 999s # { 999s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 999s # } 999s # Error: 999s ok 21 __main__.TestCodegen.test_generate_rst 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpf6znymh4 999s # /tmp/tmpf6znymh4/tmpue8569zx.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf6znymh4/tmpue8569zx.xml', '--generate-rst', 'test'] 999s # Return code: 0 999s # Output: 999s # 999s # Error: 999s ok 22 __main__.TestCodegen.test_generate_rst_method 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpr4d8bzga 999s # /tmp/tmpr4d8bzga/tmpga29h5le.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr4d8bzga/tmpga29h5le.xml', '--generate-rst', 'test'] 999s # Return code: 0 999s # Output: 999s # 999s # Error: 999s ok 23 __main__.TestCodegen.test_generate_rst_property 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpr8ns7r4l 999s # /tmp/tmpr8ns7r4l/tmp8w82y6qp.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr8ns7r4l/tmp8w82y6qp.xml', '--generate-rst', 'test'] 999s # Return code: 0 999s # Output: 999s # 999s # Error: 999s ok 24 __main__.TestCodegen.test_generate_rst_signal 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpe3l5q38c 999s # /tmp/tmpe3l5q38c/tmpv1iepabk.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe3l5q38c/tmpv1iepabk.xml', '--generate-rst', 'test'] 999s # Return code: 0 999s # Output: 999s # 999s # Error: 999s ok 25 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmp95r2fz7c 999s # /tmp/tmp95r2fz7c/tmpaxevnrnu.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp95r2fz7c/tmpaxevnrnu.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 999s # GClosure *closure, 999s # GValue *return_value G_GNUC_UNUSED, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 999s # (void *data1, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv, 999s # void *data2); 999s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # 999s # g_return_if_fail (n_param_values == 19); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # callback (data1, 999s # g_marshal_value_peek_boolean (param_values + 1), 999s # g_marshal_value_peek_uchar (param_values + 2), 999s # g_marshal_value_peek_int (param_values + 3), 999s # g_marshal_value_peek_uint (param_values + 4), 999s # g_marshal_value_peek_int (param_values + 5), 999s # g_marshal_value_peek_uint (param_values + 6), 999s # g_marshal_value_peek_int64 (param_values + 7), 999s # g_marshal_value_peek_uint64 (param_values + 8), 999s # g_marshal_value_peek_double (param_values + 9), 999s # g_marshal_value_peek_string (param_values + 10), 999s # g_marshal_value_peek_string (param_values + 11), 999s # g_marshal_value_peek_string (param_values + 12), 999s # g_marshal_value_peek_variant (param_values + 13), 999s # g_marshal_value_peek_string (param_values + 14), 999s # g_marshal_value_peek_boxed (param_values + 15), 999s # g_marshal_value_peek_boxed (param_values + 16), 999s # g_marshal_value_peek_boxed (param_values + 17), 999s # g_marshal_value_peek_variant (param_values + 18), 999s # data2); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.SignalingIface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectSignalingIface 999s # * @title: OrgProjectSignalingIface 999s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 999s # */ 999s # 999s # enum 999s # { 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 999s # }; 999s # 999s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 999s # 999s # /* ---- Introspection data for org.project.SignalingIface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SignalWithManyArgs", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 999s # NULL 999s # }, 999s # "signal-with-many-args" 999s # }; 999s # 999s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.SignalingIface", 999s # NULL, 999s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-signaling-iface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_signaling_iface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_signaling_iface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectSignalingIface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 999s # */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.SignalingIface. 999s # */ 999s # 999s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 999s # { 999s # /* GObject signals for received D-Bus signals: */ 999s # /** 999s # * OrgProjectSignalingIface::signal-with-many-args: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_b: Argument. 999s # * @arg_an_y: Argument. 999s # * @arg_an_n: Argument. 999s # * @arg_an_q: Argument. 999s # * @arg_an_i: Argument. 999s # * @arg_an_u: Argument. 999s # * @arg_an_x: Argument. 999s # * @arg_an_t: Argument. 999s # * @arg_an_d: Argument. 999s # * @arg_an_s: Argument. 999s # * @arg_an_o: Argument. 999s # * @arg_an_g: Argument. 999s # * @arg_an_h: Argument. 999s # * @arg_an_ay: Argument. 999s # * @arg_an_as: Argument. 999s # * @arg_an_ao: Argument. 999s # * @arg_an_aay: Argument. 999s # * @arg_an_asv: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 999s # g_signal_new ("signal-with-many-args", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 999s # G_TYPE_NONE, 999s # 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); 999s # 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_signal_with_many_args: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_b: Argument to pass with the signal. 999s # * @arg_an_y: Argument to pass with the signal. 999s # * @arg_an_n: Argument to pass with the signal. 999s # * @arg_an_q: Argument to pass with the signal. 999s # * @arg_an_i: Argument to pass with the signal. 999s # * @arg_an_u: Argument to pass with the signal. 999s # * @arg_an_x: Argument to pass with the signal. 999s # * @arg_an_t: Argument to pass with the signal. 999s # * @arg_an_d: Argument to pass with the signal. 999s # * @arg_an_s: Argument to pass with the signal. 999s # * @arg_an_o: Argument to pass with the signal. 999s # * @arg_an_g: Argument to pass with the signal. 999s # * @arg_an_h: Argument to pass with the signal. 999s # * @arg_an_ay: Argument to pass with the signal. 999s # * @arg_an_as: Argument to pass with the signal. 999s # * @arg_an_ao: Argument to pass with the signal. 999s # * @arg_an_aay: Argument to pass with the signal. 999s # * @arg_an_asv: Argument to pass with the signal. 999s # * 999s # * Emits the "SignalWithManyArgs" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_signal_with_many_args ( 999s # OrgProjectSignalingIface *object, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv) 999s # { 999s # 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); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceProxy: 999s # * 999s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectSignalingIfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectSignalingIfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_signaling_iface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 999s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 999s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_signaling_iface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_signaling_iface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceSkeleton: 999s # * 999s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectSignalingIfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_signaling_iface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_signaling_iface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_signaling_iface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 999s # { 999s # _org_project_signaling_iface_skeleton_handle_method_call, 999s # _org_project_signaling_iface_skeleton_handle_get_property, 999s # _org_project_signaling_iface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_signaling_iface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 999s # OrgProjectSignalingIface *object, 999s # gboolean arg_an_b, 999s # guchar arg_an_y, 999s # gint16 arg_an_n, 999s # guint16 arg_an_q, 999s # gint arg_an_i, 999s # guint arg_an_u, 999s # gint64 arg_an_x, 999s # guint64 arg_an_t, 999s # gdouble arg_an_d, 999s # const gchar *arg_an_s, 999s # const gchar *arg_an_o, 999s # const gchar *arg_an_g, 999s # GVariant *arg_an_h, 999s # const gchar *arg_an_ay, 999s # const gchar *const *arg_an_as, 999s # const gchar *const *arg_an_ao, 999s # const gchar *const *arg_an_aay, 999s # GVariant *arg_an_asv) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 999s # arg_an_b, 999s # arg_an_y, 999s # arg_an_n, 999s # arg_an_q, 999s # arg_an_i, 999s # arg_an_u, 999s # arg_an_x, 999s # arg_an_t, 999s # arg_an_d, 999s # arg_an_s, 999s # arg_an_o, 999s # arg_an_g, 999s # arg_an_h, 999s # arg_an_ay, 999s # arg_an_as, 999s # arg_an_ao, 999s # arg_an_aay, 999s # arg_an_asv)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_signaling_iface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 999s # { 999s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 999s # } 999s # Error: 999s ok 26 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 999s # gdbus-codegen: /usr/bin/gdbus-codegen 999s # tmpdir: /tmp/tmpx_vxewt6 999s # /tmp/tmpx_vxewt6/tmpgqu7nv7w.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_vxewt6/tmpgqu7nv7w.xml', '--output', '-', '--body'] 999s # Return code: 0 999s # Output: 999s # /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_VOID__INT64 ( 999s # GClosure *closure, 999s # GValue *return_value G_GNUC_UNUSED, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 999s # (void *data1, 999s # gint64 arg_an_x, 999s # void *data2); 999s # _GDbusCodegenMarshalVoid_Int64Func callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # callback (data1, 999s # g_marshal_value_peek_int64 (param_values + 1), 999s # data2); 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_VOID__UINT64 ( 999s # GClosure *closure, 999s # GValue *return_value G_GNUC_UNUSED, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 999s # (void *data1, 999s # guint64 arg_an_t, 999s # void *data2); 999s # _GDbusCodegenMarshalVoid_Uint64Func callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # callback (data1, 999s # g_marshal_value_peek_uint64 (param_values + 1), 999s # data2); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.SignalingIface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectSignalingIface 999s # * @title: OrgProjectSignalingIface 999s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 999s # */ 999s # 999s # enum 999s # { 999s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 999s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 999s # }; 999s # 999s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 999s # 999s # /* ---- Introspection data for org.project.SignalingIface ---- */ 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 999s # { 999s # { 999s # -1, 999s # (gchar *) "NoArgSignal", 999s # NULL, 999s # NULL 999s # }, 999s # "no-arg-signal" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalB", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-b" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalY", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-y" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_n", 999s # (gchar *) "n", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalN", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-n" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_q", 999s # (gchar *) "q", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalQ", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-q" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_i", 999s # (gchar *) "i", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalI", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-i" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_u", 999s # (gchar *) "u", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalU", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-u" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_x", 999s # (gchar *) "x", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalX", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-x" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_t", 999s # (gchar *) "t", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalT", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-t" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalD", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-d" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalS", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-s" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalO", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-o" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalG", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-g" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalH", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-h" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalAY", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-ay" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalAS", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-as" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalAO", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-ao" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalAAY", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-aay" 999s # }; 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "an_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgSignalASV", 999s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 999s # NULL 999s # }, 999s # "single-arg-signal-asv" 999s # }; 999s # 999s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 999s # { 999s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 999s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.SignalingIface", 999s # NULL, 999s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-signaling-iface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_signaling_iface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_signaling_iface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__VOID (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__BOOLEAN (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__UCHAR (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__INT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__UINT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__INT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__UINT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__DOUBLE (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__VARIANT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__BOXED (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__BOXED (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__BOXED (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # inline static void 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # g_cclosure_marshal_VOID__VARIANT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectSignalingIface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 999s # */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 999s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 999s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 999s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 999s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 999s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 999s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 999s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 999s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 999s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 999s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 999s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 999s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 999s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 999s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 999s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 999s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 999s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 999s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.SignalingIface. 999s # */ 999s # 999s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 999s # { 999s # /* GObject signals for received D-Bus signals: */ 999s # /** 999s # * OrgProjectSignalingIface::no-arg-signal: 999s # * @object: A #OrgProjectSignalingIface. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 999s # g_signal_new ("no-arg-signal", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_no_arg_signal, 999s # G_TYPE_NONE, 999s # 0); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-b: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_b: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 999s # g_signal_new ("single-arg-signal-b", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_BOOLEAN); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-y: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_y: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 999s # g_signal_new ("single-arg-signal-y", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_UCHAR); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-n: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_n: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 999s # g_signal_new ("single-arg-signal-n", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_INT); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-q: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_q: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 999s # g_signal_new ("single-arg-signal-q", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_UINT); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-i: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_i: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 999s # g_signal_new ("single-arg-signal-i", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_INT); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-u: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_u: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 999s # g_signal_new ("single-arg-signal-u", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_UINT); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-x: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_x: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 999s # g_signal_new ("single-arg-signal-x", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_INT64); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-t: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_t: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 999s # g_signal_new ("single-arg-signal-t", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_UINT64); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-d: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_d: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 999s # g_signal_new ("single-arg-signal-d", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_DOUBLE); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-s: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_s: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 999s # g_signal_new ("single-arg-signal-s", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRING); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-o: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_o: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 999s # g_signal_new ("single-arg-signal-o", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRING); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-g: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_g: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 999s # g_signal_new ("single-arg-signal-g", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRING); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-h: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_h: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 999s # g_signal_new ("single-arg-signal-h", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_VARIANT); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-ay: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_ay: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 999s # g_signal_new ("single-arg-signal-ay", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRING); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-as: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_as: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 999s # g_signal_new ("single-arg-signal-as", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRV); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-ao: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_ao: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 999s # g_signal_new ("single-arg-signal-ao", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRV); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-aay: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_aay: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 999s # g_signal_new ("single-arg-signal-aay", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_STRV); 999s # 999s # /** 999s # * OrgProjectSignalingIface::single-arg-signal-asv: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_asv: Argument. 999s # * 999s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 999s # * 999s # * 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. 999s # */ 999s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 999s # g_signal_new ("single-arg-signal-asv", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 999s # NULL, 999s # NULL, 999s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 999s # G_TYPE_NONE, 999s # 1, G_TYPE_VARIANT); 999s # 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_no_arg_signal: 999s # * @object: A #OrgProjectSignalingIface. 999s # * 999s # * Emits the "NoArgSignal" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_no_arg_signal ( 999s # OrgProjectSignalingIface *object) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_b: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_b: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalB" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_b ( 999s # OrgProjectSignalingIface *object, 999s # gboolean arg_an_b) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_y: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_y: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalY" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_y ( 999s # OrgProjectSignalingIface *object, 999s # guchar arg_an_y) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_n: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_n: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalN" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_n ( 999s # OrgProjectSignalingIface *object, 999s # gint16 arg_an_n) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_q: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_q: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalQ" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_q ( 999s # OrgProjectSignalingIface *object, 999s # guint16 arg_an_q) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_i: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_i: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalI" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_i ( 999s # OrgProjectSignalingIface *object, 999s # gint arg_an_i) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_u: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_u: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalU" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_u ( 999s # OrgProjectSignalingIface *object, 999s # guint arg_an_u) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_x: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_x: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalX" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_x ( 999s # OrgProjectSignalingIface *object, 999s # gint64 arg_an_x) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_t: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_t: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalT" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_t ( 999s # OrgProjectSignalingIface *object, 999s # guint64 arg_an_t) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_d: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_d: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalD" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_d ( 999s # OrgProjectSignalingIface *object, 999s # gdouble arg_an_d) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_s: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_s: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalS" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_s ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_s) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_o: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_o: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalO" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_o ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_o) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_g: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_g: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalG" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_g ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_g) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_h: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_h: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalH" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_h ( 999s # OrgProjectSignalingIface *object, 999s # GVariant *arg_an_h) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_ay: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_ay: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalAY" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_ay ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_ay) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_as: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_as: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalAS" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_as ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *const *arg_an_as) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_ao: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_ao: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalAO" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_ao ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *const *arg_an_ao) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_aay: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_aay: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalAAY" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_aay ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *const *arg_an_aay) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_emit_single_arg_signal_asv: 999s # * @object: A #OrgProjectSignalingIface. 999s # * @arg_an_asv: Argument to pass with the signal. 999s # * 999s # * Emits the "SingleArgSignalASV" D-Bus signal. 999s # */ 999s # void 999s # org_project_signaling_iface_emit_single_arg_signal_asv ( 999s # OrgProjectSignalingIface *object, 999s # GVariant *arg_an_asv) 999s # { 999s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceProxy: 999s # * 999s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectSignalingIfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectSignalingIfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_signaling_iface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 999s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 999s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 999s # * 999s # * 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()). 999s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_signaling_iface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * 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()). 999s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_signaling_iface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # 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); 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_SIGNALING_IFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceSkeleton: 999s # * 999s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectSignalingIfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectSignalingIfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_signaling_iface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # 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); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_signaling_iface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_signaling_iface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 999s # { 999s # _org_project_signaling_iface_skeleton_handle_method_call, 999s # _org_project_signaling_iface_skeleton_handle_get_property, 999s # _org_project_signaling_iface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_signaling_iface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 999s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #else 999s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 999s # #endif 999s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_no_arg_signal ( 999s # OrgProjectSignalingIface *object) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 999s # OrgProjectSignalingIface *object, 999s # gboolean arg_an_b) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 999s # arg_an_b)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 999s # OrgProjectSignalingIface *object, 999s # guchar arg_an_y) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 999s # arg_an_y)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 999s # OrgProjectSignalingIface *object, 999s # gint16 arg_an_n) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 999s # arg_an_n)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 999s # OrgProjectSignalingIface *object, 999s # guint16 arg_an_q) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 999s # arg_an_q)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 999s # OrgProjectSignalingIface *object, 999s # gint arg_an_i) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 999s # arg_an_i)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 999s # OrgProjectSignalingIface *object, 999s # guint arg_an_u) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 999s # arg_an_u)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 999s # OrgProjectSignalingIface *object, 999s # gint64 arg_an_x) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 999s # arg_an_x)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 999s # OrgProjectSignalingIface *object, 999s # guint64 arg_an_t) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 999s # arg_an_t)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 999s # OrgProjectSignalingIface *object, 999s # gdouble arg_an_d) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 999s # arg_an_d)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_s) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 999s # arg_an_s)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_o) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 999s # arg_an_o)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_g) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 999s # arg_an_g)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 999s # OrgProjectSignalingIface *object, 999s # GVariant *arg_an_h) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 999s # arg_an_h)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *arg_an_ay) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 999s # arg_an_ay)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *const *arg_an_as) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 999s # arg_an_as)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *const *arg_an_ao) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 999s # arg_an_ao)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 999s # OrgProjectSignalingIface *object, 999s # const gchar *const *arg_an_aay) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 999s # arg_an_aay)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void 999s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 999s # OrgProjectSignalingIface *object, 999s # GVariant *arg_an_asv) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # 999s # GList *connections, *l; 999s # GVariant *signal_variant; 999s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 999s # 999s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 999s # arg_an_asv)); 999s # for (l = connections; l != NULL; l = l->next) 999s # { 999s # GDBusConnection *connection = l->data; 999s # g_dbus_connection_emit_signal (connection, 999s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 999s # signal_variant, NULL); 999s # } 999s # g_variant_unref (signal_variant); 999s # g_list_free_full (connections, g_object_unref); 999s # } 999s # 999s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_signaling_iface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # /* coverity[missing_lock : SUPPRESS] */ 999s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 999s # #else 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # skeleton->priv->changed_properties_idle_source = NULL; 999s # #endif 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 999s # { 999s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 999s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 999s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 999s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 999s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 999s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 999s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 999s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 999s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 999s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 999s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 999s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 999s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 999s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 999s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 999s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 999s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 999s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 999s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 999s # } 999s # 999s # /** 999s # * org_project_signaling_iface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectSignalingIface * 999s # org_project_signaling_iface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 999s # } 999s # Error: 1000s ok 27 __main__.TestCodegen.test_generate_signal_id_simple_signal 1000s # gdbus-codegen: /usr/bin/gdbus-codegen 1000s # tmpdir: /tmp/tmpx39n_tpr 1000s # /tmp/tmpx39n_tpr/tmpp7a6lp90.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx39n_tpr/tmpp7a6lp90.xml', '--output', '-', '--body'] 1000s # Return code: 0 1000s # Output: 1000s # /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # enum 1000s # { 1000s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1000s # }; 1000s # 1000s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SimpleSignal", 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "simple-signal" 1000s # }; 1000s # 1000s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # NULL, 1000s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_signal_marshal_simple_signal ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # g_cclosure_marshal_VOID__VOID (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for received D-Bus signals: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::simple-signal: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * 1000s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1000s # * 1000s # * 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. 1000s # */ 1000s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1000s # g_signal_new ("simple-signal", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1000s # NULL, 1000s # NULL, 1000s # org_project_useful_interface_signal_marshal_simple_signal, 1000s # G_TYPE_NONE, 1000s # 0); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_emit_simple_signal: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * 1000s # * Emits the "SimpleSignal" D-Bus signal. 1000s # */ 1000s # void 1000s # org_project_useful_interface_emit_simple_signal ( 1000s # OrgProjectUsefulInterface *object) 1000s # { 1000s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # 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); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1000s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #else 1000s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #endif 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # _org_project_useful_interface_on_signal_simple_signal ( 1000s # OrgProjectUsefulInterface *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # 1000s # GList *connections, *l; 1000s # GVariant *signal_variant; 1000s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1000s # 1000s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1000s # for (l = connections; l != NULL; l = l->next) 1000s # { 1000s # GDBusConnection *connection = l->data; 1000s # g_dbus_connection_emit_signal (connection, 1000s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1000s # signal_variant, NULL); 1000s # } 1000s # g_variant_unref (signal_variant); 1000s # g_list_free_full (connections, g_object_unref); 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # /* coverity[missing_lock : SUPPRESS] */ 1000s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1000s # #else 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # skeleton->priv->changed_properties_idle_source = NULL; 1000s # #endif 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.OtherIface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectOtherIface 1000s # * @title: OrgProjectOtherIface 1000s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1000s # */ 1000s # 1000s # enum 1000s # { 1000s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1000s # }; 1000s # 1000s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1000s # 1000s # /* ---- Introspection data for org.project.OtherIface ---- */ 1000s # 1000s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SimpleSignal", 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "simple-signal" 1000s # }; 1000s # 1000s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1000s # { 1000s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.OtherIface", 1000s # NULL, 1000s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-other-iface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_other_iface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_other_iface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_other_iface_signal_marshal_simple_signal ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # g_cclosure_marshal_VOID__VOID (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectOtherIface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherIfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.OtherIface. 1000s # */ 1000s # 1000s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1000s # { 1000s # /* GObject signals for received D-Bus signals: */ 1000s # /** 1000s # * OrgProjectOtherIface::simple-signal: 1000s # * @object: A #OrgProjectOtherIface. 1000s # * 1000s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1000s # * 1000s # * 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. 1000s # */ 1000s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1000s # g_signal_new ("simple-signal", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1000s # NULL, 1000s # NULL, 1000s # org_project_other_iface_signal_marshal_simple_signal, 1000s # G_TYPE_NONE, 1000s # 0); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_emit_simple_signal: 1000s # * @object: A #OrgProjectOtherIface. 1000s # * 1000s # * Emits the "SimpleSignal" D-Bus signal. 1000s # */ 1000s # void 1000s # org_project_other_iface_emit_simple_signal ( 1000s # OrgProjectOtherIface *object) 1000s # { 1000s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectOtherIfaceProxy: 1000s # * 1000s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherIfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectOtherIfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectOtherIfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_other_iface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1000s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1000s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_other_iface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherIface * 1000s # org_project_other_iface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherIface * 1000s # org_project_other_iface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_other_iface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_other_iface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherIface * 1000s # org_project_other_iface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherIface * 1000s # org_project_other_iface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectOtherIfaceSkeleton: 1000s # * 1000s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherIfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectOtherIfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_other_iface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # 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); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_other_iface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_other_iface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1000s # { 1000s # _org_project_other_iface_skeleton_handle_method_call, 1000s # _org_project_other_iface_skeleton_handle_get_property, 1000s # _org_project_other_iface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_other_iface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1000s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #else 1000s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #endif 1000s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # _org_project_other_iface_on_signal_simple_signal ( 1000s # OrgProjectOtherIface *object) 1000s # { 1000s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1000s # 1000s # GList *connections, *l; 1000s # GVariant *signal_variant; 1000s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1000s # 1000s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1000s # for (l = connections; l != NULL; l = l->next) 1000s # { 1000s # GDBusConnection *connection = l->data; 1000s # g_dbus_connection_emit_signal (connection, 1000s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1000s # signal_variant, NULL); 1000s # } 1000s # g_variant_unref (signal_variant); 1000s # g_list_free_full (connections, g_object_unref); 1000s # } 1000s # 1000s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_other_iface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # /* coverity[missing_lock : SUPPRESS] */ 1000s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1000s # #else 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # skeleton->priv->changed_properties_idle_source = NULL; 1000s # #endif 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1000s # { 1000s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_iface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectOtherIface * 1000s # org_project_other_iface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1000s # } 1000s # Error: 1000s ok 28 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1000s # gdbus-codegen: /usr/bin/gdbus-codegen 1000s # tmpdir: /tmp/tmpv7kspc2l 1000s # /tmp/tmpv7kspc2l/tmpd4bpzjuv.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv7kspc2l/tmpd4bpzjuv.xml', '--output', '-', '--body'] 1000s # Return code: 0 1000s # Output: 1000s # /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.SignalingIface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectSignalingIface 1000s # * @title: OrgProjectSignalingIface 1000s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1000s # */ 1000s # 1000s # enum 1000s # { 1000s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1000s # }; 1000s # 1000s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1000s # 1000s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1000s # 1000s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SimpleSignal", 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "simple-signal" 1000s # }; 1000s # 1000s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1000s # { 1000s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.SignalingIface", 1000s # NULL, 1000s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-signaling-iface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_signaling_iface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_signaling_iface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_signaling_iface_signal_marshal_simple_signal ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # g_cclosure_marshal_VOID__VOID (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectSignalingIface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectSignalingIfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1000s # */ 1000s # 1000s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1000s # { 1000s # /* GObject signals for received D-Bus signals: */ 1000s # /** 1000s # * OrgProjectSignalingIface::simple-signal: 1000s # * @object: A #OrgProjectSignalingIface. 1000s # * 1000s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1000s # * 1000s # * 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. 1000s # */ 1000s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1000s # g_signal_new ("simple-signal", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1000s # NULL, 1000s # NULL, 1000s # org_project_signaling_iface_signal_marshal_simple_signal, 1000s # G_TYPE_NONE, 1000s # 0); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_emit_simple_signal: 1000s # * @object: A #OrgProjectSignalingIface. 1000s # * 1000s # * Emits the "SimpleSignal" D-Bus signal. 1000s # */ 1000s # void 1000s # org_project_signaling_iface_emit_simple_signal ( 1000s # OrgProjectSignalingIface *object) 1000s # { 1000s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectSignalingIfaceProxy: 1000s # * 1000s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectSignalingIfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectSignalingIfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectSignalingIfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_signaling_iface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1000s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1000s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_signaling_iface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectSignalingIface * 1000s # org_project_signaling_iface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectSignalingIface * 1000s # org_project_signaling_iface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_signaling_iface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_signaling_iface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectSignalingIface * 1000s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectSignalingIface * 1000s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectSignalingIfaceSkeleton: 1000s # * 1000s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectSignalingIfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_signaling_iface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # 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); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_signaling_iface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_signaling_iface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1000s # { 1000s # _org_project_signaling_iface_skeleton_handle_method_call, 1000s # _org_project_signaling_iface_skeleton_handle_get_property, 1000s # _org_project_signaling_iface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_signaling_iface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1000s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #else 1000s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #endif 1000s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # _org_project_signaling_iface_on_signal_simple_signal ( 1000s # OrgProjectSignalingIface *object) 1000s # { 1000s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1000s # 1000s # GList *connections, *l; 1000s # GVariant *signal_variant; 1000s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1000s # 1000s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1000s # for (l = connections; l != NULL; l = l->next) 1000s # { 1000s # GDBusConnection *connection = l->data; 1000s # g_dbus_connection_emit_signal (connection, 1000s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1000s # signal_variant, NULL); 1000s # } 1000s # g_variant_unref (signal_variant); 1000s # g_list_free_full (connections, g_object_unref); 1000s # } 1000s # 1000s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # /* coverity[missing_lock : SUPPRESS] */ 1000s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1000s # #else 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # skeleton->priv->changed_properties_idle_source = NULL; 1000s # #endif 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1000s # { 1000s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1000s # } 1000s # 1000s # /** 1000s # * org_project_signaling_iface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectSignalingIface * 1000s # org_project_signaling_iface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.OtherSignalingIface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectOtherSignalingIface 1000s # * @title: OrgProjectOtherSignalingIface 1000s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1000s # */ 1000s # 1000s # enum 1000s # { 1000s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1000s # }; 1000s # 1000s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1000s # 1000s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1000s # 1000s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SimpleSignal", 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "simple-signal" 1000s # }; 1000s # 1000s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1000s # { 1000s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.OtherSignalingIface", 1000s # NULL, 1000s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-other-signaling-iface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_other_signaling_iface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # g_cclosure_marshal_VOID__VOID (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectOtherSignalingIface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherSignalingIfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1000s # */ 1000s # 1000s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1000s # { 1000s # /* GObject signals for received D-Bus signals: */ 1000s # /** 1000s # * OrgProjectOtherSignalingIface::simple-signal: 1000s # * @object: A #OrgProjectOtherSignalingIface. 1000s # * 1000s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1000s # * 1000s # * 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. 1000s # */ 1000s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1000s # g_signal_new ("simple-signal", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1000s # NULL, 1000s # NULL, 1000s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1000s # G_TYPE_NONE, 1000s # 0); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_emit_simple_signal: 1000s # * @object: A #OrgProjectOtherSignalingIface. 1000s # * 1000s # * Emits the "SimpleSignal" D-Bus signal. 1000s # */ 1000s # void 1000s # org_project_other_signaling_iface_emit_simple_signal ( 1000s # OrgProjectOtherSignalingIface *object) 1000s # { 1000s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectOtherSignalingIfaceProxy: 1000s # * 1000s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherSignalingIfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1000s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1000s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_other_signaling_iface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherSignalingIface * 1000s # org_project_other_signaling_iface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherSignalingIface * 1000s # org_project_other_signaling_iface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * 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()). 1000s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_other_signaling_iface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherSignalingIface * 1000s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectOtherSignalingIface * 1000s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectOtherSignalingIfaceSkeleton: 1000s # * 1000s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # 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); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1000s # { 1000s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1000s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1000s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_other_signaling_iface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1000s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #else 1000s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # #endif 1000s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1000s # OrgProjectOtherSignalingIface *object) 1000s # { 1000s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1000s # 1000s # GList *connections, *l; 1000s # GVariant *signal_variant; 1000s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1000s # 1000s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1000s # for (l = connections; l != NULL; l = l->next) 1000s # { 1000s # GDBusConnection *connection = l->data; 1000s # g_dbus_connection_emit_signal (connection, 1000s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1000s # signal_variant, NULL); 1000s # } 1000s # g_variant_unref (signal_variant); 1000s # g_list_free_full (connections, g_object_unref); 1000s # } 1000s # 1000s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # /* coverity[missing_lock : SUPPRESS] */ 1000s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1000s # #else 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # skeleton->priv->changed_properties_idle_source = NULL; 1000s # #endif 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1000s # { 1000s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_signaling_iface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectOtherSignalingIface * 1000s # org_project_other_signaling_iface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1000s # } 1000s # Error: 1001s ok 29 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp27urujhr 1001s # /tmp/tmp27urujhr/tmpir7kyw2z.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpir7kyw2z.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalB", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-b" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-b: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_b: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1001s # g_signal_new ("single-arg-signal-b", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_BOOLEAN); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_b: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_b: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalB" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_b ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_arg_b) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_arg_b) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1001s # arg_arg_b)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpm3ei5l29.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpm3ei5l29.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalY", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-y" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UCHAR (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-y: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_y: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1001s # g_signal_new ("single-arg-signal-y", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UCHAR); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_y: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_y: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalY" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_y ( 1001s # OrgProjectSignalingIface *object, 1001s # guchar arg_arg_y) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1001s # OrgProjectSignalingIface *object, 1001s # guchar arg_arg_y) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1001s # arg_arg_y)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpaz_c0v90.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpaz_c0v90.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalN", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-n" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__INT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-n: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_n: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1001s # g_signal_new ("single-arg-signal-n", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_n: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_n: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalN" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_n ( 1001s # OrgProjectSignalingIface *object, 1001s # gint16 arg_arg_n) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1001s # OrgProjectSignalingIface *object, 1001s # gint16 arg_arg_n) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1001s # arg_arg_n)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmps6llbxic.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmps6llbxic.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalQ", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-q" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UINT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-q: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_q: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1001s # g_signal_new ("single-arg-signal-q", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_q: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_q: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalQ" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_q ( 1001s # OrgProjectSignalingIface *object, 1001s # guint16 arg_arg_q) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1001s # OrgProjectSignalingIface *object, 1001s # guint16 arg_arg_q) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1001s # arg_arg_q)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmp15ee_64d.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmp15ee_64d.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalI", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-i" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__INT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-i: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_i: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1001s # g_signal_new ("single-arg-signal-i", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_i: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_i: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalI" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_i ( 1001s # OrgProjectSignalingIface *object, 1001s # gint arg_arg_i) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1001s # OrgProjectSignalingIface *object, 1001s # gint arg_arg_i) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1001s # arg_arg_i)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpzcyi4u0q.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpzcyi4u0q.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalU", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-u" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UINT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-u: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_u: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1001s # g_signal_new ("single-arg-signal-u", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_u: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_u: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalU" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_u ( 1001s # OrgProjectSignalingIface *object, 1001s # guint arg_arg_u) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1001s # OrgProjectSignalingIface *object, 1001s # guint arg_arg_u) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1001s # arg_arg_u)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpy5fg8w8z.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpy5fg8w8z.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__INT64 ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1001s # (void *data1, 1001s # gint64 arg_arg_x, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_Int64Func callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_int64 (param_values + 1), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalX", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-x" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-x: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_x: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1001s # g_signal_new ("single-arg-signal-x", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT64); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_x: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_x: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalX" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_x ( 1001s # OrgProjectSignalingIface *object, 1001s # gint64 arg_arg_x) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1001s # OrgProjectSignalingIface *object, 1001s # gint64 arg_arg_x) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1001s # arg_arg_x)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmp60ztlz40.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmp60ztlz40.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1001s # (void *data1, 1001s # guint64 arg_arg_t, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_uint64 (param_values + 1), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalT", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-t" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-t: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_t: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1001s # g_signal_new ("single-arg-signal-t", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT64); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_t: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_t: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalT" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_t ( 1001s # OrgProjectSignalingIface *object, 1001s # guint64 arg_arg_t) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1001s # OrgProjectSignalingIface *object, 1001s # guint64 arg_arg_t) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1001s # arg_arg_t)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmp0w5cn5ns.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmp0w5cn5ns.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalD", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-d" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__DOUBLE (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-d: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_d: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1001s # g_signal_new ("single-arg-signal-d", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_DOUBLE); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_d: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_d: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalD" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_d ( 1001s # OrgProjectSignalingIface *object, 1001s # gdouble arg_arg_d) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1001s # OrgProjectSignalingIface *object, 1001s # gdouble arg_arg_d) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1001s # arg_arg_d)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpyg5k0j_p.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpyg5k0j_p.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalS", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-s" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-s: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_s: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1001s # g_signal_new ("single-arg-signal-s", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_s: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_s: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalS" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_s ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_s) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_s) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1001s # arg_arg_s)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpfawxl9le.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpfawxl9le.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalO", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-o" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-o: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_o: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1001s # g_signal_new ("single-arg-signal-o", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_o: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_o: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalO" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_o ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_o) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_o) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1001s # arg_arg_o)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmps605ke4i.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmps605ke4i.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalG", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-g" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-g: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_g: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1001s # g_signal_new ("single-arg-signal-g", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_g: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_g: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalG" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_g ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_g) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_g) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1001s # arg_arg_g)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmphgjy6jck.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmphgjy6jck.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalH", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-h" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-h: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_h: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1001s # g_signal_new ("single-arg-signal-h", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_VARIANT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_h: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_h: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalH" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_h ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_h) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_h) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1001s # arg_arg_h)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpz0aa2bid.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpz0aa2bid.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAy", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-ay" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-ay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ay: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1001s # g_signal_new ("single-arg-signal-ay", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ay: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAy" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_ay) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_ay) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1001s # arg_arg_ay)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmp1cosqi3w.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmp1cosqi3w.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAs", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-as" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-as: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_as: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1001s # g_signal_new ("single-arg-signal-as", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_as: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_as: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAs" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_as ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_as) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_as) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1001s # arg_arg_as)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpi6_1lmrc.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpi6_1lmrc.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAo", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-ao" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-ao: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ao: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1001s # g_signal_new ("single-arg-signal-ao", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ao: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAo" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_ao) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_ao) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1001s # arg_arg_ao)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmpox69mhod.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmpox69mhod.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAay", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-aay" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-aay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_aay: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1001s # g_signal_new ("single-arg-signal-aay", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_aay: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAay" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_aay) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_aay) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1001s # arg_arg_aay)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # /tmp/tmp27urujhr/tmp4jxi3_a4.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27urujhr/tmp4jxi3_a4.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAsv", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-asv" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-asv: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_asv: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1001s # g_signal_new ("single-arg-signal-asv", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_VARIANT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_asv: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_asv) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_asv) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1001s # arg_arg_asv)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s ok 30 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmpkx2fg_dh 1001s # /tmp/tmpkx2fg_dh/tmpvywt4evm.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkx2fg_dh/tmpvywt4evm.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1001s # (void *data1, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 19); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_boolean (param_values + 1), 1001s # g_marshal_value_peek_uchar (param_values + 2), 1001s # g_marshal_value_peek_int (param_values + 3), 1001s # g_marshal_value_peek_uint (param_values + 4), 1001s # g_marshal_value_peek_int (param_values + 5), 1001s # g_marshal_value_peek_uint (param_values + 6), 1001s # g_marshal_value_peek_int64 (param_values + 7), 1001s # g_marshal_value_peek_uint64 (param_values + 8), 1001s # g_marshal_value_peek_double (param_values + 9), 1001s # g_marshal_value_peek_string (param_values + 10), 1001s # g_marshal_value_peek_string (param_values + 11), 1001s # g_marshal_value_peek_string (param_values + 12), 1001s # g_marshal_value_peek_variant (param_values + 13), 1001s # g_marshal_value_peek_string (param_values + 14), 1001s # g_marshal_value_peek_boxed (param_values + 15), 1001s # g_marshal_value_peek_boxed (param_values + 16), 1001s # g_marshal_value_peek_boxed (param_values + 17), 1001s # g_marshal_value_peek_variant (param_values + 18), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SignalWithManyArgs", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "signal-with-many-args" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::signal-with-many-args: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument. 1001s # * @arg_an_y: Argument. 1001s # * @arg_an_n: Argument. 1001s # * @arg_an_q: Argument. 1001s # * @arg_an_i: Argument. 1001s # * @arg_an_u: Argument. 1001s # * @arg_an_x: Argument. 1001s # * @arg_an_t: Argument. 1001s # * @arg_an_d: Argument. 1001s # * @arg_an_s: Argument. 1001s # * @arg_an_o: Argument. 1001s # * @arg_an_g: Argument. 1001s # * @arg_an_h: Argument. 1001s # * @arg_an_ay: Argument. 1001s # * @arg_an_as: Argument. 1001s # * @arg_an_ao: Argument. 1001s # * @arg_an_aay: Argument. 1001s # * @arg_an_asv: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1001s # g_signal_new ("signal-with-many-args", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1001s # G_TYPE_NONE, 1001s # 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); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_signal_with_many_args: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument to pass with the signal. 1001s # * @arg_an_y: Argument to pass with the signal. 1001s # * @arg_an_n: Argument to pass with the signal. 1001s # * @arg_an_q: Argument to pass with the signal. 1001s # * @arg_an_i: Argument to pass with the signal. 1001s # * @arg_an_u: Argument to pass with the signal. 1001s # * @arg_an_x: Argument to pass with the signal. 1001s # * @arg_an_t: Argument to pass with the signal. 1001s # * @arg_an_d: Argument to pass with the signal. 1001s # * @arg_an_s: Argument to pass with the signal. 1001s # * @arg_an_o: Argument to pass with the signal. 1001s # * @arg_an_g: Argument to pass with the signal. 1001s # * @arg_an_h: Argument to pass with the signal. 1001s # * @arg_an_ay: Argument to pass with the signal. 1001s # * @arg_an_as: Argument to pass with the signal. 1001s # * @arg_an_ao: Argument to pass with the signal. 1001s # * @arg_an_aay: Argument to pass with the signal. 1001s # * @arg_an_asv: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SignalWithManyArgs" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_signal_with_many_args ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # arg_an_b, 1001s # arg_an_y, 1001s # arg_an_n, 1001s # arg_an_q, 1001s # arg_an_i, 1001s # arg_an_u, 1001s # arg_an_x, 1001s # arg_an_t, 1001s # arg_an_d, 1001s # arg_an_s, 1001s # arg_an_o, 1001s # arg_an_g, 1001s # arg_an_h, 1001s # arg_an_ay, 1001s # arg_an_as, 1001s # arg_an_ao, 1001s # arg_an_aay, 1001s # arg_an_asv)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s ok 31 __main__.TestCodegen.test_generate_valid_docbook 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmphj2rr04x 1001s # /tmp/tmphj2rr04x/tmpjxj5v1xr.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphj2rr04x/tmpjxj5v1xr.xml', '--generate-docbook', 'test'] 1001s # Return code: 0 1001s # Output: 1001s # 1001s # Error: 1001s ok 32 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp7p1mney4 1001s # /tmp/tmp7p1mney4/tmpg3bsphws.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7p1mney4/tmpg3bsphws.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1001s # Return code: 1 1001s # Output: 1001s # 1001s # Error: 1001s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1001s ok 33 __main__.TestCodegen.test_glib_max_allowed_major_only 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp80uor8j_ 1001s # /tmp/tmp80uor8j_/tmp12zzihyb.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80uor8j_/tmp12zzihyb.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s ok 34 __main__.TestCodegen.test_glib_max_allowed_too_low 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp6bphtcry 1001s # /tmp/tmp6bphtcry/tmpm5kxg1ab.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6bphtcry/tmpm5kxg1ab.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1001s # Return code: 1 1001s # Output: 1001s # 1001s # Error: 1001s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1001s ok 35 __main__.TestCodegen.test_glib_max_allowed_unstable 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp5i9r1iyy 1001s # /tmp/tmp5i9r1iyy/tmpe4utf385.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5i9r1iyy/tmpe4utf385.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s ok 36 __main__.TestCodegen.test_glib_max_allowed_with_micro 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmpiwf5l725 1001s # /tmp/tmpiwf5l725/tmp32uw4wc0.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiwf5l725/tmp32uw4wc0.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s ok 37 __main__.TestCodegen.test_glib_min_required_invalid 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp0h1dw500 1001s # /tmp/tmp0h1dw500/tmpstapdehw.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0h1dw500/tmpstapdehw.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1001s # Return code: 1 1001s # Output: 1001s # 1001s # Error: 1001s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1001s ok 38 __main__.TestCodegen.test_glib_min_required_major_only 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmpwxj7clko 1001s # /tmp/tmpwxj7clko/tmp4vbxfc1u.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwxj7clko/tmp4vbxfc1u.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s ok 39 __main__.TestCodegen.test_glib_min_required_too_low 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp9w1loex4 1001s # /tmp/tmp9w1loex4/tmp3bqs1v6j.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9w1loex4/tmp3bqs1v6j.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1001s # Return code: 1 1001s # Output: 1001s # 1001s # Error: 1001s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1001s ok 40 __main__.TestCodegen.test_glib_min_required_with_micro 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp8uhsohh1 1001s # /tmp/tmp8uhsohh1/tmp5z5onfod.xml: 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8uhsohh1/tmp5z5onfod.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s ok 41 __main__.TestCodegen.test_help 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmplug_mgiq 1001s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1001s # Return code: 0 1001s # Output: 1001s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1001s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1001s # [--c-generate-autocleanup {none,objects,all}] 1001s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1001s # [--generate-rst OUTFILES] [--pragma-once] 1001s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1001s # [--glib-min-required VERSION] 1001s # [--glib-max-allowed VERSION] 1001s # [--symbol-decorator SYMBOL_DECORATOR] 1001s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1001s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1001s # [--extension-path EXTENSION_PATH] 1001s # [--generate-c-code OUTFILES | --header | --body | 1001s # --interface-info-header | --interface-info-body] 1001s # [--output FILE | --output-directory OUTDIR] 1001s # FILE [FILE ...] 1001s # 1001s # D-Bus code and documentation generator 1001s # 1001s # positional arguments: 1001s # FILE D-Bus introspection XML file 1001s # 1001s # options: 1001s # -h, --help show this help message and exit 1001s # --interface-prefix PREFIX 1001s # String to strip from D-Bus interface names for code 1001s # and docs 1001s # --c-namespace NAMESPACE 1001s # The namespace to use for generated C code 1001s # --c-generate-object-manager 1001s # Generate a GDBusObjectManagerClient subclass when 1001s # generating C code 1001s # --c-generate-autocleanup {none,objects,all} 1001s # Generate autocleanup support 1001s # --generate-docbook OUTFILES 1001s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1001s # --generate-md OUTFILES 1001s # Generate Markdown in OUTFILES-org.Project.IFace.md 1001s # --generate-rst OUTFILES 1001s # Generate reStructuredText in OUTFILES- 1001s # org.Project.IFace.rst 1001s # --pragma-once Use "pragma once" as the inclusion guard 1001s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1001s # Add annotation (may be used several times) 1001s # --glib-min-required VERSION 1001s # Minimum version of GLib to be supported by the 1001s # outputted code (default: 2.30) 1001s # --glib-max-allowed VERSION 1001s # Maximum version of GLib to be used by the outputted 1001s # code (default: current GLib version) 1001s # --symbol-decorator SYMBOL_DECORATOR 1001s # Macro used to decorate a symbol in the outputted 1001s # header, possibly to export symbols 1001s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1001s # Additional header required for decorator specified by 1001s # --symbol-decorator 1001s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1001s # Additional define required for decorator specified by 1001s # --symbol-decorator 1001s # --extension-path EXTENSION_PATH 1001s # Path to a gdbus-codegen Python extension file 1001s # (unstable API) 1001s # --generate-c-code OUTFILES 1001s # Generate C code in OUTFILES.[ch] 1001s # --header Generate C headers 1001s # --body Generate C code 1001s # --interface-info-header 1001s # Generate GDBusInterfaceInfo C header 1001s # --interface-info-body 1001s # Generate GDBusInterfaceInfo C code 1001s # --output FILE Write output into the specified file 1001s # --output-directory OUTDIR 1001s # Location to output generated files 1001s # Error: 1001s ok 42 __main__.TestCodegen.test_indentation_preservation_in_comments 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmpaf6ztz0t 1001s # /tmp/tmpaf6ztz0t/tmp0e6y9gx_.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaf6ztz0t/tmp0e6y9gx_.xml', '--generate-rst', 'test'] 1001s # Return code: 0 1001s # Output: 1001s # 1001s # Error: 1001s # 1001s # /tmp/tmpaf6ztz0t/tmpgwlvy4j0.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaf6ztz0t/tmpgwlvy4j0.xml', '--generate-md', 'test'] 1001s # Return code: 0 1001s # Output: 1001s # 1001s # Error: 1001s # 1001s # /tmp/tmpaf6ztz0t/tmpm1dck7l7.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaf6ztz0t/tmpm1dck7l7.xml', '--generate-docbook', 'test'] 1001s # Return code: 0 1001s # Output: 1001s # 1001s # Error: 1001s ok 43 __main__.TestCodegen.test_no_args 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp98y2f7wo 1001s # Running: ['/usr/bin/gdbus-codegen'] 1001s # Return code: 2 1001s # Output: 1001s # 1001s # Error: 1001s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1001s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1001s # [--c-generate-autocleanup {none,objects,all}] 1001s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1001s # [--generate-rst OUTFILES] [--pragma-once] 1001s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1001s # [--glib-min-required VERSION] 1001s # [--glib-max-allowed VERSION] 1001s # [--symbol-decorator SYMBOL_DECORATOR] 1001s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1001s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1001s # [--extension-path EXTENSION_PATH] 1001s # [--generate-c-code OUTFILES | --header | --body | 1001s # --interface-info-header | --interface-info-body] 1001s # [--output FILE | --output-directory OUTDIR] 1001s # FILE [FILE ...] 1001s # gdbus-codegen: error: the following arguments are required: FILE 1001s ok 44 __main__.TestCodegen.test_reproducible 1001s # gdbus-codegen: /usr/bin/gdbus-codegen 1001s # tmpdir: /tmp/tmp5_4mop32 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5_4mop32/tmpndhcjezr1.xml', '/tmp/tmp5_4mop32/tmpzcoibik92.xml', '--output', '-', '--header'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # /* Declarations for com.acme.Coyote */ 1001s # 1001s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1001s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1001s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1001s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1001s # 1001s # struct _ComAcmeCoyote; 1001s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1001s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1001s # 1001s # struct _ComAcmeCoyoteIface 1001s # { 1001s # GTypeInterface parent_iface; 1001s # 1001s # 1001s # 1001s # gboolean (*handle_attack) ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # gboolean (*handle_run) ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # gboolean (*handle_sleep) ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1001s # 1001s # void (*surprised) ( 1001s # ComAcmeCoyote *object); 1001s # 1001s # }; 1001s # 1001s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1001s # 1001s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1001s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1001s # 1001s # 1001s # /* D-Bus method call completion functions: */ 1001s # void com_acme_coyote_complete_run ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # void com_acme_coyote_complete_sleep ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # void com_acme_coyote_complete_attack ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # 1001s # 1001s # /* D-Bus signal emissions functions: */ 1001s # void com_acme_coyote_emit_surprised ( 1001s # ComAcmeCoyote *object); 1001s # 1001s # 1001s # 1001s # /* D-Bus method calls: */ 1001s # void com_acme_coyote_call_run ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean com_acme_coyote_call_run_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean com_acme_coyote_call_run_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void com_acme_coyote_call_sleep ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean com_acme_coyote_call_sleep_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean com_acme_coyote_call_sleep_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void com_acme_coyote_call_attack ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean com_acme_coyote_call_attack_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean com_acme_coyote_call_attack_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # 1001s # /* D-Bus property accessors: */ 1001s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1001s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1001s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1001s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1001s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1001s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1001s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1001s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1001s # 1001s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1001s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1001s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1001s # 1001s # struct _ComAcmeCoyoteProxy 1001s # { 1001s # /*< private >*/ 1001s # GDBusProxy parent_instance; 1001s # ComAcmeCoyoteProxyPrivate *priv; 1001s # }; 1001s # 1001s # struct _ComAcmeCoyoteProxyClass 1001s # { 1001s # GDBusProxyClass parent_class; 1001s # }; 1001s # 1001s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1001s # #endif 1001s # 1001s # void com_acme_coyote_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void com_acme_coyote_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1001s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1001s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1001s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1001s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1001s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1001s # 1001s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1001s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1001s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1001s # 1001s # struct _ComAcmeCoyoteSkeleton 1001s # { 1001s # /*< private >*/ 1001s # GDBusInterfaceSkeleton parent_instance; 1001s # ComAcmeCoyoteSkeletonPrivate *priv; 1001s # }; 1001s # 1001s # struct _ComAcmeCoyoteSkeletonClass 1001s # { 1001s # GDBusInterfaceSkeletonClass parent_class; 1001s # }; 1001s # 1001s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1001s # #endif 1001s # 1001s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # /* Declarations for org.project.Bar.Frobnicator */ 1001s # 1001s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1001s # 1001s # struct _OrgProjectBarFrobnicator; 1001s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1001s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1001s # 1001s # struct _OrgProjectBarFrobnicatorIface 1001s # { 1001s # GTypeInterface parent_iface; 1001s # 1001s # gboolean (*handle_random_method) ( 1001s # OrgProjectBarFrobnicator *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # }; 1001s # 1001s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1001s # 1001s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1001s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1001s # 1001s # 1001s # /* D-Bus method call completion functions: */ 1001s # void org_project_bar_frobnicator_complete_random_method ( 1001s # OrgProjectBarFrobnicator *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # 1001s # 1001s # /* D-Bus method calls: */ 1001s # void org_project_bar_frobnicator_call_random_method ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1001s # 1001s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1001s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1001s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1001s # 1001s # struct _OrgProjectBarFrobnicatorProxy 1001s # { 1001s # /*< private >*/ 1001s # GDBusProxy parent_instance; 1001s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1001s # }; 1001s # 1001s # struct _OrgProjectBarFrobnicatorProxyClass 1001s # { 1001s # GDBusProxyClass parent_class; 1001s # }; 1001s # 1001s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1001s # #endif 1001s # 1001s # void org_project_bar_frobnicator_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1001s # 1001s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1001s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1001s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1001s # 1001s # struct _OrgProjectBarFrobnicatorSkeleton 1001s # { 1001s # /*< private >*/ 1001s # GDBusInterfaceSkeleton parent_instance; 1001s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1001s # }; 1001s # 1001s # struct _OrgProjectBarFrobnicatorSkeletonClass 1001s # { 1001s # GDBusInterfaceSkeletonClass parent_class; 1001s # }; 1001s # 1001s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1001s # #endif 1001s # 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5_4mop32/tmpzcoibik92.xml', '/tmp/tmp5_4mop32/tmpndhcjezr1.xml', '--output', '-', '--header'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifndef __STDOUT__ 1001s # #define __STDOUT__ 1001s # 1001s # #include 1001s # 1001s # G_BEGIN_DECLS 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # /* Declarations for com.acme.Coyote */ 1001s # 1001s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1001s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1001s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1001s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1001s # 1001s # struct _ComAcmeCoyote; 1001s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1001s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1001s # 1001s # struct _ComAcmeCoyoteIface 1001s # { 1001s # GTypeInterface parent_iface; 1001s # 1001s # 1001s # 1001s # gboolean (*handle_attack) ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # gboolean (*handle_run) ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # gboolean (*handle_sleep) ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1001s # 1001s # void (*surprised) ( 1001s # ComAcmeCoyote *object); 1001s # 1001s # }; 1001s # 1001s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1001s # 1001s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1001s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1001s # 1001s # 1001s # /* D-Bus method call completion functions: */ 1001s # void com_acme_coyote_complete_run ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # void com_acme_coyote_complete_sleep ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # void com_acme_coyote_complete_attack ( 1001s # ComAcmeCoyote *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # 1001s # 1001s # /* D-Bus signal emissions functions: */ 1001s # void com_acme_coyote_emit_surprised ( 1001s # ComAcmeCoyote *object); 1001s # 1001s # 1001s # 1001s # /* D-Bus method calls: */ 1001s # void com_acme_coyote_call_run ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean com_acme_coyote_call_run_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean com_acme_coyote_call_run_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void com_acme_coyote_call_sleep ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean com_acme_coyote_call_sleep_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean com_acme_coyote_call_sleep_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void com_acme_coyote_call_attack ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean com_acme_coyote_call_attack_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean com_acme_coyote_call_attack_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # 1001s # /* D-Bus property accessors: */ 1001s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1001s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1001s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1001s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1001s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1001s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1001s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1001s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1001s # 1001s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1001s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1001s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1001s # 1001s # struct _ComAcmeCoyoteProxy 1001s # { 1001s # /*< private >*/ 1001s # GDBusProxy parent_instance; 1001s # ComAcmeCoyoteProxyPrivate *priv; 1001s # }; 1001s # 1001s # struct _ComAcmeCoyoteProxyClass 1001s # { 1001s # GDBusProxyClass parent_class; 1001s # }; 1001s # 1001s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1001s # #endif 1001s # 1001s # void com_acme_coyote_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void com_acme_coyote_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1001s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1001s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1001s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1001s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1001s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1001s # 1001s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1001s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1001s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1001s # 1001s # struct _ComAcmeCoyoteSkeleton 1001s # { 1001s # /*< private >*/ 1001s # GDBusInterfaceSkeleton parent_instance; 1001s # ComAcmeCoyoteSkeletonPrivate *priv; 1001s # }; 1001s # 1001s # struct _ComAcmeCoyoteSkeletonClass 1001s # { 1001s # GDBusInterfaceSkeletonClass parent_class; 1001s # }; 1001s # 1001s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1001s # #endif 1001s # 1001s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # /* Declarations for org.project.Bar.Frobnicator */ 1001s # 1001s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1001s # 1001s # struct _OrgProjectBarFrobnicator; 1001s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1001s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1001s # 1001s # struct _OrgProjectBarFrobnicatorIface 1001s # { 1001s # GTypeInterface parent_iface; 1001s # 1001s # gboolean (*handle_random_method) ( 1001s # OrgProjectBarFrobnicator *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # }; 1001s # 1001s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1001s # 1001s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1001s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1001s # 1001s # 1001s # /* D-Bus method call completion functions: */ 1001s # void org_project_bar_frobnicator_complete_random_method ( 1001s # OrgProjectBarFrobnicator *object, 1001s # GDBusMethodInvocation *invocation); 1001s # 1001s # 1001s # 1001s # /* D-Bus method calls: */ 1001s # void org_project_bar_frobnicator_call_random_method ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # 1001s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # 1001s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1001s # 1001s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1001s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1001s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1001s # 1001s # struct _OrgProjectBarFrobnicatorProxy 1001s # { 1001s # /*< private >*/ 1001s # GDBusProxy parent_instance; 1001s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1001s # }; 1001s # 1001s # struct _OrgProjectBarFrobnicatorProxyClass 1001s # { 1001s # GDBusProxyClass parent_class; 1001s # }; 1001s # 1001s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1001s # #endif 1001s # 1001s # void org_project_bar_frobnicator_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error); 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error); 1001s # 1001s # 1001s # /* ---- */ 1001s # 1001s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1001s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1001s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1001s # 1001s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1001s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1001s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1001s # 1001s # struct _OrgProjectBarFrobnicatorSkeleton 1001s # { 1001s # /*< private >*/ 1001s # GDBusInterfaceSkeleton parent_instance; 1001s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1001s # }; 1001s # 1001s # struct _OrgProjectBarFrobnicatorSkeletonClass 1001s # { 1001s # GDBusInterfaceSkeletonClass parent_class; 1001s # }; 1001s # 1001s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1001s # 1001s # #if GLIB_CHECK_VERSION(2, 44, 0) 1001s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1001s # #endif 1001s # 1001s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1001s # 1001s # 1001s # G_END_DECLS 1001s # 1001s # #endif /* __STDOUT__ */ 1001s # Error: 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5_4mop32/tmpndhcjezr1.xml', '/tmp/tmp5_4mop32/tmpzcoibik92.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1001s # (void *data1, 1001s # GDBusMethodInvocation *arg_method_invocation, 1001s # void *data2); 1001s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # gboolean v_return; 1001s # 1001s # g_return_if_fail (return_value != NULL); 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # v_return = 1001s # callback (data1, 1001s # g_marshal_value_peek_object (param_values + 1), 1001s # data2); 1001s # 1001s # g_value_set_boolean (return_value, v_return); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface com.acme.Coyote 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:ComAcmeCoyote 1001s # * @title: ComAcmeCoyote 1001s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1001s # * 1001s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _COM_ACME_COYOTE_SURPRISED, 1001s # }; 1001s # 1001s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for com.acme.Coyote ---- */ 1001s # 1001s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Run", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-run", 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Sleep", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-sleep", 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Attack", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-attack", 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1001s # { 1001s # &_com_acme_coyote_method_info_run.parent_struct, 1001s # &_com_acme_coyote_method_info_sleep.parent_struct, 1001s # &_com_acme_coyote_method_info_attack.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Surprised", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "surprised" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1001s # { 1001s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Mood", 1001s # (gchar *) "s", 1001s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1001s # NULL 1001s # }, 1001s # "mood", 1001s # FALSE, 1001s # TRUE 1001s # }; 1001s # 1001s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1001s # { 1001s # &_com_acme_coyote_property_info_mood.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "com.acme.Coyote", 1001s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1001s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1001s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1001s # NULL 1001s # }, 1001s # "com-acme-coyote", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * com_acme_coyote_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # com_acme_coyote_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1001s # { 1001s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # com_acme_coyote_signal_marshal_surprised ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # com_acme_coyote_method_marshal_run ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # com_acme_coyote_method_marshal_sleep ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # com_acme_coyote_method_marshal_attack ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * ComAcmeCoyote: 1001s # * 1001s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1001s # */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteIface: 1001s # * @parent_iface: The parent interface. 1001s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1001s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1001s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1001s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1001s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1001s # * 1001s # * Virtual table for the D-Bus interface com.acme.Coyote. 1001s # */ 1001s # 1001s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1001s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1001s # { 1001s # /* GObject signals for incoming D-Bus method calls: */ 1001s # /** 1001s # * ComAcmeCoyote::handle-run: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-run", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # com_acme_coyote_method_marshal_run, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # /** 1001s # * ComAcmeCoyote::handle-sleep: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-sleep", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # com_acme_coyote_method_marshal_sleep, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # /** 1001s # * ComAcmeCoyote::handle-attack: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-attack", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # com_acme_coyote_method_marshal_attack, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * ComAcmeCoyote::surprised: 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1001s # g_signal_new ("surprised", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1001s # NULL, 1001s # NULL, 1001s # com_acme_coyote_signal_marshal_surprised, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /* GObject properties for D-Bus properties: */ 1001s # /** 1001s # * ComAcmeCoyote:mood: 1001s # * 1001s # * Represents the D-Bus property "Mood". 1001s # * 1001s # * 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. 1001s # */ 1001s # g_object_interface_install_property (iface, 1001s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_get_mood: (skip) 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * Gets the value of the "Mood" D-Bus property. 1001s # * 1001s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # const gchar * 1001s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1001s # { 1001s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1001s # 1001s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_dup_mood: (skip) 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * Gets a copy of the "Mood" D-Bus property. 1001s # * 1001s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1001s # * 1001s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1001s # */ 1001s # gchar * 1001s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1001s # { 1001s # gchar *value; 1001s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1001s # return value; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_set_mood: (skip) 1001s # * @object: A #ComAcmeCoyote. 1001s # * @value: The value to set. 1001s # * 1001s # * Sets the "Mood" D-Bus property to @value. 1001s # * 1001s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1001s # */ 1001s # void 1001s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1001s # { 1001s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_emit_surprised: 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * Emits the "Surprised" D-Bus signal. 1001s # */ 1001s # void 1001s # com_acme_coyote_emit_surprised ( 1001s # ComAcmeCoyote *object) 1001s # { 1001s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_run: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # com_acme_coyote_call_run ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "Run", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_run_finish: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_call_run(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_run_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_run_sync: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_run_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "Run", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_sleep: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # com_acme_coyote_call_sleep ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "Sleep", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_sleep_finish: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_sleep_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_sleep_sync: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_sleep_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "Sleep", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_attack: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # com_acme_coyote_call_attack ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "Attack", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_attack_finish: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_call_attack(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_attack_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_attack_sync: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_attack_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "Attack", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_complete_run: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # com_acme_coyote_complete_run ( 1001s # ComAcmeCoyote *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_complete_sleep: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # com_acme_coyote_complete_sleep ( 1001s # ComAcmeCoyote *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_complete_attack: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # com_acme_coyote_complete_attack ( 1001s # ComAcmeCoyote *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteProxy: 1001s # * 1001s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #ComAcmeCoyoteProxy. 1001s # */ 1001s # 1001s # struct _ComAcmeCoyoteProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # com_acme_coyote_proxy_finalize (GObject *object) 1001s # { 1001s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_get_property (GObject *object, 1001s # guint prop_id, 1001s # GValue *value, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *variant; 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1001s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1001s # if (info->use_gvariant) 1001s # { 1001s # g_value_set_variant (value, variant); 1001s # } 1001s # else 1001s # { 1001s # if (variant != NULL) 1001s # g_dbus_gvariant_to_gvalue (variant, value); 1001s # } 1001s # if (variant != NULL) 1001s # g_variant_unref (variant); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1001s # GAsyncResult *res, 1001s # gpointer user_data) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info = user_data; 1001s # GError *error; 1001s # GVariant *_ret; 1001s # error = NULL; 1001s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1001s # if (!_ret) 1001s # { 1001s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1001s # info->parent_struct.name, 1001s # error->message, g_quark_to_string (error->domain), error->code); 1001s # g_error_free (error); 1001s # } 1001s # else 1001s # { 1001s # g_variant_unref (_ret); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_set_property (GObject *object, 1001s # guint prop_id, 1001s # const GValue *value, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *variant; 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1001s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1001s # "org.freedesktop.DBus.Properties.Set", 1001s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1001s # g_variant_unref (variant); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static const gchar * 1001s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1001s # { 1001s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1001s # GVariant *variant; 1001s # const gchar *value = NULL; 1001s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1001s # if (variant != NULL) 1001s # { 1001s # value = g_variant_get_string (variant, NULL); 1001s # g_variant_unref (variant); 1001s # } 1001s # return value; 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1001s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1001s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1001s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1001s # 1001s # com_acme_coyote_override_properties (gobject_class, 1); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1001s # { 1001s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # com_acme_coyote_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # com_acme_coyote_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteSkeleton: 1001s # * 1001s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #ComAcmeCoyoteSkeleton. 1001s # */ 1001s # 1001s # struct _ComAcmeCoyoteSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _com_acme_coyote_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _com_acme_coyote_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _com_acme_coyote_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1001s # { 1001s # _com_acme_coyote_skeleton_handle_method_call, 1001s # _com_acme_coyote_skeleton_handle_get_property, 1001s # _com_acme_coyote_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return com_acme_coyote_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1001s # gboolean emit_changed = FALSE; 1001s # 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # { 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # emit_changed = TRUE; 1001s # } 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # 1001s # if (emit_changed) 1001s # _com_acme_coyote_emit_changed (skeleton); 1001s # } 1001s # 1001s # static void 1001s # _com_acme_coyote_on_signal_surprised ( 1001s # ComAcmeCoyote *object) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # com_acme_coyote_skeleton_finalize (GObject *object) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # guint n; 1001s # for (n = 0; n < 1; n++) 1001s # g_value_unset (&skeleton->priv->properties[n]); 1001s # g_free (skeleton->priv->properties); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_get_property (GObject *object, 1001s # guint prop_id, 1001s # GValue *value, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # } 1001s # 1001s # static gboolean 1001s # _com_acme_coyote_emit_changed (gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # GList *l; 1001s # GVariantBuilder builder; 1001s # GVariantBuilder invalidated_builder; 1001s # guint num_changes; 1001s # 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1001s # #else 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1001s # #endif 1001s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1001s # { 1001s # ChangedProperty *cp = l->data; 1001s # GVariant *variant; 1001s # const GValue *cur_value; 1001s # 1001s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1001s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1001s # { 1001s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1001s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1001s # g_variant_unref (variant); 1001s # num_changes++; 1001s # } 1001s # } 1001s # if (num_changes > 0) 1001s # { 1001s # GList *connections, *ll; 1001s # GVariant *signal_variant; 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1001s # &builder, &invalidated_builder)); 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # for (ll = connections; ll != NULL; ll = ll->next) 1001s # { 1001s # GDBusConnection *connection = ll->data; 1001s # 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1001s # "org.freedesktop.DBus.Properties", 1001s # "PropertiesChanged", 1001s # signal_variant, 1001s # NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # else 1001s # { 1001s # g_variant_builder_clear (&builder); 1001s # g_variant_builder_clear (&invalidated_builder); 1001s # } 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # skeleton->priv->changed_properties = NULL; 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # return FALSE; 1001s # } 1001s # 1001s # static void 1001s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1001s # { 1001s # ChangedProperty *cp; 1001s # GList *l; 1001s # cp = NULL; 1001s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1001s # { 1001s # ChangedProperty *i_cp = l->data; 1001s # if (i_cp->info == info) 1001s # { 1001s # cp = i_cp; 1001s # break; 1001s # } 1001s # } 1001s # if (cp == NULL) 1001s # { 1001s # cp = g_new0 (ChangedProperty, 1); 1001s # cp->prop_id = prop_id; 1001s # cp->info = info; 1001s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1001s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1001s # g_value_copy (orig_value, &cp->orig_value); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_notify (GObject *object, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # if (skeleton->priv->changed_properties != NULL && 1001s # skeleton->priv->changed_properties_idle_source == NULL) 1001s # { 1001s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1001s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1001s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1001s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1001s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1001s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1001s # } 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_set_property (GObject *object, 1001s # guint prop_id, 1001s # const GValue *value, 1001s # GParamSpec *pspec) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # g_object_freeze_notify (object); 1001s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1001s # { 1001s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1001s # info->emits_changed_signal) 1001s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1001s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1001s # g_object_notify_by_pspec (object, pspec); 1001s # } 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # g_object_thaw_notify (object); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # skeleton->priv->properties = g_new0 (GValue, 1); 1001s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1001s # } 1001s # 1001s # static const gchar * 1001s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # const gchar *value; 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # return value; 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1001s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1001s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1001s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1001s # 1001s # 1001s # com_acme_coyote_override_properties (gobject_class, 1); 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1001s # { 1001s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1001s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_skeleton_new (void) 1001s # { 1001s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.Bar.Frobnicator 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectBarFrobnicator 1001s # * @title: OrgProjectBarFrobnicator 1001s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1001s # */ 1001s # 1001s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1001s # 1001s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "RandomMethod", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-random-method", 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1001s # { 1001s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.Bar.Frobnicator", 1001s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-bar-frobnicator", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_bar_frobnicator_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_bar_frobnicator_method_marshal_random_method ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicator: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorIface: 1001s # * @parent_iface: The parent interface. 1001s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1001s # */ 1001s # 1001s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1001s # { 1001s # /* GObject signals for incoming D-Bus method calls: */ 1001s # /** 1001s # * OrgProjectBarFrobnicator::handle-random-method: 1001s # * @object: A #OrgProjectBarFrobnicator. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-random-method", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # org_project_bar_frobnicator_method_marshal_random_method, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_call_random_method: 1001s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_call_random_method ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "RandomMethod", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_call_random_method_finish: 1001s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_bar_frobnicator_call_random_method_finish ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_call_random_method_sync: 1001s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_bar_frobnicator_call_random_method_sync ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "RandomMethod", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_complete_random_method: 1001s # * @object: A #OrgProjectBarFrobnicator. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_complete_random_method ( 1001s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorProxy: 1001s # * 1001s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectBarFrobnicatorProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1001s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1001s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorSkeleton: 1001s # * 1001s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1001s # { 1001s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1001s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1001s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_bar_frobnicator_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1001s # } 1001s # Error: 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5_4mop32/tmpzcoibik92.xml', '/tmp/tmp5_4mop32/tmpndhcjezr1.xml', '--output', '-', '--body'] 1001s # Return code: 0 1001s # Output: 1001s # /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1001s # (void *data1, 1001s # GDBusMethodInvocation *arg_method_invocation, 1001s # void *data2); 1001s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # gboolean v_return; 1001s # 1001s # g_return_if_fail (return_value != NULL); 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # v_return = 1001s # callback (data1, 1001s # g_marshal_value_peek_object (param_values + 1), 1001s # data2); 1001s # 1001s # g_value_set_boolean (return_value, v_return); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface com.acme.Coyote 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:ComAcmeCoyote 1001s # * @title: ComAcmeCoyote 1001s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1001s # * 1001s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _COM_ACME_COYOTE_SURPRISED, 1001s # }; 1001s # 1001s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for com.acme.Coyote ---- */ 1001s # 1001s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Run", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-run", 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Sleep", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-sleep", 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Attack", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-attack", 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1001s # { 1001s # &_com_acme_coyote_method_info_run.parent_struct, 1001s # &_com_acme_coyote_method_info_sleep.parent_struct, 1001s # &_com_acme_coyote_method_info_attack.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Surprised", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "surprised" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1001s # { 1001s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "Mood", 1001s # (gchar *) "s", 1001s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1001s # NULL 1001s # }, 1001s # "mood", 1001s # FALSE, 1001s # TRUE 1001s # }; 1001s # 1001s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1001s # { 1001s # &_com_acme_coyote_property_info_mood.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "com.acme.Coyote", 1001s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1001s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1001s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1001s # NULL 1001s # }, 1001s # "com-acme-coyote", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * com_acme_coyote_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # com_acme_coyote_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1001s # { 1001s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # com_acme_coyote_signal_marshal_surprised ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # com_acme_coyote_method_marshal_run ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # com_acme_coyote_method_marshal_sleep ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # com_acme_coyote_method_marshal_attack ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * ComAcmeCoyote: 1001s # * 1001s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1001s # */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteIface: 1001s # * @parent_iface: The parent interface. 1001s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1001s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1001s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1001s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1001s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1001s # * 1001s # * Virtual table for the D-Bus interface com.acme.Coyote. 1001s # */ 1001s # 1001s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1001s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1001s # { 1001s # /* GObject signals for incoming D-Bus method calls: */ 1001s # /** 1001s # * ComAcmeCoyote::handle-run: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-run", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # com_acme_coyote_method_marshal_run, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # /** 1001s # * ComAcmeCoyote::handle-sleep: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-sleep", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # com_acme_coyote_method_marshal_sleep, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # /** 1001s # * ComAcmeCoyote::handle-attack: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-attack", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # com_acme_coyote_method_marshal_attack, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * ComAcmeCoyote::surprised: 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1001s # * 1001s # * 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. 1001s # */ 1001s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1001s # g_signal_new ("surprised", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1001s # NULL, 1001s # NULL, 1001s # com_acme_coyote_signal_marshal_surprised, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /* GObject properties for D-Bus properties: */ 1001s # /** 1001s # * ComAcmeCoyote:mood: 1001s # * 1001s # * Represents the D-Bus property "Mood". 1001s # * 1001s # * 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. 1001s # */ 1001s # g_object_interface_install_property (iface, 1001s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_get_mood: (skip) 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * Gets the value of the "Mood" D-Bus property. 1001s # * 1001s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # const gchar * 1001s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1001s # { 1001s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1001s # 1001s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_dup_mood: (skip) 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * Gets a copy of the "Mood" D-Bus property. 1001s # * 1001s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1001s # * 1001s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1001s # */ 1001s # gchar * 1001s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1001s # { 1001s # gchar *value; 1001s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1001s # return value; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_set_mood: (skip) 1001s # * @object: A #ComAcmeCoyote. 1001s # * @value: The value to set. 1001s # * 1001s # * Sets the "Mood" D-Bus property to @value. 1001s # * 1001s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1001s # */ 1001s # void 1001s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1001s # { 1001s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_emit_surprised: 1001s # * @object: A #ComAcmeCoyote. 1001s # * 1001s # * Emits the "Surprised" D-Bus signal. 1001s # */ 1001s # void 1001s # com_acme_coyote_emit_surprised ( 1001s # ComAcmeCoyote *object) 1001s # { 1001s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_run: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # com_acme_coyote_call_run ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "Run", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_run_finish: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_call_run(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_run_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_run_sync: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_run_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "Run", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_sleep: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # com_acme_coyote_call_sleep ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "Sleep", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_sleep_finish: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_sleep_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_sleep_sync: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_sleep_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "Sleep", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_attack: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # com_acme_coyote_call_attack ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "Attack", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_attack_finish: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_call_attack(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_attack_finish ( 1001s # ComAcmeCoyote *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_call_attack_sync: 1001s # * @proxy: A #ComAcmeCoyoteProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # com_acme_coyote_call_attack_sync ( 1001s # ComAcmeCoyote *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "Attack", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_complete_run: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # com_acme_coyote_complete_run ( 1001s # ComAcmeCoyote *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_complete_sleep: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # com_acme_coyote_complete_sleep ( 1001s # ComAcmeCoyote *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_complete_attack: 1001s # * @object: A #ComAcmeCoyote. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # com_acme_coyote_complete_attack ( 1001s # ComAcmeCoyote *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteProxy: 1001s # * 1001s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #ComAcmeCoyoteProxy. 1001s # */ 1001s # 1001s # struct _ComAcmeCoyoteProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # com_acme_coyote_proxy_finalize (GObject *object) 1001s # { 1001s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_get_property (GObject *object, 1001s # guint prop_id, 1001s # GValue *value, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *variant; 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1001s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1001s # if (info->use_gvariant) 1001s # { 1001s # g_value_set_variant (value, variant); 1001s # } 1001s # else 1001s # { 1001s # if (variant != NULL) 1001s # g_dbus_gvariant_to_gvalue (variant, value); 1001s # } 1001s # if (variant != NULL) 1001s # g_variant_unref (variant); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1001s # GAsyncResult *res, 1001s # gpointer user_data) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info = user_data; 1001s # GError *error; 1001s # GVariant *_ret; 1001s # error = NULL; 1001s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1001s # if (!_ret) 1001s # { 1001s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1001s # info->parent_struct.name, 1001s # error->message, g_quark_to_string (error->domain), error->code); 1001s # g_error_free (error); 1001s # } 1001s # else 1001s # { 1001s # g_variant_unref (_ret); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_set_property (GObject *object, 1001s # guint prop_id, 1001s # const GValue *value, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *variant; 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1001s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1001s # "org.freedesktop.DBus.Properties.Set", 1001s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1001s # g_variant_unref (variant); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static const gchar * 1001s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1001s # { 1001s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1001s # GVariant *variant; 1001s # const gchar *value = NULL; 1001s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1001s # if (variant != NULL) 1001s # { 1001s # value = g_variant_get_string (variant, NULL); 1001s # g_variant_unref (variant); 1001s # } 1001s # return value; 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1001s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1001s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1001s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1001s # 1001s # com_acme_coyote_override_properties (gobject_class, 1); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1001s # { 1001s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # com_acme_coyote_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # com_acme_coyote_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return COM_ACME_COYOTE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteSkeleton: 1001s # * 1001s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * ComAcmeCoyoteSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #ComAcmeCoyoteSkeleton. 1001s # */ 1001s # 1001s # struct _ComAcmeCoyoteSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _com_acme_coyote_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _com_acme_coyote_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _com_acme_coyote_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1001s # { 1001s # _com_acme_coyote_skeleton_handle_method_call, 1001s # _com_acme_coyote_skeleton_handle_get_property, 1001s # _com_acme_coyote_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return com_acme_coyote_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1001s # gboolean emit_changed = FALSE; 1001s # 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # { 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # emit_changed = TRUE; 1001s # } 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # 1001s # if (emit_changed) 1001s # _com_acme_coyote_emit_changed (skeleton); 1001s # } 1001s # 1001s # static void 1001s # _com_acme_coyote_on_signal_surprised ( 1001s # ComAcmeCoyote *object) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # com_acme_coyote_skeleton_finalize (GObject *object) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # guint n; 1001s # for (n = 0; n < 1; n++) 1001s # g_value_unset (&skeleton->priv->properties[n]); 1001s # g_free (skeleton->priv->properties); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_get_property (GObject *object, 1001s # guint prop_id, 1001s # GValue *value, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # } 1001s # 1001s # static gboolean 1001s # _com_acme_coyote_emit_changed (gpointer user_data) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1001s # GList *l; 1001s # GVariantBuilder builder; 1001s # GVariantBuilder invalidated_builder; 1001s # guint num_changes; 1001s # 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1001s # #else 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1001s # #endif 1001s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1001s # { 1001s # ChangedProperty *cp = l->data; 1001s # GVariant *variant; 1001s # const GValue *cur_value; 1001s # 1001s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1001s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1001s # { 1001s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1001s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1001s # g_variant_unref (variant); 1001s # num_changes++; 1001s # } 1001s # } 1001s # if (num_changes > 0) 1001s # { 1001s # GList *connections, *ll; 1001s # GVariant *signal_variant; 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1001s # &builder, &invalidated_builder)); 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # for (ll = connections; ll != NULL; ll = ll->next) 1001s # { 1001s # GDBusConnection *connection = ll->data; 1001s # 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1001s # "org.freedesktop.DBus.Properties", 1001s # "PropertiesChanged", 1001s # signal_variant, 1001s # NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # else 1001s # { 1001s # g_variant_builder_clear (&builder); 1001s # g_variant_builder_clear (&invalidated_builder); 1001s # } 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # skeleton->priv->changed_properties = NULL; 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # return FALSE; 1001s # } 1001s # 1001s # static void 1001s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1001s # { 1001s # ChangedProperty *cp; 1001s # GList *l; 1001s # cp = NULL; 1001s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1001s # { 1001s # ChangedProperty *i_cp = l->data; 1001s # if (i_cp->info == info) 1001s # { 1001s # cp = i_cp; 1001s # break; 1001s # } 1001s # } 1001s # if (cp == NULL) 1001s # { 1001s # cp = g_new0 (ChangedProperty, 1); 1001s # cp->prop_id = prop_id; 1001s # cp->info = info; 1001s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1001s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1001s # g_value_copy (orig_value, &cp->orig_value); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_notify (GObject *object, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # if (skeleton->priv->changed_properties != NULL && 1001s # skeleton->priv->changed_properties_idle_source == NULL) 1001s # { 1001s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1001s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1001s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1001s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1001s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1001s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1001s # } 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_set_property (GObject *object, 1001s # guint prop_id, 1001s # const GValue *value, 1001s # GParamSpec *pspec) 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1001s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # g_object_freeze_notify (object); 1001s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1001s # { 1001s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1001s # info->emits_changed_signal) 1001s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1001s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1001s # g_object_notify_by_pspec (object, pspec); 1001s # } 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # g_object_thaw_notify (object); 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # skeleton->priv->properties = g_new0 (GValue, 1); 1001s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1001s # } 1001s # 1001s # static const gchar * 1001s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1001s # { 1001s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1001s # const gchar *value; 1001s # g_mutex_lock (&skeleton->priv->lock); 1001s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1001s # g_mutex_unlock (&skeleton->priv->lock); 1001s # return value; 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1001s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1001s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1001s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1001s # 1001s # 1001s # com_acme_coyote_override_properties (gobject_class, 1); 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1001s # { 1001s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1001s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1001s # } 1001s # 1001s # /** 1001s # * com_acme_coyote_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1001s # * 1001s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1001s # */ 1001s # ComAcmeCoyote * 1001s # com_acme_coyote_skeleton_new (void) 1001s # { 1001s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.Bar.Frobnicator 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectBarFrobnicator 1001s # * @title: OrgProjectBarFrobnicator 1001s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1001s # */ 1001s # 1001s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1001s # 1001s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "RandomMethod", 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "handle-random-method", 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1001s # { 1001s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.Bar.Frobnicator", 1001s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-bar-frobnicator", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_bar_frobnicator_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_bar_frobnicator_method_marshal_random_method ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicator: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorIface: 1001s # * @parent_iface: The parent interface. 1001s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1001s # */ 1001s # 1001s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1001s # { 1001s # /* GObject signals for incoming D-Bus method calls: */ 1001s # /** 1001s # * OrgProjectBarFrobnicator::handle-random-method: 1001s # * @object: A #OrgProjectBarFrobnicator. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-random-method", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # org_project_bar_frobnicator_method_marshal_random_method, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_call_random_method: 1001s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1001s # * 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()). 1001s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_call_random_method ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "RandomMethod", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_call_random_method_finish: 1001s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_bar_frobnicator_call_random_method_finish ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_call_random_method_sync: 1001s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_bar_frobnicator_call_random_method_sync ( 1001s # OrgProjectBarFrobnicator *proxy, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "RandomMethod", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_complete_random_method: 1001s # * @object: A #OrgProjectBarFrobnicator. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_complete_random_method ( 1001s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorProxy: 1001s # * 1001s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectBarFrobnicatorProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1001s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1001s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * 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()). 1001s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_bar_frobnicator_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorSkeleton: 1001s # * 1001s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectBarFrobnicatorSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # 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); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1001s # { 1001s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1001s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1001s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_bar_frobnicator_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1001s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #else 1001s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # #endif 1001s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # /* coverity[missing_lock : SUPPRESS] */ 1001s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1001s # #else 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # skeleton->priv->changed_properties_idle_source = NULL; 1001s # #endif 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_bar_frobnicator_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectBarFrobnicator * 1001s # org_project_bar_frobnicator_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1001s # } 1001s # Error: 1002s ok 45 __main__.TestCodegen.test_unix_fd_types_and_annotations 1002s # gdbus-codegen: /usr/bin/gdbus-codegen 1002s # tmpdir: /tmp/tmpybbc258u 1002s # /tmp/tmpybbc258u/tmpdumkzv8l.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpybbc258u/tmpdumkzv8l.xml', '--output', '-', '--header'] 1002s # Return code: 0 1002s # Output: 1002s # /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for FDPassing */ 1002s # 1002s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1002s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1002s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1002s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1002s # 1002s # struct _FDPassing; 1002s # typedef struct _FDPassing FDPassing; 1002s # typedef struct _FDPassingIface FDPassingIface; 1002s # 1002s # struct _FDPassingIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_hello_fd) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *arg_greeting); 1002s # 1002s # gboolean (*handle_no_annotation) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale); 1002s # 1002s # gboolean (*handle_no_annotation_nested) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_files); 1002s # 1002s # }; 1002s # 1002s # GType fdpassing_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1002s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void fdpassing_complete_hello_fd ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *response); 1002s # 1002s # void fdpassing_complete_no_annotation ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *response, 1002s # const gchar *response_locale); 1002s # 1002s # void fdpassing_complete_no_annotation_nested ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void fdpassing_call_hello_fd ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_hello_fd_finish ( 1002s # FDPassing *proxy, 1002s # gchar ** out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_hello_fd_sync ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # gchar ** out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_finish ( 1002s # FDPassing *proxy, 1002s # GVariant ** out_response, 1002s # gchar ** out_response_locale, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GVariant ** out_response, 1002s # gchar ** out_response_locale, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation_nested ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_finish ( 1002s # FDPassing *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1002s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1002s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1002s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1002s # 1002s # typedef struct _FDPassingProxy FDPassingProxy; 1002s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1002s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1002s # 1002s # struct _FDPassingProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # FDPassingProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void fdpassing_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1002s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1002s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1002s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1002s # 1002s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1002s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1002s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1002s # 1002s # struct _FDPassingSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # FDPassingSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # FDPassing *fdpassing_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # Error: 1002s # 1002s # /tmp/tmpybbc258u/tmpqxjnk7ms.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpybbc258u/tmpqxjnk7ms.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1002s # Return code: 0 1002s # Output: 1002s # /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for FDPassing */ 1002s # 1002s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1002s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1002s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1002s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1002s # 1002s # struct _FDPassing; 1002s # typedef struct _FDPassing FDPassing; 1002s # typedef struct _FDPassingIface FDPassingIface; 1002s # 1002s # struct _FDPassingIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_hello_fd) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *arg_greeting); 1002s # 1002s # gboolean (*handle_no_annotation) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale); 1002s # 1002s # gboolean (*handle_no_annotation_nested) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_files); 1002s # 1002s # }; 1002s # 1002s # GType fdpassing_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1002s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void fdpassing_complete_hello_fd ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *response); 1002s # 1002s # void fdpassing_complete_no_annotation ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *response, 1002s # const gchar *response_locale); 1002s # 1002s # void fdpassing_complete_no_annotation_nested ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void fdpassing_call_hello_fd ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_hello_fd_finish ( 1002s # FDPassing *proxy, 1002s # gchar ** out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_hello_fd_sync ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # gchar ** out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_finish ( 1002s # FDPassing *proxy, 1002s # GVariant ** out_response, 1002s # gchar ** out_response_locale, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GVariant ** out_response, 1002s # gchar ** out_response_locale, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation_nested ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_finish ( 1002s # FDPassing *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1002s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1002s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1002s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1002s # 1002s # typedef struct _FDPassingProxy FDPassingProxy; 1002s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1002s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1002s # 1002s # struct _FDPassingProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # FDPassingProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void fdpassing_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1002s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1002s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1002s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1002s # 1002s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1002s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1002s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1002s # 1002s # struct _FDPassingSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # FDPassingSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # FDPassing *fdpassing_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # Error: 1002s # 1002s # /tmp/tmpybbc258u/tmp9alaeqb7.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpybbc258u/tmp9alaeqb7.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1002s # Return code: 0 1002s # Output: 1002s # /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for FDPassing */ 1002s # 1002s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1002s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1002s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1002s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1002s # 1002s # struct _FDPassing; 1002s # typedef struct _FDPassing FDPassing; 1002s # typedef struct _FDPassingIface FDPassingIface; 1002s # 1002s # struct _FDPassingIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_hello_fd) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *arg_greeting); 1002s # 1002s # gboolean (*handle_no_annotation) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale); 1002s # 1002s # gboolean (*handle_no_annotation_nested) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # GVariant *arg_files); 1002s # 1002s # }; 1002s # 1002s # GType fdpassing_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1002s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void fdpassing_complete_hello_fd ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *response); 1002s # 1002s # void fdpassing_complete_no_annotation ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # GVariant *response, 1002s # const gchar *response_locale); 1002s # 1002s # void fdpassing_complete_no_annotation_nested ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void fdpassing_call_hello_fd ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_hello_fd_finish ( 1002s # FDPassing *proxy, 1002s # gchar ** out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_hello_fd_sync ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # gchar ** out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_finish ( 1002s # FDPassing *proxy, 1002s # GVariant ** out_response, 1002s # gchar ** out_response_locale, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GVariant ** out_response, 1002s # gchar ** out_response_locale, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation_nested ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_finish ( 1002s # FDPassing *proxy, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1002s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1002s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1002s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1002s # 1002s # typedef struct _FDPassingProxy FDPassingProxy; 1002s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1002s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1002s # 1002s # struct _FDPassingProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # FDPassingProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void fdpassing_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1002s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1002s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1002s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1002s # 1002s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1002s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1002s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1002s # 1002s # struct _FDPassingSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # FDPassingSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # FDPassing *fdpassing_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # Error: 1002s 1..45 1002s ok - glib/codegen.py.test 1002s # Running test: glib/atomic.test 1002s TAP version 14 1002s # random seed: R02S816cbc5f4ca67408d7e3c66fab715084 1002s 1..2 1002s # Start of atomic tests 1002s ok 1 /atomic/types 1002s ok - glib/atomic.test 1002s ok 2 /atomic/threaded 1002s # End of atomic tests 1002s # Running test: glib/deprecated-properties.test 1002s TAP version 14 1002s # random seed: R02Sde645b2845e74cce312cebeda34c0129 1002s 1..3 1002s # Start of deprecated-properties tests 1002s ok 1 /deprecated-properties/construct 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1002s ok - glib/deprecated-properties.test 1002s ok 2 /deprecated-properties/default-construct 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1002s # Running test: glib/gdbus-threading.test 1002s ok 3 /deprecated-properties/set 1002s # End of deprecated-properties tests 1002s ok - glib/gdbus-threading.test 1002s # Running test: glib/cxx-17.test 1002s ok - glib/cxx-17.test 1002s TAP version 14 1002s # random seed: R02Sba37ce20d3b86dd61b38d2ec20fdf0aa 1002s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1002s # Running test: glib/spawn-singlethread.test 1002s TAP version 14 1002s # random seed: R02S12f059978adc2312bfb68e614c04cc43 1002s 1..2 1002s # Start of gtask tests 1002s # 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. 1002s ok 1 /gtask/name 1002s # Start of name tests 1002s # 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. 1002s ok 2 /gtask/name/macro-wrapper 1002s # End of name tests 1002s # End of gtask tests 1002s TAP version 14 1002s # random seed: R02Sb5548fe3de2dc1fe0d41b568c169c525 1002s 1..9 1002s # Start of gthread tests 1002s ok 1 /gthread/spawn-single-sync 1002s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1002s ok 2 /gthread/spawn-stderr-socket 1002s ok 3 /gthread/spawn-single-async 1002s # thread 1 1002s # thread 1 1002s ok 4 /gthread/spawn-single-async-with-fds 1002s ok 5 /gthread/spawn-async-with-invalid-fds 1002s ok 6 /gthread/spawn-script 1002s ok 7 /gthread/spawn-posix-spawn 1002s # Start of spawn tests 1002s ok 8 /gthread/spawn/nonexistent 1002s # FD map: 1002s # • 5 → 15 1002s # • 6 → 16 1002s # • 7 → 17 1002s # • 8 → 18 1002s # • 9 → 19 1002s # • 10 → 20 1002s # • 11 → 21 1002s # • 12 → 22 1002s # • 13 → 23 1002s # • 3 → 13 1002s ok 9 /gthread/spawn/fd-assignment-clash 1002s # End of spawn tests 1002s # End of gthread tests 1002s ok - glib/spawn-singlethread.test 1002s # Running test: glib/dataset.test 1002s TAP version 14 1002s # random seed: R02Sb3afadb7c069b629460cd3f7758158a1 1002s 1..15 1002s # Start of quark tests 1002s ok 1 /quark/basic 1002s ok 2 /quark/string 1002s # End of quark tests 1002s # Start of dataset tests 1002s ok 3 /dataset/basic 1002s ok 4 /dataset/id 1002s ok 5 /dataset/full 1002s ok 6 /dataset/foreach 1002s ok 7 /dataset/destroy 1002s # End of dataset tests 1002s # Start of datalist tests 1002s ok 8 /datalist/id 1002s ok 9 /datalist/recursive-clear 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1002s ok 10 /datalist/id-remove-multiple 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1002s ok 11 /datalist/id-remove-multiple-destroy-order 1002s ok 12 /datalist/update-atomic 1002s # Start of basic tests 1002s ok 13 /datalist/basic/few 1002s ok 14 /datalist/basic/many 1002s # End of basic tests 1002s # Start of id-remove-multiple tests 1002s ok 15 /datalist/id-remove-multiple/resize 1002s # End of id-remove-multiple tests 1002s # End of datalist tests 1002s ok - glib/dataset.test 1002s # Running test: glib/async-splice-output-stream.test 1002s TAP version 14 1002s # random seed: R02S57a35188042c1edba969ae68db900865 1002s 1..5 1002s # Start of async-splice tests 1002s ok 1 /async-splice/copy-chunks 1002s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1002s ok 2 /async-splice/copy-chunks-threaded-input 1002s ok 3 /async-splice/copy-chunks-threaded-output 1002s ok - glib/async-splice-output-stream.test 1002s ok 4 /async-splice/copy-chunks-threaded 1002s ok 5 /async-splice/cancelled 1002s # End of async-splice tests 1002s # Running test: glib/mkenums.py.test 1002s TAP version 13 1002s ok 1 __main__.TestMkenums.test_available_in 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmpozcu64jv 1002s # rspfile: False 1002s # /tmp/tmpozcu64jv/tmp5_6glf2_.h: 1002s # typedef enum { 1002s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1002s # } GDBusServerFlags; 1002s # 1002s # /tmp/tmpozcu64jv/tmpuxkipxsf.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpozcu64jv/tmpuxkipxsf.template', '/tmp/tmpozcu64jv/tmp5_6glf2_.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmpozcu64jv/tmp5_6glf2_.h 1002s # basename: tmp5_6glf2_.h 1002s # enumeration-production 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-header 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-production 1002s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1002s # valuenick: user 1002s # valuenum: 4 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-tail 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmpg_9hil28 1002s # rspfile: False 1002s # /tmp/tmpg_9hil28/tmpckwsifna.h: 1002s # typedef enum { 1002s # ENUM_VALUE_WITH_COMMA = ',', 1002s # } TestCommaEnum; 1002s # 1002s # /tmp/tmpg_9hil28/tmp6_to7aoi.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg_9hil28/tmp6_to7aoi.template', '/tmp/tmpg_9hil28/tmpckwsifna.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmpg_9hil28/tmpckwsifna.h 1002s # basename: tmpckwsifna.h 1002s # enumeration-production 1002s # EnumName: TestCommaEnum 1002s # enum_name: test_comma_enum 1002s # ENUMNAME: TEST_COMMA_ENUM 1002s # ENUMSHORT: COMMA_ENUM 1002s # ENUMPREFIX: TEST 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-header 1002s # EnumName: TestCommaEnum 1002s # enum_name: test_comma_enum 1002s # ENUMNAME: TEST_COMMA_ENUM 1002s # ENUMSHORT: COMMA_ENUM 1002s # ENUMPREFIX: TEST 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-production 1002s # VALUENAME: ENUM_VALUE_WITH_COMMA 1002s # valuenick: comma 1002s # valuenum: 44 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-tail 1002s # EnumName: TestCommaEnum 1002s # enum_name: test_comma_enum 1002s # ENUMNAME: TEST_COMMA_ENUM 1002s # ENUMSHORT: COMMA_ENUM 1002s # ENUMPREFIX: TEST 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s ok 3 __main__.TestMkenums.test_deprecated_in 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmpbdjazg6t 1002s # rspfile: False 1002s # /tmp/tmpbdjazg6t/tmpc58f3tpx.h: 1002s # typedef enum { 1002s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1002s # } GDBusServerFlags; 1002s # 1002s # /tmp/tmpbdjazg6t/tmpdztaaouy.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbdjazg6t/tmpdztaaouy.template', '/tmp/tmpbdjazg6t/tmpc58f3tpx.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmpbdjazg6t/tmpc58f3tpx.h 1002s # basename: tmpc58f3tpx.h 1002s # enumeration-production 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-header 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-production 1002s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1002s # valuenick: user 1002s # valuenum: 4 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-tail 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s ok 4 __main__.TestMkenums.test_deprecated_in_for 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmplzf9aeqx 1002s # rspfile: False 1002s # /tmp/tmplzf9aeqx/tmpwt7zmb7j.h: 1002s # typedef enum { 1002s # 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) 1002s # } GDBusServerFlags; 1002s # 1002s # /tmp/tmplzf9aeqx/tmps0_ruyy2.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplzf9aeqx/tmps0_ruyy2.template', '/tmp/tmplzf9aeqx/tmpwt7zmb7j.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmplzf9aeqx/tmpwt7zmb7j.h 1002s # basename: tmpwt7zmb7j.h 1002s # enumeration-production 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-header 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-production 1002s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1002s # valuenick: user 1002s # valuenum: 4 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # value-tail 1002s # EnumName: GDBusServerFlags 1002s # enum_name: g_dbus_server_flags 1002s # ENUMNAME: G_DBUS_SERVER_FLAGS 1002s # ENUMSHORT: DBUS_SERVER_FLAGS 1002s # ENUMPREFIX: G 1002s # enumsince: 1002s # type: flags 1002s # Type: Flags 1002s # TYPE: FLAGS 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s ok 5 __main__.TestMkenums.test_empty_header 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmpua7nmnir 1002s # rspfile: False 1002s # /tmp/tmpua7nmnir/tmpm1ghs48s.h: 1002s # /tmp/tmpua7nmnir/tmpfvfgr82r.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpua7nmnir/tmpfvfgr82r.template', '/tmp/tmpua7nmnir/tmpm1ghs48s.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s ok 6 __main__.TestMkenums.test_empty_template 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmplp6esqx9 1002s # rspfile: False 1002s # /tmp/tmplp6esqx9/tmpseh2e7mv.template: 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplp6esqx9/tmpseh2e7mv.template'] 1002s # Return code: 0 1002s # Output: 1002s # /* 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. */ 1002s # 1002s # 1002s # /* Generated data ends here */ 1002s # Error: 1002s ok 7 __main__.TestMkenums.test_enum_name 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmpbix0rnp3 1002s # rspfile: False 1002s # /tmp/tmpbix0rnp3/tmpd_gncuh9.h: 1002s # typedef enum _SomeEnumIdentifier { 1002s # ENUM_VALUE 1002s # } SomeEnumIdentifier; 1002s # 1002s # /tmp/tmpbix0rnp3/tmpmfgrlt58.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbix0rnp3/tmpmfgrlt58.template', '/tmp/tmpbix0rnp3/tmpd_gncuh9.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmpbix0rnp3/tmpd_gncuh9.h 1002s # basename: tmpd_gncuh9.h 1002s # enumeration-production 1002s # EnumName: SomeEnumIdentifier 1002s # enum_name: some_enum_identifier 1002s # ENUMNAME: SOME_ENUM_IDENTIFIER 1002s # ENUMSHORT: ENUM_IDENTIFIER 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-header 1002s # EnumName: SomeEnumIdentifier 1002s # enum_name: some_enum_identifier 1002s # ENUMNAME: SOME_ENUM_IDENTIFIER 1002s # ENUMSHORT: ENUM_IDENTIFIER 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-production 1002s # VALUENAME: ENUM_VALUE 1002s # valuenick: value 1002s # valuenum: 0 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-tail 1002s # EnumName: SomeEnumIdentifier 1002s # enum_name: some_enum_identifier 1002s # ENUMNAME: SOME_ENUM_IDENTIFIER 1002s # ENUMSHORT: ENUM_IDENTIFIER 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s ok 8 __main__.TestMkenums.test_enum_private_public 1002s # glib-mkenums: /usr/bin/glib-mkenums 1002s # tmpdir: /tmp/tmpyxvpguj2 1002s # rspfile: False 1002s # /tmp/tmpyxvpguj2/tmpeod6ctbi.h: 1002s # typedef enum { 1002s # ENUM_VALUE_PUBLIC1, 1002s # /*< private >*/ 1002s # ENUM_VALUE_PRIVATE, 1002s # } SomeEnumA 1002s # 1002s # /tmp/tmpyxvpguj2/tmp5497r_ry.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyxvpguj2/tmp5497r_ry.template', '/tmp/tmpyxvpguj2/tmpeod6ctbi.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmpyxvpguj2/tmpeod6ctbi.h 1002s # basename: tmpeod6ctbi.h 1002s # enumeration-production 1002s # EnumName: SomeEnumA 1002s # enum_name: some_enum_a 1002s # ENUMNAME: SOME_ENUM_A 1002s # ENUMSHORT: ENUM_A 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-header 1002s # EnumName: SomeEnumA 1002s # enum_name: some_enum_a 1002s # ENUMNAME: SOME_ENUM_A 1002s # ENUMSHORT: ENUM_A 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-production 1002s # VALUENAME: ENUM_VALUE_PUBLIC1 1002s # valuenick: public1 1002s # valuenum: 0 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-tail 1002s # EnumName: SomeEnumA 1002s # enum_name: some_enum_a 1002s # ENUMNAME: SOME_ENUM_A 1002s # ENUMSHORT: ENUM_A 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1002s # 1002s # /tmp/tmpyxvpguj2/tmp42bgdf7q.h: 1002s # typedef enum { 1002s # /*< private >*/ 1002s # ENUM_VALUE_PRIVATE, 1002s # /*< public >*/ 1002s # ENUM_VALUE_PUBLIC2, 1002s # } SomeEnumB; 1002s # 1002s # /tmp/tmpyxvpguj2/tmp0gez7e9d.template: 1002s # /*** BEGIN file-header ***/ 1002s # file-header 1002s # /*** END file-header ***/ 1002s # 1002s # /*** BEGIN file-production ***/ 1002s # file-production 1002s # filename: @filename@ 1002s # basename: @basename@ 1002s # /*** END file-production ***/ 1002s # 1002s # /*** BEGIN enumeration-production ***/ 1002s # enumeration-production 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END enumeration-production ***/ 1002s # 1002s # /*** BEGIN value-header ***/ 1002s # value-header 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-header ***/ 1002s # 1002s # /*** BEGIN value-production ***/ 1002s # value-production 1002s # VALUENAME: @VALUENAME@ 1002s # valuenick: @valuenick@ 1002s # valuenum: @valuenum@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-production ***/ 1002s # 1002s # /*** BEGIN value-tail ***/ 1002s # value-tail 1002s # EnumName: @EnumName@ 1002s # enum_name: @enum_name@ 1002s # ENUMNAME: @ENUMNAME@ 1002s # ENUMSHORT: @ENUMSHORT@ 1002s # ENUMPREFIX: @ENUMPREFIX@ 1002s # enumsince: @enumsince@ 1002s # type: @type@ 1002s # Type: @Type@ 1002s # TYPE: @TYPE@ 1002s # /*** END value-tail ***/ 1002s # 1002s # /*** BEGIN comment ***/ 1002s # comment 1002s # comment: @comment@ 1002s # /*** END comment ***/ 1002s # 1002s # /*** BEGIN file-tail ***/ 1002s # file-tail 1002s # /*** END file-tail ***/ 1002s # 1002s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyxvpguj2/tmp0gez7e9d.template', '/tmp/tmpyxvpguj2/tmp42bgdf7q.h'] 1002s # Return code: 0 1002s # Output: 1002s # comment 1002s # 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. 1002s # 1002s # 1002s # file-header 1002s # file-production 1002s # filename: /tmp/tmpyxvpguj2/tmp42bgdf7q.h 1002s # basename: tmp42bgdf7q.h 1002s # enumeration-production 1002s # EnumName: SomeEnumB 1002s # enum_name: some_enum_b 1002s # ENUMNAME: SOME_ENUM_B 1002s # ENUMSHORT: ENUM_B 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-header 1002s # EnumName: SomeEnumB 1002s # enum_name: some_enum_b 1002s # ENUMNAME: SOME_ENUM_B 1002s # ENUMSHORT: ENUM_B 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-production 1002s # VALUENAME: ENUM_VALUE_PUBLIC2 1002s # valuenick: public2 1002s # valuenum: 1 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # value-tail 1002s # EnumName: SomeEnumB 1002s # enum_name: some_enum_b 1002s # ENUMNAME: SOME_ENUM_B 1002s # ENUMSHORT: ENUM_B 1002s # ENUMPREFIX: SOME 1002s # enumsince: 1002s # type: enum 1002s # Type: Enum 1002s # TYPE: ENUM 1002s # file-tail 1002s # 1002s # comment 1002s # comment: Generated data ends here 1002s # Error: 1003s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1003s # glib-mkenums: /usr/bin/glib-mkenums 1003s # tmpdir: /tmp/tmpwdyjh9_i 1003s # rspfile: False 1003s # /tmp/tmpwdyjh9_i/tmp24ryc6lj.h: 1003s # typedef enum { 1003s # /*< private >*/ 1003s # ENUM_VALUE_PRIVATE = 5, 1003s # /*< public >*/ 1003s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1003s # } TestSymbolicEnum; 1003s # 1003s # /tmp/tmpwdyjh9_i/tmpwez987zg.template: 1003s # /*** BEGIN file-header ***/ 1003s # file-header 1003s # /*** END file-header ***/ 1003s # 1003s # /*** BEGIN file-production ***/ 1003s # file-production 1003s # filename: @filename@ 1003s # basename: @basename@ 1003s # /*** END file-production ***/ 1003s # 1003s # /*** BEGIN enumeration-production ***/ 1003s # enumeration-production 1003s # EnumName: @EnumName@ 1003s # enum_name: @enum_name@ 1003s # ENUMNAME: @ENUMNAME@ 1003s # ENUMSHORT: @ENUMSHORT@ 1003s # ENUMPREFIX: @ENUMPREFIX@ 1003s # enumsince: @enumsince@ 1003s # type: @type@ 1003s # Type: @Type@ 1003s # TYPE: @TYPE@ 1003s # /*** END enumeration-production ***/ 1003s # 1003s # /*** BEGIN value-header ***/ 1003s # value-header 1003s # EnumName: @EnumName@ 1003s # enum_name: @enum_name@ 1003s # ENUMNAME: @ENUMNAME@ 1003s # ENUMSHORT: @ENUMSHORT@ 1003s # ENUMPREFIX: @ENUMPREFIX@ 1003s # enumsince: @enumsince@ 1003s # type: @type@ 1003s # Type: @Type@ 1003s # TYPE: @TYPE@ 1003s # /*** END value-header ***/ 1003s # 1003s # /*** BEGIN value-production ***/ 1003s # value-production 1003s # VALUENAME: @VALUENAME@ 1003s # valuenick: @valuenick@ 1003s # valuenum: @valuenum@ 1003s # type: @type@ 1003s # Type: @Type@ 1003s # TYPE: @TYPE@ 1003s # /*** END value-production ***/ 1003s # 1003s # /*** BEGIN value-tail ***/ 1003s # value-tail 1003s # EnumName: @EnumName@ 1003s # enum_name: @enum_name@ 1003s # ENUMNAME: @ENUMNAME@ 1003s # ENUMSHORT: @ENUMSHORT@ 1003s # ENUMPREFIX: @ENUMPREFIX@ 1003s # enumsince: @enumsince@ 1003s # type: @type@ 1003s # Type: @Type@ 1003s # TYPE: @TYPE@ 1003s # /*** END value-tail ***/ 1003s # 1003s # /*** BEGIN comment ***/ 1003s # comment 1003s # comment: @comment@ 1003s # /*** END comment ***/ 1003s # 1003s # /*** BEGIN file-tail ***/ 1003s # file-tail 1003s # /*** END file-tail ***/ 1003s # 1003s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwdyjh9_i/tmpwez987zg.template', '/tmp/tmpwdyjh9_i/tmp24ryc6lj.h'] 1003s # Return code: 0 1003s # Output: 1003s # comment 1003s # 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. 1003s # 1003s # 1003s # file-header 1003s # file-production 1003s # filename: /tmp/tmpwdyjh9_i/tmp24ryc6lj.h 1003s # basename: tmp24ryc6lj.h 1003s # enumeration-production 1003s # EnumName: TestSymbolicEnum 1003s # enum_name: test_symbolic_enum 1003s # ENUMNAME: TEST_SYMBOLIC_ENUM 1003s # ENUMSHORT: SYMBOLIC_ENUM 1003s # ENUMPREFIX: TEST 1003s # enumsince: 1003s # type: enum 1003s # Type: Enum 1003s # TYPE: ENUM 1003s # value-header 1003s # EnumName: TestSymbolicEnum 1003s # enum_name: test_symbolic_enum 1003s # ENUMNAME: TEST_SYMBOLIC_ENUM 1003s # ENUMSHORT: SYMBOLIC_ENUM 1003s # ENUMPREFIX: TEST 1003s # enumsince: 1003s # type: enum 1003s # Type: Enum 1003s # TYPE: ENUM 1003s # value-production 1003s # VALUENAME: ENUM_VALUE_PUBLIC 1003s # valuenick: public 1003s # valuenum: 7 1003s # type: enum 1003s # Type: Enum 1003s # TYPE: ENUM 1003s # value-tail 1003s # EnumName: TestSymbolicEnum 1003s # enum_name: test_symbolic_enum 1003s # ENUMNAME: TEST_SYMBOLIC_ENUM 1003s # ENUMSHORT: SYMBOLIC_ENUM 1003s # ENUMPREFIX: TEST 1003s # enumsince: 1003s # type: enum 1003s # Type: Enum 1003s # TYPE: ENUM 1003s # file-tail 1003s # 1003s # comment 1003s # comment: Generated data ends here 1003s # Error: 1003s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1003s # glib-mkenums: /usr/bin/glib-mkenums 1003s # tmpdir: /tmp/tmpk2um7aqs 1003s # rspfile: False 1003s # /tmp/tmpk2um7aqs/tmpy2plzli0.template: 1003s # /*** BEGIN file-header ***/ 1003s # file-header 1003s # filename: @filename@ 1003s # basename: @basename@ 1003s # /*** END file-header ***/ 1003s # 1003s # /*** BEGIN comment ***/ 1003s # comment 1003s # comment: @comment@ 1003s # /*** END comment ***/ 1003s # 1003s # /*** BEGIN file-tail ***/ 1003s # file-tail 1003s # filename: @filename@ 1003s # basename: @basename@ 1003s # /*** END file-tail ***/ 1003s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk2um7aqs/tmpy2plzli0.template'] 1003s # Return code: 0 1003s # Output: 1003s # comment 1003s # 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. 1003s # 1003s # 1003s # file-header 1003s # filename: @filename@ 1003s # basename: @basename@ 1003s # file-tail 1003s # filename: @filename@ 1003s # basename: @basename@ 1003s # 1003s # comment 1003s # comment: Generated data ends here 1003s # Error: 1003s # WARNING: @filename@ used in file-header section. 1003s # WARNING: @basename@ used in file-header section. 1003s # WARNING: @filename@ used in file-tail section. 1003s # WARNING: @basename@ used in file-tail section. 1004s ok 11 __main__.TestMkenums.test_flag_enum_annotation 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmpblfve83h 1004s # rspfile: False 1004s # /tmp/tmpblfve83h/tmpvedhlyot.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } G_GNUC_FLAG_ENUM SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpilnw_kyz.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpilnw_kyz.template', '/tmp/tmpblfve83h/tmpvedhlyot.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpvedhlyot.h 1004s # basename: tmpvedhlyot.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp3yhr4xpg.h: 1004s # typedef enum G_GNUC_FLAG_ENUM { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpurxectil.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpurxectil.template', '/tmp/tmpblfve83h/tmp3yhr4xpg.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp3yhr4xpg.h 1004s # basename: tmp3yhr4xpg.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpff4lq19y.h: 1004s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmp0bn8enj1.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmp0bn8enj1.template', '/tmp/tmpblfve83h/tmpff4lq19y.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpff4lq19y.h 1004s # basename: tmpff4lq19y.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpw1j07bdm.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } __attribute__((flag_enum)) SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpfrhx34x2.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpfrhx34x2.template', '/tmp/tmpblfve83h/tmpw1j07bdm.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpw1j07bdm.h 1004s # basename: tmpw1j07bdm.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpc_ak2oig.h: 1004s # typedef enum __attribute__((flag_enum)) { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpqtultcz9.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpqtultcz9.template', '/tmp/tmpblfve83h/tmpc_ak2oig.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpc_ak2oig.h 1004s # basename: tmpc_ak2oig.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpzkeozewd.h: 1004s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpo3vj4yvc.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpo3vj4yvc.template', '/tmp/tmpblfve83h/tmpzkeozewd.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpzkeozewd.h 1004s # basename: tmpzkeozewd.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpbgxzlauf.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } __attribute__((__flag_enum__)) SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpvjkr4916.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpvjkr4916.template', '/tmp/tmpblfve83h/tmpbgxzlauf.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpbgxzlauf.h 1004s # basename: tmpbgxzlauf.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpizs_l316.h: 1004s # typedef enum __attribute__((__flag_enum__)) { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpolw364ds.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpolw364ds.template', '/tmp/tmpblfve83h/tmpizs_l316.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpizs_l316.h 1004s # basename: tmpizs_l316.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpbykotjjs.h: 1004s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmphzx2ysxn.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmphzx2ysxn.template', '/tmp/tmpblfve83h/tmpbykotjjs.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpbykotjjs.h 1004s # basename: tmpbykotjjs.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpti5iubvk.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmp15uc2vve.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmp15uc2vve.template', '/tmp/tmpblfve83h/tmpti5iubvk.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpti5iubvk.h 1004s # basename: tmpti5iubvk.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp5h54wdml.h: 1004s # typedef enum __attribute__((flag_enum,deprecated)) { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmp4b6um5fu.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmp4b6um5fu.template', '/tmp/tmpblfve83h/tmp5h54wdml.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp5h54wdml.h 1004s # basename: tmp5h54wdml.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp8bipcv5w.h: 1004s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpq73mwo4n.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpq73mwo4n.template', '/tmp/tmpblfve83h/tmp8bipcv5w.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp8bipcv5w.h 1004s # basename: tmp8bipcv5w.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpqml2gakg.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpw0jly77q.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpw0jly77q.template', '/tmp/tmpblfve83h/tmpqml2gakg.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpqml2gakg.h 1004s # basename: tmpqml2gakg.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpxfa3csr8.h: 1004s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmp8c0w1pkm.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmp8c0w1pkm.template', '/tmp/tmpblfve83h/tmpxfa3csr8.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpxfa3csr8.h 1004s # basename: tmpxfa3csr8.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp8t6zg_ag.h: 1004s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpz5q289y6.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpz5q289y6.template', '/tmp/tmpblfve83h/tmp8t6zg_ag.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp8t6zg_ag.h 1004s # basename: tmp8t6zg_ag.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpu_6nsdhg.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } [[gnu::flag_enum]] SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpgv3w9fbj.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpgv3w9fbj.template', '/tmp/tmpblfve83h/tmpu_6nsdhg.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpu_6nsdhg.h 1004s # basename: tmpu_6nsdhg.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp5vjv6e52.h: 1004s # typedef enum [[gnu::flag_enum]] { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmptkwsly8d.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmptkwsly8d.template', '/tmp/tmpblfve83h/tmp5vjv6e52.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp5vjv6e52.h 1004s # basename: tmp5vjv6e52.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpxmeipkgg.h: 1004s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpalnvo3zm.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpalnvo3zm.template', '/tmp/tmpblfve83h/tmpxmeipkgg.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpxmeipkgg.h 1004s # basename: tmpxmeipkgg.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp_dsri7gz.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } [[clang::flag_enum]] SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpr98wyhx5.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpr98wyhx5.template', '/tmp/tmpblfve83h/tmp_dsri7gz.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp_dsri7gz.h 1004s # basename: tmp_dsri7gz.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmptsg_k1tz.h: 1004s # typedef enum [[clang::flag_enum]] { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpmbssy1tg.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpmbssy1tg.template', '/tmp/tmpblfve83h/tmptsg_k1tz.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmptsg_k1tz.h 1004s # basename: tmptsg_k1tz.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp3oq0ppxv.h: 1004s # typedef enum [[clang::flag_enum]] _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmp140um3us.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmp140um3us.template', '/tmp/tmpblfve83h/tmp3oq0ppxv.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp3oq0ppxv.h 1004s # basename: tmp3oq0ppxv.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpbz3_5l4l.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpp4u502u7.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpp4u502u7.template', '/tmp/tmpblfve83h/tmpbz3_5l4l.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpbz3_5l4l.h 1004s # basename: tmpbz3_5l4l.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpfbbtgxsh.h: 1004s # typedef enum [[nodiscard,gnu::flag_enum]] { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpv1cm6771.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpv1cm6771.template', '/tmp/tmpblfve83h/tmpfbbtgxsh.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpfbbtgxsh.h 1004s # basename: tmpfbbtgxsh.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmp9q5afvl9.h: 1004s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpn2ut71_t.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpn2ut71_t.template', '/tmp/tmpblfve83h/tmp9q5afvl9.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmp9q5afvl9.h 1004s # basename: tmp9q5afvl9.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpdn84n3zq.h: 1004s # typedef enum { 1004s # SOME_FLAGS_ONE = (1 << 1), 1004s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpygj_0kks.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpygj_0kks.template', '/tmp/tmpblfve83h/tmpdn84n3zq.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpdn84n3zq.h 1004s # basename: tmpdn84n3zq.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_ONE 1004s # valuenick: one 1004s # valuenum: 2 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpl6gyy41r.h: 1004s # typedef enum [[clang::flag_enum,nodiscard]] { 1004s # SOME_FLAGS_TWO = (1 << 2), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpfrkuqbt8.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpfrkuqbt8.template', '/tmp/tmpblfve83h/tmpl6gyy41r.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpl6gyy41r.h 1004s # basename: tmpl6gyy41r.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_TWO 1004s # valuenick: two 1004s # valuenum: 4 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # 1004s # /tmp/tmpblfve83h/tmpedfnt5_1.h: 1004s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1004s # SOME_FLAGS_THREE = (1 << 3), 1004s # } SomeFlags; 1004s # 1004s # /tmp/tmpblfve83h/tmpjcwpqd5p.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpblfve83h/tmpjcwpqd5p.template', '/tmp/tmpblfve83h/tmpedfnt5_1.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpblfve83h/tmpedfnt5_1.h 1004s # basename: tmpedfnt5_1.h 1004s # enumeration-production 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-header 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-production 1004s # VALUENAME: SOME_FLAGS_THREE 1004s # valuenick: three 1004s # valuenum: 8 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # value-tail 1004s # EnumName: SomeFlags 1004s # enum_name: some_flags 1004s # ENUMNAME: SOME_FLAGS 1004s # ENUMSHORT: FLAGS 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: flags 1004s # Type: Flags 1004s # TYPE: FLAGS 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s ok 12 __main__.TestMkenums.test_help 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmplqz3_1sf 1004s # rspfile: False 1004s # Running: ['/usr/bin/glib-mkenums', '--help'] 1004s # Return code: 0 1004s # Output: 1004s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1004s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1004s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1004s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1004s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1004s # [--output OUTPUT] [--version] 1004s # [args ...] 1004s # 1004s # positional arguments: 1004s # args One or more input files, or a single argument 1004s # @rspfile_path pointing to a file that contains the 1004s # actual arguments 1004s # 1004s # options: 1004s # -h, --help show this help message and exit 1004s # --identifier-prefix IDPREFIX 1004s # Identifier prefix 1004s # --symbol-prefix SYMPREFIX 1004s # Symbol prefix 1004s # --fhead FHEAD Output file header 1004s # --ftail FTAIL Output file footer 1004s # --fprod FPROD Put out TEXT every time a new input file is being 1004s # processed. 1004s # --eprod EPROD Per enum text, produced prior to value iterations 1004s # --vhead VHEAD Value header, produced before iterating over enum 1004s # values 1004s # --vprod VPROD Value text, produced for each enum value. 1004s # --vtail VTAIL Value tail, produced after iterating over enum values 1004s # --comments COMMENT_TMPL 1004s # Comment structure 1004s # --template TEMPLATE Template file 1004s # --output OUTPUT 1004s # --version, -v Print version information 1004s # 1004s # Production text substitutions: 1004s # @EnumName@ PrefixTheXEnum 1004s # @enum_name@ prefix_the_xenum 1004s # @ENUMNAME@ PREFIX_THE_XENUM 1004s # @ENUMSHORT@ THE_XENUM 1004s # @ENUMPREFIX@ PREFIX 1004s # @enumsince@ the user-provided since value given 1004s # @VALUENAME@ PREFIX_THE_XVALUE 1004s # @valuenick@ the-xvalue 1004s # @valuenum@ the integer value (limited support, Since: 2.26) 1004s # @type@ either enum or flags 1004s # @Type@ either Enum or Flags 1004s # @TYPE@ either ENUM or FLAGS 1004s # @filename@ name of current input file 1004s # @basename@ base name of the current input file (Since: 2.22) 1004s # Error: 1004s ok 13 __main__.TestMkenums.test_no_args 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmpbxxanfto 1004s # rspfile: False 1004s # Running: ['/usr/bin/glib-mkenums'] 1004s # Return code: 0 1004s # Output: 1004s # /* 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. */ 1004s # 1004s # 1004s # /* Generated data ends here */ 1004s # Error: 1004s ok 14 __main__.TestMkenums.test_no_headers 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmp3_javdhj 1004s # rspfile: False 1004s # /tmp/tmp3_javdhj/tmp9gc43__9.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3_javdhj/tmp9gc43__9.template'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s ok 15 __main__.TestMkenums.test_no_nick 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmp1ttwrg3t 1004s # rspfile: False 1004s # /tmp/tmp1ttwrg3t/tmpu5_8pq78.h: 1004s # typedef enum { 1004s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1004s # } GeglSamplerType; 1004s # 1004s # /tmp/tmp1ttwrg3t/tmp2yb2806z.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1ttwrg3t/tmp2yb2806z.template', '/tmp/tmp1ttwrg3t/tmpu5_8pq78.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmp1ttwrg3t/tmpu5_8pq78.h 1004s # basename: tmpu5_8pq78.h 1004s # enumeration-production 1004s # EnumName: GeglSamplerType 1004s # enum_name: gegl_sampler_type 1004s # ENUMNAME: GEGL_SAMPLER_TYPE 1004s # ENUMSHORT: SAMPLER_TYPE 1004s # ENUMPREFIX: GEGL 1004s # enumsince: 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # value-header 1004s # EnumName: GeglSamplerType 1004s # enum_name: gegl_sampler_type 1004s # ENUMNAME: GEGL_SAMPLER_TYPE 1004s # ENUMSHORT: SAMPLER_TYPE 1004s # ENUMPREFIX: GEGL 1004s # enumsince: 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # value-production 1004s # VALUENAME: GEGL_SAMPLER_NEAREST 1004s # valuenick: nearest 1004s # valuenum: 0 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # value-tail 1004s # EnumName: GeglSamplerType 1004s # enum_name: gegl_sampler_type 1004s # ENUMNAME: GEGL_SAMPLER_TYPE 1004s # ENUMSHORT: SAMPLER_TYPE 1004s # ENUMPREFIX: GEGL 1004s # enumsince: 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s ok 16 __main__.TestMkenums.test_non_utf8_encoding 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmpxs6ogsuv 1004s # rspfile: False 1004s # /tmp/tmpxs6ogsuv/tmp14lvc2t6.h: 1004s # /* Copyright © La Peña */ 1004s # typedef enum { 1004s # ENUM_VALUE 1004s # } SomeEnumIdentifier; 1004s # 1004s # /tmp/tmpxs6ogsuv/tmpvp0ht3r7.template: 1004s # /*** BEGIN file-header ***/ 1004s # file-header 1004s # /*** END file-header ***/ 1004s # 1004s # /*** BEGIN file-production ***/ 1004s # file-production 1004s # filename: @filename@ 1004s # basename: @basename@ 1004s # /*** END file-production ***/ 1004s # 1004s # /*** BEGIN enumeration-production ***/ 1004s # enumeration-production 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END enumeration-production ***/ 1004s # 1004s # /*** BEGIN value-header ***/ 1004s # value-header 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-header ***/ 1004s # 1004s # /*** BEGIN value-production ***/ 1004s # value-production 1004s # VALUENAME: @VALUENAME@ 1004s # valuenick: @valuenick@ 1004s # valuenum: @valuenum@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-production ***/ 1004s # 1004s # /*** BEGIN value-tail ***/ 1004s # value-tail 1004s # EnumName: @EnumName@ 1004s # enum_name: @enum_name@ 1004s # ENUMNAME: @ENUMNAME@ 1004s # ENUMSHORT: @ENUMSHORT@ 1004s # ENUMPREFIX: @ENUMPREFIX@ 1004s # enumsince: @enumsince@ 1004s # type: @type@ 1004s # Type: @Type@ 1004s # TYPE: @TYPE@ 1004s # /*** END value-tail ***/ 1004s # 1004s # /*** BEGIN comment ***/ 1004s # comment 1004s # comment: @comment@ 1004s # /*** END comment ***/ 1004s # 1004s # /*** BEGIN file-tail ***/ 1004s # file-tail 1004s # /*** END file-tail ***/ 1004s # 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxs6ogsuv/tmpvp0ht3r7.template', '/tmp/tmpxs6ogsuv/tmp14lvc2t6.h'] 1004s # Return code: 0 1004s # Output: 1004s # comment 1004s # 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. 1004s # 1004s # 1004s # file-header 1004s # file-production 1004s # filename: /tmp/tmpxs6ogsuv/tmp14lvc2t6.h 1004s # basename: tmp14lvc2t6.h 1004s # enumeration-production 1004s # EnumName: SomeEnumIdentifier 1004s # enum_name: some_enum_identifier 1004s # ENUMNAME: SOME_ENUM_IDENTIFIER 1004s # ENUMSHORT: ENUM_IDENTIFIER 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # value-header 1004s # EnumName: SomeEnumIdentifier 1004s # enum_name: some_enum_identifier 1004s # ENUMNAME: SOME_ENUM_IDENTIFIER 1004s # ENUMSHORT: ENUM_IDENTIFIER 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # value-production 1004s # VALUENAME: ENUM_VALUE 1004s # valuenick: value 1004s # valuenum: 0 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # value-tail 1004s # EnumName: SomeEnumIdentifier 1004s # enum_name: some_enum_identifier 1004s # ENUMNAME: SOME_ENUM_IDENTIFIER 1004s # ENUMSHORT: ENUM_IDENTIFIER 1004s # ENUMPREFIX: SOME 1004s # enumsince: 1004s # type: enum 1004s # Type: Enum 1004s # TYPE: ENUM 1004s # file-tail 1004s # 1004s # comment 1004s # comment: Generated data ends here 1004s # Error: 1004s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1004s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1004s # Executing: glib/mkenums.py.test 1004s ok 17 __main__.TestMkenums.test_reproducible 1004s # glib-mkenums: /usr/bin/glib-mkenums 1004s # tmpdir: /tmp/tmp69d_00k4 1004s # rspfile: False 1004s # /tmp/tmp69d_00k4/tmpgkxy0xsw.template: template 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp69d_00k4/tmpgkxy0xsw.template', '/tmp/tmp69d_00k4/tmprq33ialh1.h', '/tmp/tmp69d_00k4/tmpm81px7zd2.h'] 1004s # Return code: 0 1004s # Output: 1004s # /* 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. */ 1004s # 1004s # 1004s # /* Generated data ends here */ 1004s # Error: 1004s # 1004s # /tmp/tmp69d_00k4/tmpou6jegkg.template: template 1004s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp69d_00k4/tmpou6jegkg.template', '/tmp/tmp69d_00k4/tmpm81px7zd2.h', '/tmp/tmp69d_00k4/tmprq33ialh1.h'] 1004s # Return code: 0 1004s # Output: 1004s # /* 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. */ 1004s # 1004s # 1004s # /* Generated data ends here */ 1004s # Error: 1005s ok 18 __main__.TestMkenums.test_since 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpdip29h_a 1005s # rspfile: False 1005s # /tmp/tmpdip29h_a/tmp2om8cdit.h: 1005s # typedef enum { /*< since=1.0 >*/ 1005s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1005s # } QmiWmsMessageProtocol; 1005s # 1005s # /tmp/tmpdip29h_a/tmp7eh7rg2o.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdip29h_a/tmp7eh7rg2o.template', '/tmp/tmpdip29h_a/tmp2om8cdit.h'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpdip29h_a/tmp2om8cdit.h 1005s # basename: tmp2om8cdit.h 1005s # enumeration-production 1005s # EnumName: QmiWmsMessageProtocol 1005s # enum_name: qmi_wms_message_protocol 1005s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1005s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1005s # ENUMPREFIX: QMI 1005s # enumsince: 1.0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: QmiWmsMessageProtocol 1005s # enum_name: qmi_wms_message_protocol 1005s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1005s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1005s # ENUMPREFIX: QMI 1005s # enumsince: 1.0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1005s # valuenick: cdma 1005s # valuenum: 0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: QmiWmsMessageProtocol 1005s # enum_name: qmi_wms_message_protocol 1005s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1005s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1005s # ENUMPREFIX: QMI 1005s # enumsince: 1.0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 19 __main__.TestMkenums.test_with_double_quotes 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpyo42196e 1005s # rspfile: False 1005s # /tmp/tmpyo42196e/tmpgiq4u4bm.h: 1005s # typedef enum { 1005s # FOO_VALUE /*< nick="eek, a comma" >*/ 1005s # } Foo; 1005s # 1005s # /tmp/tmpyo42196e/tmpfpbvosv6.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyo42196e/tmpfpbvosv6.template', '/tmp/tmpyo42196e/tmpgiq4u4bm.h'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpyo42196e/tmpgiq4u4bm.h 1005s # basename: tmpgiq4u4bm.h 1005s # enumeration-production 1005s # EnumName: Foo 1005s # enum_name: foo_ 1005s # ENUMNAME: FOO_ 1005s # ENUMSHORT: 1005s # ENUMPREFIX: FOO 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: Foo 1005s # enum_name: foo_ 1005s # ENUMNAME: FOO_ 1005s # ENUMSHORT: 1005s # ENUMPREFIX: FOO 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: FOO_VALUE 1005s # valuenick: eek, a comma 1005s # valuenum: 0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: Foo 1005s # enum_name: foo_ 1005s # ENUMNAME: FOO_ 1005s # ENUMSHORT: 1005s # ENUMPREFIX: FOO 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 20 __main__.TestRspMkenums.test_available_in 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpcnhr64gb 1005s # rspfile: True 1005s # /tmp/tmpcnhr64gb/tmp2t90cdoa.h: 1005s # typedef enum { 1005s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1005s # } GDBusServerFlags; 1005s # 1005s # /tmp/tmpcnhr64gb/tmpc7i9u53z.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpcnhr64gb/tmpc7i9u53z.template /tmp/tmpcnhr64gb/tmp2t90cdoa.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcnhr64gb/tmpu12g6ni6'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpcnhr64gb/tmp2t90cdoa.h 1005s # basename: tmp2t90cdoa.h 1005s # enumeration-production 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-header 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-production 1005s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1005s # valuenick: user 1005s # valuenum: 4 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-tail 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 21 __main__.TestRspMkenums.test_comma_in_enum_value 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpwjx49yq1 1005s # rspfile: True 1005s # /tmp/tmpwjx49yq1/tmpupzuspu4.h: 1005s # typedef enum { 1005s # ENUM_VALUE_WITH_COMMA = ',', 1005s # } TestCommaEnum; 1005s # 1005s # /tmp/tmpwjx49yq1/tmpvc1kgsgo.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpwjx49yq1/tmpvc1kgsgo.template /tmp/tmpwjx49yq1/tmpupzuspu4.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwjx49yq1/tmp7osf58tb'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpwjx49yq1/tmpupzuspu4.h 1005s # basename: tmpupzuspu4.h 1005s # enumeration-production 1005s # EnumName: TestCommaEnum 1005s # enum_name: test_comma_enum 1005s # ENUMNAME: TEST_COMMA_ENUM 1005s # ENUMSHORT: COMMA_ENUM 1005s # ENUMPREFIX: TEST 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: TestCommaEnum 1005s # enum_name: test_comma_enum 1005s # ENUMNAME: TEST_COMMA_ENUM 1005s # ENUMSHORT: COMMA_ENUM 1005s # ENUMPREFIX: TEST 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: ENUM_VALUE_WITH_COMMA 1005s # valuenick: comma 1005s # valuenum: 44 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: TestCommaEnum 1005s # enum_name: test_comma_enum 1005s # ENUMNAME: TEST_COMMA_ENUM 1005s # ENUMSHORT: COMMA_ENUM 1005s # ENUMPREFIX: TEST 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 22 __main__.TestRspMkenums.test_deprecated_in 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmp32d5fm94 1005s # rspfile: True 1005s # /tmp/tmp32d5fm94/tmp0f5m24zh.h: 1005s # typedef enum { 1005s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1005s # } GDBusServerFlags; 1005s # 1005s # /tmp/tmp32d5fm94/tmplv6xkm5e.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmp32d5fm94/tmplv6xkm5e.template /tmp/tmp32d5fm94/tmp0f5m24zh.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp32d5fm94/tmp5arsecfk'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmp32d5fm94/tmp0f5m24zh.h 1005s # basename: tmp0f5m24zh.h 1005s # enumeration-production 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-header 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-production 1005s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1005s # valuenick: user 1005s # valuenum: 4 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-tail 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 23 __main__.TestRspMkenums.test_deprecated_in_for 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmp3j52xn71 1005s # rspfile: True 1005s # /tmp/tmp3j52xn71/tmpwhc0zxro.h: 1005s # typedef enum { 1005s # 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) 1005s # } GDBusServerFlags; 1005s # 1005s # /tmp/tmp3j52xn71/tmpxnwh0khl.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmp3j52xn71/tmpxnwh0khl.template /tmp/tmp3j52xn71/tmpwhc0zxro.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3j52xn71/tmpqno8j8ih'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmp3j52xn71/tmpwhc0zxro.h 1005s # basename: tmpwhc0zxro.h 1005s # enumeration-production 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-header 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-production 1005s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1005s # valuenick: user 1005s # valuenum: 4 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # value-tail 1005s # EnumName: GDBusServerFlags 1005s # enum_name: g_dbus_server_flags 1005s # ENUMNAME: G_DBUS_SERVER_FLAGS 1005s # ENUMSHORT: DBUS_SERVER_FLAGS 1005s # ENUMPREFIX: G 1005s # enumsince: 1005s # type: flags 1005s # Type: Flags 1005s # TYPE: FLAGS 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 24 __main__.TestRspMkenums.test_empty_header 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpkggp7agg 1005s # rspfile: True 1005s # /tmp/tmpkggp7agg/tmp11lmwkpz.h: 1005s # /tmp/tmpkggp7agg/tmp3w42foel.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpkggp7agg/tmp3w42foel.template /tmp/tmpkggp7agg/tmp11lmwkpz.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkggp7agg/tmpjp077d_d'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 25 __main__.TestRspMkenums.test_empty_template 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpki2e8hlp 1005s # rspfile: True 1005s # /tmp/tmpki2e8hlp/tmpxsrnho5a.template: 1005s # Response file contains: --template /tmp/tmpki2e8hlp/tmpxsrnho5a.template 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpki2e8hlp/tmpln69fjrd'] 1005s # Return code: 0 1005s # Output: 1005s # /* 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. */ 1005s # 1005s # 1005s # /* Generated data ends here */ 1005s # Error: 1005s ok 26 __main__.TestRspMkenums.test_enum_name 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpccmadgh9 1005s # rspfile: True 1005s # /tmp/tmpccmadgh9/tmpqx5w9p5a.h: 1005s # typedef enum _SomeEnumIdentifier { 1005s # ENUM_VALUE 1005s # } SomeEnumIdentifier; 1005s # 1005s # /tmp/tmpccmadgh9/tmp7y9rt80l.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpccmadgh9/tmp7y9rt80l.template /tmp/tmpccmadgh9/tmpqx5w9p5a.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpccmadgh9/tmpy9qv6ca3'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpccmadgh9/tmpqx5w9p5a.h 1005s # basename: tmpqx5w9p5a.h 1005s # enumeration-production 1005s # EnumName: SomeEnumIdentifier 1005s # enum_name: some_enum_identifier 1005s # ENUMNAME: SOME_ENUM_IDENTIFIER 1005s # ENUMSHORT: ENUM_IDENTIFIER 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: SomeEnumIdentifier 1005s # enum_name: some_enum_identifier 1005s # ENUMNAME: SOME_ENUM_IDENTIFIER 1005s # ENUMSHORT: ENUM_IDENTIFIER 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: ENUM_VALUE 1005s # valuenick: value 1005s # valuenum: 0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: SomeEnumIdentifier 1005s # enum_name: some_enum_identifier 1005s # ENUMNAME: SOME_ENUM_IDENTIFIER 1005s # ENUMSHORT: ENUM_IDENTIFIER 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 27 __main__.TestRspMkenums.test_enum_private_public 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpsvokmo53 1005s # rspfile: True 1005s # /tmp/tmpsvokmo53/tmpxvtdxf1m.h: 1005s # typedef enum { 1005s # ENUM_VALUE_PUBLIC1, 1005s # /*< private >*/ 1005s # ENUM_VALUE_PRIVATE, 1005s # } SomeEnumA 1005s # 1005s # /tmp/tmpsvokmo53/tmp1jmg2a0x.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpsvokmo53/tmp1jmg2a0x.template /tmp/tmpsvokmo53/tmpxvtdxf1m.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsvokmo53/tmp174h19df'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpsvokmo53/tmpxvtdxf1m.h 1005s # basename: tmpxvtdxf1m.h 1005s # enumeration-production 1005s # EnumName: SomeEnumA 1005s # enum_name: some_enum_a 1005s # ENUMNAME: SOME_ENUM_A 1005s # ENUMSHORT: ENUM_A 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: SomeEnumA 1005s # enum_name: some_enum_a 1005s # ENUMNAME: SOME_ENUM_A 1005s # ENUMSHORT: ENUM_A 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: ENUM_VALUE_PUBLIC1 1005s # valuenick: public1 1005s # valuenum: 0 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: SomeEnumA 1005s # enum_name: some_enum_a 1005s # ENUMNAME: SOME_ENUM_A 1005s # ENUMSHORT: ENUM_A 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s # 1005s # /tmp/tmpsvokmo53/tmpphwvcie3.h: 1005s # typedef enum { 1005s # /*< private >*/ 1005s # ENUM_VALUE_PRIVATE, 1005s # /*< public >*/ 1005s # ENUM_VALUE_PUBLIC2, 1005s # } SomeEnumB; 1005s # 1005s # /tmp/tmpsvokmo53/tmp619437bc.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpsvokmo53/tmp619437bc.template /tmp/tmpsvokmo53/tmpphwvcie3.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsvokmo53/tmp3wotlip8'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpsvokmo53/tmpphwvcie3.h 1005s # basename: tmpphwvcie3.h 1005s # enumeration-production 1005s # EnumName: SomeEnumB 1005s # enum_name: some_enum_b 1005s # ENUMNAME: SOME_ENUM_B 1005s # ENUMSHORT: ENUM_B 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: SomeEnumB 1005s # enum_name: some_enum_b 1005s # ENUMNAME: SOME_ENUM_B 1005s # ENUMSHORT: ENUM_B 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: ENUM_VALUE_PUBLIC2 1005s # valuenick: public2 1005s # valuenum: 1 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: SomeEnumB 1005s # enum_name: some_enum_b 1005s # ENUMNAME: SOME_ENUM_B 1005s # ENUMSHORT: ENUM_B 1005s # ENUMPREFIX: SOME 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 28 __main__.TestRspMkenums.test_enum_symbolic_expression 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpvs39ptf6 1005s # rspfile: True 1005s # /tmp/tmpvs39ptf6/tmp110mu9nr.h: 1005s # typedef enum { 1005s # /*< private >*/ 1005s # ENUM_VALUE_PRIVATE = 5, 1005s # /*< public >*/ 1005s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1005s # } TestSymbolicEnum; 1005s # 1005s # /tmp/tmpvs39ptf6/tmpa9yh2skp.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN file-production ***/ 1005s # file-production 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-production ***/ 1005s # 1005s # /*** BEGIN enumeration-production ***/ 1005s # enumeration-production 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END enumeration-production ***/ 1005s # 1005s # /*** BEGIN value-header ***/ 1005s # value-header 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-header ***/ 1005s # 1005s # /*** BEGIN value-production ***/ 1005s # value-production 1005s # VALUENAME: @VALUENAME@ 1005s # valuenick: @valuenick@ 1005s # valuenum: @valuenum@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-production ***/ 1005s # 1005s # /*** BEGIN value-tail ***/ 1005s # value-tail 1005s # EnumName: @EnumName@ 1005s # enum_name: @enum_name@ 1005s # ENUMNAME: @ENUMNAME@ 1005s # ENUMSHORT: @ENUMSHORT@ 1005s # ENUMPREFIX: @ENUMPREFIX@ 1005s # enumsince: @enumsince@ 1005s # type: @type@ 1005s # Type: @Type@ 1005s # TYPE: @TYPE@ 1005s # /*** END value-tail ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # /*** END file-tail ***/ 1005s # 1005s # Response file contains: --template /tmp/tmpvs39ptf6/tmpa9yh2skp.template /tmp/tmpvs39ptf6/tmp110mu9nr.h 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvs39ptf6/tmpq_z5yhrn'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # file-production 1005s # filename: /tmp/tmpvs39ptf6/tmp110mu9nr.h 1005s # basename: tmp110mu9nr.h 1005s # enumeration-production 1005s # EnumName: TestSymbolicEnum 1005s # enum_name: test_symbolic_enum 1005s # ENUMNAME: TEST_SYMBOLIC_ENUM 1005s # ENUMSHORT: SYMBOLIC_ENUM 1005s # ENUMPREFIX: TEST 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-header 1005s # EnumName: TestSymbolicEnum 1005s # enum_name: test_symbolic_enum 1005s # ENUMNAME: TEST_SYMBOLIC_ENUM 1005s # ENUMSHORT: SYMBOLIC_ENUM 1005s # ENUMPREFIX: TEST 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-production 1005s # VALUENAME: ENUM_VALUE_PUBLIC 1005s # valuenick: public 1005s # valuenum: 7 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # value-tail 1005s # EnumName: TestSymbolicEnum 1005s # enum_name: test_symbolic_enum 1005s # ENUMNAME: TEST_SYMBOLIC_ENUM 1005s # ENUMSHORT: SYMBOLIC_ENUM 1005s # ENUMPREFIX: TEST 1005s # enumsince: 1005s # type: enum 1005s # Type: Enum 1005s # TYPE: ENUM 1005s # file-tail 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s ok 29 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1005s # glib-mkenums: /usr/bin/glib-mkenums 1005s # tmpdir: /tmp/tmpxrfcqz9g 1005s # rspfile: True 1005s # /tmp/tmpxrfcqz9g/tmp08qx6wax.template: 1005s # /*** BEGIN file-header ***/ 1005s # file-header 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-header ***/ 1005s # 1005s # /*** BEGIN comment ***/ 1005s # comment 1005s # comment: @comment@ 1005s # /*** END comment ***/ 1005s # 1005s # /*** BEGIN file-tail ***/ 1005s # file-tail 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # /*** END file-tail ***/ 1005s # Response file contains: --template /tmp/tmpxrfcqz9g/tmp08qx6wax.template 1005s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxrfcqz9g/tmp_wrci4yh'] 1005s # Return code: 0 1005s # Output: 1005s # comment 1005s # 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. 1005s # 1005s # 1005s # file-header 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # file-tail 1005s # filename: @filename@ 1005s # basename: @basename@ 1005s # 1005s # comment 1005s # comment: Generated data ends here 1005s # Error: 1005s # WARNING: @filename@ used in file-header section. 1005s # WARNING: @basename@ used in file-header section. 1005s # WARNING: @filename@ used in file-tail section. 1005s # WARNING: @basename@ used in file-tail section. 1007s ok 30 __main__.TestRspMkenums.test_flag_enum_annotation 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmpfaor9r6e 1007s # rspfile: True 1007s # /tmp/tmpfaor9r6e/tmp8ih_006g.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } G_GNUC_FLAG_ENUM SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpimt5zktp.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpimt5zktp.template /tmp/tmpfaor9r6e/tmp8ih_006g.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpd1jws2bg'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmp8ih_006g.h 1007s # basename: tmp8ih_006g.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpfoibo7hd.h: 1007s # typedef enum G_GNUC_FLAG_ENUM { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmp6fcloelr.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmp6fcloelr.template /tmp/tmpfaor9r6e/tmpfoibo7hd.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpnv3gmbt0'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpfoibo7hd.h 1007s # basename: tmpfoibo7hd.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpkzqzxv69.h: 1007s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpb7g3uazp.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpb7g3uazp.template /tmp/tmpfaor9r6e/tmpkzqzxv69.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmptsj6jylm'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpkzqzxv69.h 1007s # basename: tmpkzqzxv69.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmprrl6fya7.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } __attribute__((flag_enum)) SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpwtyl1ap0.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpwtyl1ap0.template /tmp/tmpfaor9r6e/tmprrl6fya7.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpholzzwmo'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmprrl6fya7.h 1007s # basename: tmprrl6fya7.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpt25ws1iv.h: 1007s # typedef enum __attribute__((flag_enum)) { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpvbc1ogv5.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpvbc1ogv5.template /tmp/tmpfaor9r6e/tmpt25ws1iv.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmp8wb_4f2v'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpt25ws1iv.h 1007s # basename: tmpt25ws1iv.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmp85gy3115.h: 1007s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmppvmpa9u2.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmppvmpa9u2.template /tmp/tmpfaor9r6e/tmp85gy3115.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpshzsol55'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmp85gy3115.h 1007s # basename: tmp85gy3115.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmp1v_h7hbj.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } __attribute__((__flag_enum__)) SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpe76vr_im.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpe76vr_im.template /tmp/tmpfaor9r6e/tmp1v_h7hbj.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpohznhfu1'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmp1v_h7hbj.h 1007s # basename: tmp1v_h7hbj.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpmpz8t8nt.h: 1007s # typedef enum __attribute__((__flag_enum__)) { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpstffjasp.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpstffjasp.template /tmp/tmpfaor9r6e/tmpmpz8t8nt.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpwn5iowby'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpmpz8t8nt.h 1007s # basename: tmpmpz8t8nt.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpil9k5gso.h: 1007s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpiomfkn8u.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpiomfkn8u.template /tmp/tmpfaor9r6e/tmpil9k5gso.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmplibn6x0s'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpil9k5gso.h 1007s # basename: tmpil9k5gso.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpylpqt8y_.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpsegqd35y.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpsegqd35y.template /tmp/tmpfaor9r6e/tmpylpqt8y_.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmp5ka6puzz'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpylpqt8y_.h 1007s # basename: tmpylpqt8y_.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmppviwf6v9.h: 1007s # typedef enum __attribute__((flag_enum,deprecated)) { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpb7qcxa4i.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpb7qcxa4i.template /tmp/tmpfaor9r6e/tmppviwf6v9.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpq8saq6f4'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmppviwf6v9.h 1007s # basename: tmppviwf6v9.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmptmsubqk2.h: 1007s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpzjq1n8to.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpzjq1n8to.template /tmp/tmpfaor9r6e/tmptmsubqk2.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpo5eh9ifz'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmptmsubqk2.h 1007s # basename: tmptmsubqk2.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpj5gowbsc.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpp6lqp45k.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpp6lqp45k.template /tmp/tmpfaor9r6e/tmpj5gowbsc.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpuax3uzns'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpj5gowbsc.h 1007s # basename: tmpj5gowbsc.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpnm36x_ua.h: 1007s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmp54pml6db.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmp54pml6db.template /tmp/tmpfaor9r6e/tmpnm36x_ua.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpjxzekfob'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpnm36x_ua.h 1007s # basename: tmpnm36x_ua.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpqmrz8fci.h: 1007s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpwpmrwrfp.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpwpmrwrfp.template /tmp/tmpfaor9r6e/tmpqmrz8fci.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmph1bxtnpo'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpqmrz8fci.h 1007s # basename: tmpqmrz8fci.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpoc3nq5xk.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } [[gnu::flag_enum]] SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmplp1nl25v.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmplp1nl25v.template /tmp/tmpfaor9r6e/tmpoc3nq5xk.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpq9afqxbl'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpoc3nq5xk.h 1007s # basename: tmpoc3nq5xk.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmppirnx3vd.h: 1007s # typedef enum [[gnu::flag_enum]] { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpkg7oqmc2.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpkg7oqmc2.template /tmp/tmpfaor9r6e/tmppirnx3vd.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmp6byflz97'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmppirnx3vd.h 1007s # basename: tmppirnx3vd.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpwy5usqsz.h: 1007s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpp0fi4e50.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpp0fi4e50.template /tmp/tmpfaor9r6e/tmpwy5usqsz.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmph7j2tr_9'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpwy5usqsz.h 1007s # basename: tmpwy5usqsz.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmp9euqf1kk.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } [[clang::flag_enum]] SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmp08kd5yje.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmp08kd5yje.template /tmp/tmpfaor9r6e/tmp9euqf1kk.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmphm385ryf'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmp9euqf1kk.h 1007s # basename: tmp9euqf1kk.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmppn0omhkz.h: 1007s # typedef enum [[clang::flag_enum]] { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpdno7sdrs.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpdno7sdrs.template /tmp/tmpfaor9r6e/tmppn0omhkz.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpn3_9y6bw'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmppn0omhkz.h 1007s # basename: tmppn0omhkz.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpsz7miw5x.h: 1007s # typedef enum [[clang::flag_enum]] _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpclf6ron1.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpclf6ron1.template /tmp/tmpfaor9r6e/tmpsz7miw5x.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmp73_35795'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpsz7miw5x.h 1007s # basename: tmpsz7miw5x.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmp2zukpopd.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmp4w2bo95r.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmp4w2bo95r.template /tmp/tmpfaor9r6e/tmp2zukpopd.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpb8hjmx71'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmp2zukpopd.h 1007s # basename: tmp2zukpopd.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpgwsrhsyq.h: 1007s # typedef enum [[nodiscard,gnu::flag_enum]] { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmp3enuvn9m.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmp3enuvn9m.template /tmp/tmpfaor9r6e/tmpgwsrhsyq.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpst8ow70s'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpgwsrhsyq.h 1007s # basename: tmpgwsrhsyq.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpxdcnlvin.h: 1007s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmptlkvbuhl.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmptlkvbuhl.template /tmp/tmpfaor9r6e/tmpxdcnlvin.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpfx9vuy1e'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpxdcnlvin.h 1007s # basename: tmpxdcnlvin.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmp0gj2gifq.h: 1007s # typedef enum { 1007s # SOME_FLAGS_ONE = (1 << 1), 1007s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpxbcjr_op.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpxbcjr_op.template /tmp/tmpfaor9r6e/tmp0gj2gifq.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpvpqv73zo'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmp0gj2gifq.h 1007s # basename: tmp0gj2gifq.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_ONE 1007s # valuenick: one 1007s # valuenum: 2 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmpt17pdvcz.h: 1007s # typedef enum [[clang::flag_enum,nodiscard]] { 1007s # SOME_FLAGS_TWO = (1 << 2), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpvbbt8w2l.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpvbbt8w2l.template /tmp/tmpfaor9r6e/tmpt17pdvcz.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmpt3nuulbz'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmpt17pdvcz.h 1007s # basename: tmpt17pdvcz.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_TWO 1007s # valuenick: two 1007s # valuenum: 4 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # 1007s # /tmp/tmpfaor9r6e/tmplqxw0wtm.h: 1007s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1007s # SOME_FLAGS_THREE = (1 << 3), 1007s # } SomeFlags; 1007s # 1007s # /tmp/tmpfaor9r6e/tmpyx28r5pn.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpfaor9r6e/tmpyx28r5pn.template /tmp/tmpfaor9r6e/tmplqxw0wtm.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfaor9r6e/tmphkbehsf6'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpfaor9r6e/tmplqxw0wtm.h 1007s # basename: tmplqxw0wtm.h 1007s # enumeration-production 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-header 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-production 1007s # VALUENAME: SOME_FLAGS_THREE 1007s # valuenick: three 1007s # valuenum: 8 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # value-tail 1007s # EnumName: SomeFlags 1007s # enum_name: some_flags 1007s # ENUMNAME: SOME_FLAGS 1007s # ENUMSHORT: FLAGS 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: flags 1007s # Type: Flags 1007s # TYPE: FLAGS 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s ok 31 __main__.TestRspMkenums.test_help 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmpy94pv7gu 1007s # rspfile: True 1007s # Response file contains: --help 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy94pv7gu/tmpef4mymlm'] 1007s # Return code: 0 1007s # Output: 1007s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1007s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1007s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1007s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1007s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1007s # [--output OUTPUT] [--version] 1007s # [args ...] 1007s # 1007s # positional arguments: 1007s # args One or more input files, or a single argument 1007s # @rspfile_path pointing to a file that contains the 1007s # actual arguments 1007s # 1007s # options: 1007s # -h, --help show this help message and exit 1007s # --identifier-prefix IDPREFIX 1007s # Identifier prefix 1007s # --symbol-prefix SYMPREFIX 1007s # Symbol prefix 1007s # --fhead FHEAD Output file header 1007s # --ftail FTAIL Output file footer 1007s # --fprod FPROD Put out TEXT every time a new input file is being 1007s # processed. 1007s # --eprod EPROD Per enum text, produced prior to value iterations 1007s # --vhead VHEAD Value header, produced before iterating over enum 1007s # values 1007s # --vprod VPROD Value text, produced for each enum value. 1007s # --vtail VTAIL Value tail, produced after iterating over enum values 1007s # --comments COMMENT_TMPL 1007s # Comment structure 1007s # --template TEMPLATE Template file 1007s # --output OUTPUT 1007s # --version, -v Print version information 1007s # 1007s # Production text substitutions: 1007s # @EnumName@ PrefixTheXEnum 1007s # @enum_name@ prefix_the_xenum 1007s # @ENUMNAME@ PREFIX_THE_XENUM 1007s # @ENUMSHORT@ THE_XENUM 1007s # @ENUMPREFIX@ PREFIX 1007s # @enumsince@ the user-provided since value given 1007s # @VALUENAME@ PREFIX_THE_XVALUE 1007s # @valuenick@ the-xvalue 1007s # @valuenum@ the integer value (limited support, Since: 2.26) 1007s # @type@ either enum or flags 1007s # @Type@ either Enum or Flags 1007s # @TYPE@ either ENUM or FLAGS 1007s # @filename@ name of current input file 1007s # @basename@ base name of the current input file (Since: 2.22) 1007s # Error: 1007s ok 32 __main__.TestRspMkenums.test_no_args 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmpnokc6l3u 1007s # rspfile: True 1007s # Response file contains: 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnokc6l3u/tmp191nfifr'] 1007s # Return code: 0 1007s # Output: 1007s # /* 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. */ 1007s # 1007s # 1007s # /* Generated data ends here */ 1007s # Error: 1007s ok 33 __main__.TestRspMkenums.test_no_headers 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmpkgahaj32 1007s # rspfile: True 1007s # /tmp/tmpkgahaj32/tmp53cl1tjv.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpkgahaj32/tmp53cl1tjv.template 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkgahaj32/tmp8ue2o_av'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s ok 34 __main__.TestRspMkenums.test_no_nick 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmpxbi7nk2c 1007s # rspfile: True 1007s # /tmp/tmpxbi7nk2c/tmpbju4b5eh.h: 1007s # typedef enum { 1007s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1007s # } GeglSamplerType; 1007s # 1007s # /tmp/tmpxbi7nk2c/tmpn1rtbj8y.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpxbi7nk2c/tmpn1rtbj8y.template /tmp/tmpxbi7nk2c/tmpbju4b5eh.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxbi7nk2c/tmpai86yq_0'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpxbi7nk2c/tmpbju4b5eh.h 1007s # basename: tmpbju4b5eh.h 1007s # enumeration-production 1007s # EnumName: GeglSamplerType 1007s # enum_name: gegl_sampler_type 1007s # ENUMNAME: GEGL_SAMPLER_TYPE 1007s # ENUMSHORT: SAMPLER_TYPE 1007s # ENUMPREFIX: GEGL 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-header 1007s # EnumName: GeglSamplerType 1007s # enum_name: gegl_sampler_type 1007s # ENUMNAME: GEGL_SAMPLER_TYPE 1007s # ENUMSHORT: SAMPLER_TYPE 1007s # ENUMPREFIX: GEGL 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-production 1007s # VALUENAME: GEGL_SAMPLER_NEAREST 1007s # valuenick: nearest 1007s # valuenum: 0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-tail 1007s # EnumName: GeglSamplerType 1007s # enum_name: gegl_sampler_type 1007s # ENUMNAME: GEGL_SAMPLER_TYPE 1007s # ENUMSHORT: SAMPLER_TYPE 1007s # ENUMPREFIX: GEGL 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s ok 35 __main__.TestRspMkenums.test_non_utf8_encoding 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmp3zbp51p2 1007s # rspfile: True 1007s # /tmp/tmp3zbp51p2/tmpeyqpn7px.h: 1007s # /* Copyright © La Peña */ 1007s # typedef enum { 1007s # ENUM_VALUE 1007s # } SomeEnumIdentifier; 1007s # 1007s # /tmp/tmp3zbp51p2/tmpd42tphpd.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmp3zbp51p2/tmpd42tphpd.template /tmp/tmp3zbp51p2/tmpeyqpn7px.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3zbp51p2/tmpmc5ri14z'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmp3zbp51p2/tmpeyqpn7px.h 1007s # basename: tmpeyqpn7px.h 1007s # enumeration-production 1007s # EnumName: SomeEnumIdentifier 1007s # enum_name: some_enum_identifier 1007s # ENUMNAME: SOME_ENUM_IDENTIFIER 1007s # ENUMSHORT: ENUM_IDENTIFIER 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-header 1007s # EnumName: SomeEnumIdentifier 1007s # enum_name: some_enum_identifier 1007s # ENUMNAME: SOME_ENUM_IDENTIFIER 1007s # ENUMSHORT: ENUM_IDENTIFIER 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-production 1007s # VALUENAME: ENUM_VALUE 1007s # valuenick: value 1007s # valuenum: 0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-tail 1007s # EnumName: SomeEnumIdentifier 1007s # enum_name: some_enum_identifier 1007s # ENUMNAME: SOME_ENUM_IDENTIFIER 1007s # ENUMSHORT: ENUM_IDENTIFIER 1007s # ENUMPREFIX: SOME 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1007s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1007s ok 36 __main__.TestRspMkenums.test_reproducible 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmprhnwte2o 1007s # rspfile: True 1007s # /tmp/tmprhnwte2o/tmpbln6igk3.template: template 1007s # Response file contains: --template /tmp/tmprhnwte2o/tmpbln6igk3.template /tmp/tmprhnwte2o/tmpbwmnsxyo1.h /tmp/tmprhnwte2o/tmp1wply5222.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprhnwte2o/tmp_jgv_nbz'] 1007s # Return code: 0 1007s # Output: 1007s # /* 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. */ 1007s # 1007s # 1007s # /* Generated data ends here */ 1007s # Error: 1007s # 1007s # /tmp/tmprhnwte2o/tmpowtf7pm0.template: template 1007s # Response file contains: --template /tmp/tmprhnwte2o/tmpowtf7pm0.template /tmp/tmprhnwte2o/tmp1wply5222.h /tmp/tmprhnwte2o/tmpbwmnsxyo1.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprhnwte2o/tmp8qxt52u3'] 1007s # Return code: 0 1007s # Output: 1007s # /* 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. */ 1007s # 1007s # 1007s # /* Generated data ends here */ 1007s # Error: 1007s ok 37 __main__.TestRspMkenums.test_since 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmp9gjjwngk 1007s # rspfile: True 1007s # /tmp/tmp9gjjwngk/tmp94qwjyeo.h: 1007s # typedef enum { /*< since=1.0 >*/ 1007s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1007s # } QmiWmsMessageProtocol; 1007s # 1007s # /tmp/tmp9gjjwngk/tmpfl1eqsb3.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmp9gjjwngk/tmpfl1eqsb3.template /tmp/tmp9gjjwngk/tmp94qwjyeo.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9gjjwngk/tmpbpq_ogwx'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmp9gjjwngk/tmp94qwjyeo.h 1007s # basename: tmp94qwjyeo.h 1007s # enumeration-production 1007s # EnumName: QmiWmsMessageProtocol 1007s # enum_name: qmi_wms_message_protocol 1007s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1007s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1007s # ENUMPREFIX: QMI 1007s # enumsince: 1.0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-header 1007s # EnumName: QmiWmsMessageProtocol 1007s # enum_name: qmi_wms_message_protocol 1007s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1007s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1007s # ENUMPREFIX: QMI 1007s # enumsince: 1.0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-production 1007s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1007s # valuenick: cdma 1007s # valuenum: 0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-tail 1007s # EnumName: QmiWmsMessageProtocol 1007s # enum_name: qmi_wms_message_protocol 1007s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1007s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1007s # ENUMPREFIX: QMI 1007s # enumsince: 1.0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s ok 38 __main__.TestRspMkenums.test_with_double_quotes 1007s # glib-mkenums: /usr/bin/glib-mkenums 1007s # tmpdir: /tmp/tmpolakt7p4 1007s # rspfile: True 1007s # /tmp/tmpolakt7p4/tmpy8lpdgjq.h: 1007s # typedef enum { 1007s # FOO_VALUE /*< nick="eek, a comma" >*/ 1007s # } Foo; 1007s # 1007s # /tmp/tmpolakt7p4/tmpti_cvv5_.template: 1007s # /*** BEGIN file-header ***/ 1007s # file-header 1007s # /*** END file-header ***/ 1007s # 1007s # /*** BEGIN file-production ***/ 1007s # file-production 1007s # filename: @filename@ 1007s # basename: @basename@ 1007s # /*** END file-production ***/ 1007s # 1007s # /*** BEGIN enumeration-production ***/ 1007s # enumeration-production 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END enumeration-production ***/ 1007s # 1007s # /*** BEGIN value-header ***/ 1007s # value-header 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-header ***/ 1007s # 1007s # /*** BEGIN value-production ***/ 1007s # value-production 1007s # VALUENAME: @VALUENAME@ 1007s # valuenick: @valuenick@ 1007s # valuenum: @valuenum@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-production ***/ 1007s # 1007s # /*** BEGIN value-tail ***/ 1007s # value-tail 1007s # EnumName: @EnumName@ 1007s # enum_name: @enum_name@ 1007s # ENUMNAME: @ENUMNAME@ 1007s # ENUMSHORT: @ENUMSHORT@ 1007s # ENUMPREFIX: @ENUMPREFIX@ 1007s # enumsince: @enumsince@ 1007s # type: @type@ 1007s # Type: @Type@ 1007s # TYPE: @TYPE@ 1007s # /*** END value-tail ***/ 1007s # 1007s # /*** BEGIN comment ***/ 1007s # comment 1007s # comment: @comment@ 1007s # /*** END comment ***/ 1007s # 1007s # /*** BEGIN file-tail ***/ 1007s # file-tail 1007s # /*** END file-tail ***/ 1007s # 1007s # Response file contains: --template /tmp/tmpolakt7p4/tmpti_cvv5_.template /tmp/tmpolakt7p4/tmpy8lpdgjq.h 1007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpolakt7p4/tmp5h6hld4m'] 1007s # Return code: 0 1007s # Output: 1007s # comment 1007s # 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. 1007s # 1007s # 1007s # file-header 1007s # file-production 1007s # filename: /tmp/tmpolakt7p4/tmpy8lpdgjq.h 1007s # basename: tmpy8lpdgjq.h 1007s # enumeration-production 1007s # EnumName: Foo 1007s # enum_name: foo_ 1007s # ENUMNAME: FOO_ 1007s # ENUMSHORT: 1007s # ENUMPREFIX: FOO 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-header 1007s # EnumName: Foo 1007s # enum_name: foo_ 1007s # ENUMNAME: FOO_ 1007s # ENUMSHORT: 1007s # ENUMPREFIX: FOO 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-production 1007s # VALUENAME: FOO_VALUE 1007s # valuenick: eek, a comma 1007s # valuenum: 0 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # value-tail 1007s # EnumName: Foo 1007s # enum_name: foo_ 1007s # ENUMNAME: FOO_ 1007s # ENUMSHORT: 1007s # ENUMPREFIX: FOO 1007s # enumsince: 1007s # type: enum 1007s # Type: Enum 1007s # TYPE: ENUM 1007s # file-tail 1007s # 1007s # comment 1007s # comment: Generated data ends here 1007s # Error: 1007s 1..38 1007s ok - glib/mkenums.py.test 1007s TAP version 14 1007s # random seed: R02S1bd48ac710e0b131fcbd39d1a46c6aef 1007s 1..5 1007s # Start of buffered-output-stream tests 1007s ok 1 /buffered-output-stream/write 1007s ok 2 /buffered-output-stream/grow 1007s ok 3 /buffered-output-stream/seek 1007s ok 4 /buffered-output-stream/truncate 1007s # End of buffered-output-stream tests 1007s # Start of filter-output-stream tests 1007s ok 5 /filter-output-stream/close 1007s # End of filter-output-stream tests 1007s # Running test: glib/buffered-output-stream.test 1007s ok - glib/buffered-output-stream.test 1007s # Running test: glib/list.test 1007s TAP version 14 1007s # random seed: R02S40e71f5f9882943f90406bc4563d7b2f 1007s 1..20 1007s # Start of list tests 1007s ok 1 /list/sort 1007s ok 2 /list/sort-with-data 1007s ok 3 /list/insert-before-link 1007s ok 4 /list/insert-sorted 1007s ok 5 /list/insert-sorted-with-data 1007s ok 6 /list/reverse 1007s ok 7 /list/nth 1007s ok 8 /list/concat 1007s ok 9 /list/remove 1007s ok 10 /list/remove-all 1007s ok 11 /list/first-last 1007s ok 12 /list/insert 1007s ok 13 /list/free-full 1007s ok 14 /list/copy 1007s ok 15 /list/copy-deep 1007s ok 16 /list/delete-link 1007s ok 17 /list/prepend 1007s ok 18 /list/position 1007s ok 19 /list/double-free 1007s # Start of sort tests 1007s ok 20 /list/sort/stable 1007s # End of sort tests 1007s # End of list tests 1007s ok - glib/list.test 1007s # Running test: glib/utils-isolated.test 1007s TAP version 14 1007s # random seed: R02S0d57902b208602d8fb8a748d7ffe808e 1007s 1..11 1007s # Start of utils-isolated tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/tmp-dir/.dirs/runtime 1007s ok 1 /utils-isolated/tmp-dir 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/home-dir/.dirs/runtime 1007s ok 2 /utils-isolated/home-dir 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-cache-dir/.dirs/runtime 1007s ok 3 /utils-isolated/user-cache-dir 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-config-dirs/.dirs/runtime 1007s ok 4 /utils-isolated/system-config-dirs 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-config-dir/.dirs/runtime 1007s ok 5 /utils-isolated/user-config-dir 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/system-data-dirs/.dirs/runtime 1007s ok 6 /utils-isolated/system-data-dirs 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-data-dir/.dirs/runtime 1007s ok 7 /utils-isolated/user-data-dir 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-state-dir/.dirs/runtime 1007s ok 8 /utils-isolated/user-state-dir 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/user-runtime-dir/.dirs/runtime 1007s ok 9 /utils-isolated/user-runtime-dir 1007s # Start of cleanup tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1007s Unable to clean up temporary directory /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1007s Unable to clean up temporary directory /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1007s Unable to clean up temporary directory /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/handles-errors: Directory not empty 1007s ok 10 /utils-isolated/cleanup/handles-errors 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1007s Unable to clean up temporary directory /tmp/test_utils-isolated_1A68J3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1007s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1007s # End of cleanup tests 1007s # End of utils-isolated tests 1007s ok - glib/utils-isolated.test 1007s # Running test: glib/portal-support-flatpak-gsettings-only.test 1007s TAP version 14 1007s # random seed: R02Sf4a4ee9e6a2cb37b32c0366ed1181996 1007s 1..1 1007s # Start of portal-support tests 1007s # Start of flatpak tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/runtime 1007s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_GDN9J3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1007s ok 1 /portal-support/flatpak/gsettings 1007s # End of flatpak tests 1007s # End of portal-support tests 1007s ok - glib/portal-support-flatpak-gsettings-only.test 1007s # Running test: glib/cxx-14.test 1007s TAP version 14 1007s # random seed: R02Sfa2ef83b27a2cafb74351ff8d52a87f8 1007s 1..2 1007s # Start of gtask tests 1007s # 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. 1007s ok 1 /gtask/name 1007s # Start of name tests 1007s # 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. 1007s ok 2 /gtask/name/macro-wrapper 1007s # End of name tests 1007s # End of gtask tests 1007s TAP version 14 1007s # random seed: R02S252fcaee7e743e32b3e502bcd27b49f4 1007s 1..2 1007s # Start of gobject tests 1007s ok 1 /gobject/dynamic-type 1007s # Start of dynamic-type tests 1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1007s ok 2 /gobject/dynamic-type/query 1007s # End of dynamic-type tests 1007s # End of gobject tests 1007s TAP version 14 1007s # random seed: R02S544cf662e3af93132551f1adf5be078f 1007s 1..1 1007s # Start of gobject tests 1007s # Start of refcount tests 1007s # init 0x692bc90 1007s # 1007s # init 0x69323d8 1007s # 1007s ok - glib/cxx-14.test 1007s # Running test: glib/dynamictype.test 1007s ok - glib/dynamictype.test 1007s # Running test: glib/signals-refcount3.test 1009s # Executing: glib/signals-refcount3.test 1012s ok - glib/signals-refcount3.test 1012s # dispose 0x692bc90! 1012s # 1012s # dispose 0x69323d8! 1012s # 1012s ok 1 /gobject/refcount/signals 1012s # slow test /gobject/refcount/signals executed in 5.00 secs 1012s # End of refcount tests 1012s # End of gobject tests 1012s # Running test: glib/volumemonitor.test 1012s ok - glib/volumemonitor.test 1012s TAP version 14 1012s # random seed: R02S7e85c32dee5ef7faf250d8b02327cf77 1012s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1012s 1..3 1012s # Start of volumemonitor tests 1012s ok 1 /volumemonitor/connected_drives 1012s ok 2 /volumemonitor/volumes 1012s ok 3 /volumemonitor/mounts 1012s # End of volumemonitor tests 1012s # Running test: glib/converter.test 1012s ok - glib/converter.test 1012s TAP version 14 1012s # random seed: R02Sd949cd9422b146f5fe7b79fcfe6a829e 1012s 1..3 1012s # Start of converter tests 1012s ok 1 /converter/bytes 1012s ok 2 /converter/extra-bytes-at-end 1012s ok 3 /converter/gzip-os-property 1012s # End of converter tests 1012s # Running test: glib/hmac.test 1013s ok - glib/hmac.test 1013s TAP version 14 1013s # random seed: R02S021f10e302952dec51dca227e771dc8e 1013s 1..37 1013s # Start of hmac tests 1013s ok 1 /hmac/sha1-1 1013s ok 2 /hmac/sha1-2 1013s ok 3 /hmac/sha1-3 1013s ok 4 /hmac/sha1-4 1013s ok 5 /hmac/sha1-5 1013s ok 6 /hmac/sha1-6 1013s ok 7 /hmac/sha1-7 1013s ok 8 /hmac/sha256-1 1013s ok 9 /hmac/sha256-2 1013s ok 10 /hmac/sha256-3 1013s ok 11 /hmac/sha256-4 1013s ok 12 /hmac/sha256-5 1013s ok 13 /hmac/sha256-6 1013s ok 14 /hmac/sha384-1 1013s ok 15 /hmac/sha384-2 1013s # Running test: glib/search-utils.test 1013s ok - glib/search-utils.test 1013s # Running test: glib/unicode-normalize.test 1013s ok 16 /hmac/sha384-3 1013s ok 17 /hmac/sha384-4 1013s ok 18 /hmac/sha384-5 1013s ok 19 /hmac/sha384-6 1013s ok 20 /hmac/sha512-1 1013s ok 21 /hmac/sha512-2 1013s ok 22 /hmac/sha512-3 1013s ok 23 /hmac/sha512-4 1013s ok 24 /hmac/sha512-5 1013s ok 25 /hmac/sha512-6 1013s ok 26 /hmac/md5-1 1013s ok 27 /hmac/md5-2 1013s ok 28 /hmac/md5-3 1013s ok 29 /hmac/md5-4 1013s ok 30 /hmac/md5-5 1013s ok 31 /hmac/md5-6 1013s ok 32 /hmac/md5-7 1013s ok 33 /hmac/ref-unref 1013s ok 34 /hmac/copy 1013s ok 35 /hmac/for-data 1013s ok 36 /hmac/for-string 1013s ok 37 /hmac/for-bytes 1013s # End of hmac tests 1013s TAP version 14 1013s # random seed: R02S67ba80f1c9e214270484c57f7d158c97 1013s # GLib-DEBUG: Current user locale: C.UTF-8 1013s 1..6 1013s # Start of search tests 1013s # GLib-DEBUG: Started 1013s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1013s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1013s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1013s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1013s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1013s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1013s ok 1 /search/basic 1013s # GLib-DEBUG: Started 1013s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1013s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1013s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1013s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1013s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1013s ok 2 /search/composed 1013s # GLib-DEBUG: Started 1013s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1013s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1013s ok 3 /search/decomposed 1013s # GLib-DEBUG: Started 1013s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1013s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1013s ok 4 /search/turkish 1013s # GLib-DEBUG: Started 1013s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1013s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1013s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1013s ok 5 /search/c_locale_unicode 1013s # GLib-DEBUG: Started 1013s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1013s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1013s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1013s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1013s ok 6 /search/multi_words 1013s # End of search tests 1013s TAP version 14 1013s # random seed: R02Sb2cb1c96264fa4729a59828327c1555b 1013s 1..3 1013s # Start of unicode tests 1013s # Processing Part0 # Specific cases 1013s # Processing Part1 # Character by character test 1013s # Processing Part2 # Canonical Order Test 1013s # Processing Part3 # PRI #29 Test 1013s # Processing Part4 # Canonical closures (excluding Hangul) 1013s # Processing Part5 # Chained primary composites 1013s ok 1 /unicode/normalize 1013s # Invalid UTF-8 vector 0 1013s # Invalid UTF-8 vector 1 1013s # Invalid UTF-8 vector 2 1013s # Invalid UTF-8 vector 3 1013s # Invalid UTF-8 vector 4 1013s # Invalid UTF-8 vector 5 1013s # Invalid UTF-8 vector 6 1013s # Invalid UTF-8 vector 7 1013s # Invalid UTF-8 vector 8 1013s # Invalid UTF-8 vector 9 1013s # Invalid UTF-8 vector 10 1013s # Invalid UTF-8 vector 11 1013s # Invalid UTF-8 vector 12 1013s ok 2 /unicode/normalize-invalid 1013s # Start of normalize tests 1013s ok 3 /unicode/normalize/bad-length 1013s # End of normalize tests 1013s # End of unicode tests 1013s ok - glib/unicode-normalize.test 1013s # Running test: glib/gdbus-proxy-unique-name.test 1013s TAP version 14 1013s # random seed: R02S420a992fc705eb80aec3be4d3b055c5b 1013s 1..1 1013s # Start of gdbus tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_NZ5IK3/gdbus/proxy-unique-name/.dirs/runtime 1013s ok - glib/gdbus-proxy-unique-name.test 1013s # Running test: glib/dynamictests.test 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 1 /gdbus/proxy-unique-name 1013s # End of gdbus tests 1013s TAP version 14 1013s # random seed: R02S65fda5d55a322e0e8d27ed8b46be2c84 1013s 1..2 1013s # Start of GObject tests 1013s ok - glib/dynamictests.test 1013s # Running test: glib/memory-settings-backend.test 1013s ok 1 /GObject/threaded-dynamic-ref-unref-init 1013s ok 2 /GObject/dynamic-interface-properties 1013s # End of GObject tests 1013s ok - glib/memory-settings-backend.test 1013s TAP version 14 1013s # random seed: R02Sa7a273923f01e6eae083804b649becfa 1013s 1..1 1013s # Start of memory-settings-backend tests 1013s ok 1 /memory-settings-backend/extension-point-registered 1013s # End of memory-settings-backend tests 1013s # Running test: glib/timer.test 1013s TAP version 14 1013s # random seed: R02Se389068cfbb925b7817142b33ea82cd9 1013s 1..10 1013s # Start of timer tests 1013s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1013s ok 2 /timer/stop 1013s ok 3 /timer/continue 1013s ok 4 /timer/reset 1013s ok 5 /timer/is_active 1013s # End of timer tests 1013s # Start of timeval tests 1013s ok 6 /timeval/add 1013s ok 7 /timeval/from-iso8601 1013s ok 8 /timeval/to-iso8601 1013s # Start of to-iso8601 tests 1013s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1013s # End of to-iso8601 tests 1013s # End of timeval tests 1013s # Start of usleep tests 1013s ok 10 /usleep/with-zero-wait 1013s ok - glib/timer.test 1013s # End of usleep tests 1013s # Running test: glib/bitlock.test 1013s TAP version 14 1013s # random seed: R02S7f67b31bc6226ac02b6c8d6e43897fe8 1013s 1..2 1013s # Start of bitlock tests 1013s # Start of performance tests 1013s # max perf: iterations per second 1013s ok 1 /bitlock/performance/uncontended 1013s ok - glib/bitlock.test 1013s # Running test: glib/tls-database.test 1013s ok 2 /bitlock/performance/parallel 1013s # End of performance tests 1013s # End of bitlock tests 1013s ok - glib/tls-database.test 1013s # Running test: glib/converter-stream.test 1013s TAP version 14 1013s # random seed: R02S180305f232ad79dc1db539d83eb416d3 1013s 1..1 1013s # Start of tls-backend tests 1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1013s ok 1 /tls-backend/set-default-database 1013s # End of tls-backend tests 1013s TAP version 14 1013s # random seed: R02Sc00a5471a5a92dab0999e2cb727e3437 1013s 1..17 1013s # Start of converter tests 1013s ok 1 /converter/basics 1013s # End of converter tests 1013s # Start of converter-input-stream tests 1013s ok 2 /converter-input-stream/expander 1013s ok 3 /converter-input-stream/compressor 1013s # Start of truncation tests 1013s ok 4 /converter-input-stream/truncation/zlib 1013s ok 5 /converter-input-stream/truncation/gzip 1013s ok 6 /converter-input-stream/truncation/raw 1013s # End of truncation tests 1013s # Start of charset tests 1013s ok 7 /converter-input-stream/charset/utf8->latin1 1013s ok 8 /converter-input-stream/charset/latin1->utf8 1013s ok 9 /converter-input-stream/charset/fallbacks 1013s # End of charset tests 1013s # End of converter-input-stream tests 1013s # Start of converter-output-stream tests 1013s # Start of roundtrip tests 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1013s ok 10 /converter-output-stream/roundtrip/zlib-0 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1014s ok 11 /converter-output-stream/roundtrip/zlib-9 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1014s ok 12 /converter-output-stream/roundtrip/gzip-0 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1014s ok 13 /converter-output-stream/roundtrip/gzip-9 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1014s ok 14 /converter-output-stream/roundtrip/raw-0 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1014s ok 15 /converter-output-stream/roundtrip/raw-9 1014s # End of roundtrip tests 1014s # End of converter-output-stream tests 1014s # Start of converter-stream tests 1014s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1014s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x66ac8e0 and GSocketClientAsyncConnectData 0x66afe30 1014s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1014s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1014s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x66b48e0 for GSocketClientAsyncConnectData 0x66afe30 1014s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1014s ok - glib/converter-stream.test 1014s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1014s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1014s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1014s # Running test: glib/gdbus-connection.test 1014s ok 16 /converter-stream/pollable 1014s ok 17 /converter-stream/leftover 1014s # End of converter-stream tests 1014s TAP version 14 1014s # random seed: R02Sdf01296b7871c57da72acd965a1737ad 1014s 1..9 1014s # Start of gdbus tests 1014s # Start of connection tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/bus-failure/.dirs/runtime 1014s ok 1 /gdbus/connection/bus-failure 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/basic/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 2 /gdbus/connection/basic 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/life-cycle/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 3 /gdbus/connection/life-cycle 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/send/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 4 /gdbus/connection/send 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signals/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 5 /gdbus/connection/signals 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/signal-match-rules/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 6 /gdbus/connection/signal-match-rules 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/filter/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 7 /gdbus/connection/filter 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/serials/.dirs/runtime 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 8 /gdbus/connection/serials 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BHG4J3/gdbus/connection/cancel/.dirs/runtime 1014s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1014s ok - glib/gdbus-connection.test 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # Running test: glib/mapping.test 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 9 /gdbus/connection/cancel 1014s # End of connection tests 1014s # End of gdbus tests 1014s ok - glib/mapping.test 1014s # Running test: glib/642026.test 1014s TAP version 14 1014s # random seed: R02S12f273e025456c6dd2b7a30d82316e64 1014s 1..3 1014s # Start of mapping tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_5RC8J3/mapping/flags/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_5RC8J3/mapping/flags/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_5RC8J3/mapping/flags/.dirs/runtime 1014s # test_mapping: ok 1014s ok 1 /mapping/flags 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/system-config1:/tmp/test_mapping_5RC8J3/mapping/private/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/system-data1:/tmp/test_mapping_5RC8J3/mapping/private/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_5RC8J3/mapping/private/.dirs/runtime 1014s ok 2 /mapping/private 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_5RC8J3/mapping/private-child/.dirs/runtime 1014s # test_child_private: child spawned 1014s # Subtest: /usr/libexec/installed-tests/glib/mapping 1014s # random seed: R02S2c3c832fe415ccb8314b40b6d4bff506 1014s # test_child_private: received first child signal 1014s # test_child_private: received parent signal 1014s # Child exited with status 0 1014s # test_child_private: received second child signal 1014s ok 3 /mapping/private-child 1014s # End of mapping tests 1014s TAP version 14 1014s # random seed: R02S2a3cd2f57d3bda24749fb4412d1a9981 1014s 1..1 1014s # Start of glib tests 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1014s # Executing: glib/642026.test 1014s ok - glib/642026.test 1014s # Running test: glib/macros.test 1014s ok - glib/macros.test 1014s ok 1 /glib/642026 1014s # End of glib tests 1014s # Running test: glib/rec-mutex.test 1014s TAP version 14 1014s # random seed: R02S497b7681f6887184172dd5a22bc6a299 1014s 1..3 1014s # Start of alignof tests 1014s ok 1 /alignof/fallback 1014s # End of alignof tests 1014s # Start of assert tests 1014s ok 2 /assert/static 1014s # End of assert tests 1014s # Start of struct tests 1014s ok 3 /struct/sizeof_member 1014s # End of struct tests 1014s TAP version 14 1014s # random seed: R02S4a05283feccbcc35b058c3f13ee51cd0 1014s 1..29 1014s # Start of thread tests 1014s ok 1 /thread/rec-mutex1 1014s ok 2 /thread/rec-mutex2 1014s ok 3 /thread/rec-mutex3 1014s ok - glib/rec-mutex.test 1014s # Running test: glib/utils-c-99.test 1014s ok 4 /thread/rec-mutex4 1014s # Start of rec-mutex tests 1014s # Start of perf tests 1014s # Start of uncontended tests 1014s # max perf: 1.000000 mips 1014s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1014s # max perf: inf mips 1014s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1014s # max perf: 1.000000 mips 1014s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1014s # max perf: inf mips 1014s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1014s # max perf: 1.000000 mips 1014s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1014s # End of uncontended tests 1014s # Start of contended1 tests 1014s # max perf: inf mips 1014s ok 10 /thread/rec-mutex/perf/contended1/depth1 1014s # max perf: 2.000000 mips 1014s ok 11 /thread/rec-mutex/perf/contended1/depth2 1014s # max perf: 2.000000 mips 1014s ok 12 /thread/rec-mutex/perf/contended1/depth3 1014s # max perf: inf mips 1014s ok 13 /thread/rec-mutex/perf/contended1/depth4 1014s # max perf: 2.000000 mips 1014s ok 14 /thread/rec-mutex/perf/contended1/depth5 1014s # End of contended1 tests 1014s # Start of contended2 tests 1014s # max perf: inf mips 1014s ok 15 /thread/rec-mutex/perf/contended2/depth1 1014s # max perf: 3.000000 mips 1014s ok 16 /thread/rec-mutex/perf/contended2/depth2 1014s # max perf: 3.000000 mips 1014s ok 17 /thread/rec-mutex/perf/contended2/depth3 1014s # max perf: 3.000000 mips 1014s ok 18 /thread/rec-mutex/perf/contended2/depth4 1014s # max perf: 3.000000 mips 1014s ok 19 /thread/rec-mutex/perf/contended2/depth5 1014s # End of contended2 tests 1014s # Start of contended3 tests 1014s # max perf: 2.000000 mips 1014s ok 20 /thread/rec-mutex/perf/contended3/depth1 1014s # max perf: 1.333333 mips 1014s ok 21 /thread/rec-mutex/perf/contended3/depth2 1014s # max perf: 1.333333 mips 1014s ok 22 /thread/rec-mutex/perf/contended3/depth3 1014s # max perf: 2.000000 mips 1014s ok 23 /thread/rec-mutex/perf/contended3/depth4 1014s # max perf: 1.000000 mips 1014s ok 24 /thread/rec-mutex/perf/contended3/depth5 1014s # End of contended3 tests 1014s # Start of contended4 tests 1014s # max perf: 2.500000 mips 1014s ok 25 /thread/rec-mutex/perf/contended4/depth1 1014s # max perf: 0.277778 mips 1014s ok 26 /thread/rec-mutex/perf/contended4/depth2 1014s # max perf: 0.714286 mips 1014s ok 27 /thread/rec-mutex/perf/contended4/depth3 1014s # max perf: 1.666667 mips 1014s ok 28 /thread/rec-mutex/perf/contended4/depth4 1014s # max perf: 1.000000 mips 1014s ok 29 /thread/rec-mutex/perf/contended4/depth5 1014s # End of contended4 tests 1014s # End of perf tests 1014s # End of rec-mutex tests 1014s # End of thread tests 1014s TAP version 14 1014s # random seed: R02Sc3e584be4e831b78a504669ce20979a3 1014s 1..41 1014s # Start of utils tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/language-names/.dirs/runtime 1014s ok 1 /utils/language-names 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/locale-variants/.dirs/runtime 1014s # Testing locale ‘en’ 1014s # Testing locale ‘sr@latin’ 1014s # Testing locale ‘fr_BE’ 1014s # Testing locale ‘sr_SR@latin’ 1014s # Testing locale ‘sr_SR@latin.UTF-8’ 1014s # Testing locale ‘sr@latin_invalid’ 1014s # Testing locale ‘sr.UTF-8@latin’ 1014s # Testing locale ‘sr.UTF-8_latin’ 1014s # Testing locale ‘sr.UTF-8@latin_invalid’ 1014s ok 2 /utils/locale-variants 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/version/.dirs/runtime 1014s ok 3 /utils/version 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/appname/.dirs/runtime 1014s ok 4 /utils/appname 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/prgname-thread-safety/.dirs/runtime 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1014s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1014s ok 5 /utils/prgname-thread-safety 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/tmpdir/.dirs/runtime 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1014s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1014s Unable to clean up temporary directory /tmp/test_utils-c-99_Z60AK3/utils/tmpdir: No such file or directory 1014s ok 6 /utils/tmpdir 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/basic_bits/.dirs/runtime 1014s ok 7 /utils/basic_bits 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/bits/.dirs/runtime 1014s ok 8 /utils/bits 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/swap/.dirs/runtime 1014s ok 9 /utils/swap 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/find-program/.dirs/runtime 1014s ok 10 /utils/find-program 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/find-program-for-path/.dirs/runtime 1014s ok 11 /utils/find-program-for-path 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/debug/.dirs/runtime 1014s Unable to clean up temporary directory /tmp/test_utils-c-99_Z60AK3/utils/debug: No such file or directory 1014s ok 12 /utils/debug 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/codeset/.dirs/runtime 1014s ok 13 /utils/codeset 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/codeset2/.dirs/runtime 1014s Unable to clean up temporary directory /tmp/test_utils-c-99_Z60AK3/utils/codeset2: No such file or directory 1014s ok 14 /utils/codeset2 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/console-charset/.dirs/runtime 1014s ok 15 /utils/console-charset 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/gettext/.dirs/runtime 1014s ok 16 /utils/gettext 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/username/.dirs/runtime 1014s ok 17 /utils/username 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/realname/.dirs/runtime 1014s ok 18 /utils/realname 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/hostname/.dirs/runtime 1014s ok 19 /utils/hostname 1014s ok - glib/utils-c-99.test 1014s # Running test: glib/basic-signals.test 1014s ok - glib/basic-signals.test 1014s # Running test: glib/gdbus-addresses.test 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/os-info/.dirs/runtime 1014s # NAME: Ubuntu 1014s ok 20 /utils/os-info 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/.dirs/runtime 1014s ok 21 /utils/clear-pointer 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer-cast/.dirs/runtime 1014s ok 22 /utils/clear-pointer-cast 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/take-pointer/.dirs/runtime 1014s ok 23 /utils/take-pointer 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/data 1014s ok - glib/gdbus-addresses.test 1014s # Running test: glib/utils-c-11.test 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/clear-source/.dirs/runtime 1014s ok 24 /utils/clear-source 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/misc-mem/.dirs/runtime 1014s ok 25 /utils/misc-mem 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/.dirs/runtime 1014s # /utils/aligned-mem summary: Aligned memory allocator 1014s # Alignment must not be zero 1014s # Alignment must be a power of two 1014s # Alignment must be a multiple of sizeof(void*) 1014s ok 26 /utils/aligned-mem 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/free-sized/.dirs/runtime 1014s # /utils/free-sized summary: Check that g_free_sized() works 1014s ok 27 /utils/free-sized 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/nullify/.dirs/runtime 1014s ok 28 /utils/nullify 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/atexit/.dirs/runtime 1014s Unable to clean up temporary directory /tmp/test_utils-c-99_Z60AK3/utils/atexit: No such file or directory 1014s ok 29 /utils/atexit 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/check-setuid/.dirs/runtime 1014s ok 30 /utils/check-setuid 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/int-limits/.dirs/runtime 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1014s ok 31 /utils/int-limits 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/clear-list/.dirs/runtime 1014s ok 32 /utils/clear-list 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/clear-slist/.dirs/runtime 1014s ok 33 /utils/clear-slist 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/steal-handle-id/.dirs/runtime 1014s ok 34 /utils/steal-handle-id 1014s # Start of user-special-dirs tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/desktop/.dirs/runtime 1014s ok 35 /utils/user-special-dirs/desktop 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1014s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1014s Unable to clean up temporary directory /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/load-unlocked: No such file or directory 1014s ok 36 /utils/user-special-dirs/load-unlocked 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1014s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1014s Unable to clean up temporary directory /tmp/test_utils-c-99_Z60AK3/utils/user-special-dirs/reload-leaks: No such file or directory 1014s ok 37 /utils/user-special-dirs/reload-leaks 1014s # End of user-special-dirs tests 1014s # Start of clear-pointer tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/clear-pointer/side-effects/.dirs/runtime 1014s ok 38 /utils/clear-pointer/side-effects 1014s # End of clear-pointer tests 1014s # Start of aligned-mem tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/alignment/.dirs/runtime 1014s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1014s ok 39 /utils/aligned-mem/alignment 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/zeroed/.dirs/runtime 1014s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1014s ok 40 /utils/aligned-mem/zeroed 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_Z60AK3/utils/aligned-mem/free-sized/.dirs/runtime 1014s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1014s ok 41 /utils/aligned-mem/free-sized 1014s # Start of subprocess tests 1014s # End of subprocess tests 1014s # End of aligned-mem tests 1014s # End of utils tests 1014s TAP version 14 1014s # random seed: R02S13f18edeb4889f0c47909d7c624e12e0 1014s 1..1 1014s # Start of gobject tests 1014s ok 1 /gobject/basic-signals 1014s # End of gobject tests 1014s TAP version 14 1014s # random seed: R02S119c8fe09346c95801186c2256eea5a2 1014s 1..9 1014s # Start of gdbus tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/empty-address/.dirs/runtime 1014s ok 1 /gdbus/empty-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unsupported-address/.dirs/runtime 1014s ok 2 /gdbus/unsupported-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/address-parsing/.dirs/runtime 1014s ok 3 /gdbus/address-parsing 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/unix-address/.dirs/runtime 1014s ok 4 /gdbus/unix-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/nonce-tcp-address/.dirs/runtime 1014s ok 5 /gdbus/nonce-tcp-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/tcp-address/.dirs/runtime 1014s ok 6 /gdbus/tcp-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/autolaunch-address/.dirs/runtime 1014s ok 7 /gdbus/autolaunch-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/mixed-address/.dirs/runtime 1014s ok 8 /gdbus/mixed-address 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_N4Q9J3/gdbus/escape-address/.dirs/runtime 1014s ok 9 /gdbus/escape-address 1014s # End of gdbus tests 1014s TAP version 14 1014s # random seed: R02Sf3517907c0506d51821192a1df298531 1014s 1..41 1014s # Start of utils tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/language-names/.dirs/runtime 1014s ok 1 /utils/language-names 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/locale-variants/.dirs/runtime 1014s # Testing locale ‘en’ 1014s # Testing locale ‘sr@latin’ 1014s # Testing locale ‘fr_BE’ 1014s # Testing locale ‘sr_SR@latin’ 1014s # Testing locale ‘sr_SR@latin.UTF-8’ 1014s # Testing locale ‘sr@latin_invalid’ 1014s # Testing locale ‘sr.UTF-8@latin’ 1014s # Testing locale ‘sr.UTF-8_latin’ 1014s # Testing locale ‘sr.UTF-8@latin_invalid’ 1014s ok 2 /utils/locale-variants 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/version/.dirs/runtime 1014s ok 3 /utils/version 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/appname/.dirs/runtime 1014s ok 4 /utils/appname 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/prgname-thread-safety/.dirs/runtime 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1014s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1014s ok 5 /utils/prgname-thread-safety 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/tmpdir/.dirs/runtime 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1014s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1014s Unable to clean up temporary directory /tmp/test_utils-c-11_P9J9J3/utils/tmpdir: No such file or directory 1014s ok 6 /utils/tmpdir 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/basic_bits/.dirs/runtime 1014s ok 7 /utils/basic_bits 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/bits/.dirs/runtime 1014s ok 8 /utils/bits 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/swap/.dirs/runtime 1014s ok 9 /utils/swap 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/find-program/.dirs/runtime 1014s ok 10 /utils/find-program 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/find-program-for-path/.dirs/runtime 1014s ok 11 /utils/find-program-for-path 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/debug/.dirs/runtime 1014s Unable to clean up temporary directory /tmp/test_utils-c-11_P9J9J3/utils/debug: No such file or directory 1014s ok 12 /utils/debug 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/codeset/.dirs/runtime 1014s ok 13 /utils/codeset 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/codeset2/.dirs/runtime 1014s Unable to clean up temporary directory /tmp/test_utils-c-11_P9J9J3/utils/codeset2: No such file or directory 1014s ok 14 /utils/codeset2 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/console-charset/.dirs/runtime 1014s ok 15 /utils/console-charset 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/gettext/.dirs/runtime 1014s ok 16 /utils/gettext 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/username/.dirs/runtime 1014s ok 17 /utils/username 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/realname/.dirs/runtime 1014s ok 18 /utils/realname 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/hostname/.dirs/runtime 1014s ok 19 /utils/hostname 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/os-info/.dirs/runtime 1014s # NAME: Ubuntu 1014s ok 20 /utils/os-info 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/.dirs/runtime 1014s ok 21 /utils/clear-pointer 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer-cast/.dirs/runtime 1014s ok 22 /utils/clear-pointer-cast 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/take-pointer/.dirs/runtime 1014s ok 23 /utils/take-pointer 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/clear-source/.dirs/runtime 1014s ok 24 /utils/clear-source 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/misc-mem/.dirs/runtime 1014s ok 25 /utils/misc-mem 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/.dirs/runtime 1014s # /utils/aligned-mem summary: Aligned memory allocator 1014s # Alignment must not be zero 1014s # Alignment must be a power of two 1014s # Alignment must be a multiple of sizeof(void*) 1014s ok 26 /utils/aligned-mem 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/free-sized/.dirs/runtime 1014s # /utils/free-sized summary: Check that g_free_sized() works 1014s ok 27 /utils/free-sized 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/nullify/.dirs/runtime 1014s ok 28 /utils/nullify 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/atexit/.dirs/runtime 1014s Unable to clean up temporary directory /tmp/test_utils-c-11_P9J9J3/utils/atexit: No such file or directory 1014s ok 29 /utils/atexit 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/check-setuid/.dirs/runtime 1014s ok 30 /utils/check-setuid 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/state 1014s ok - glib/utils-c-11.test 1014s # Running test: glib/strvbuilder.test 1014s ok - glib/strvbuilder.test 1014s # Running test: glib/mappedfile.test 1015s ok - glib/mappedfile.test 1015s # Running test: glib/power-profile-monitor-dbus.test 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/int-limits/.dirs/runtime 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1015s ok 31 /utils/int-limits 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/clear-list/.dirs/runtime 1015s ok 32 /utils/clear-list 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/clear-slist/.dirs/runtime 1015s ok 33 /utils/clear-slist 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/steal-handle-id/.dirs/runtime 1015s ok 34 /utils/steal-handle-id 1015s # Start of user-special-dirs tests 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/desktop/.dirs/runtime 1015s ok 35 /utils/user-special-dirs/desktop 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1015s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1015s Unable to clean up temporary directory /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/load-unlocked: No such file or directory 1015s ok 36 /utils/user-special-dirs/load-unlocked 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1015s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1015s Unable to clean up temporary directory /tmp/test_utils-c-11_P9J9J3/utils/user-special-dirs/reload-leaks: No such file or directory 1015s ok 37 /utils/user-special-dirs/reload-leaks 1015s # End of user-special-dirs tests 1015s # Start of clear-pointer tests 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/clear-pointer/side-effects/.dirs/runtime 1015s ok 38 /utils/clear-pointer/side-effects 1015s # End of clear-pointer tests 1015s # Start of aligned-mem tests 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/alignment/.dirs/runtime 1015s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1015s ok 39 /utils/aligned-mem/alignment 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/zeroed/.dirs/runtime 1015s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1015s ok 40 /utils/aligned-mem/zeroed 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_P9J9J3/utils/aligned-mem/free-sized/.dirs/runtime 1015s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1015s ok 41 /utils/aligned-mem/free-sized 1015s # Start of subprocess tests 1015s # End of subprocess tests 1015s # End of aligned-mem tests 1015s # End of utils tests 1015s TAP version 14 1015s # random seed: R02S76223d0b4b1d6908b2925efa8af9d8ca 1015s 1..7 1015s # Start of strvbuilder tests 1015s ok 1 /strvbuilder/empty 1015s ok 2 /strvbuilder/add 1015s ok 3 /strvbuilder/addv 1015s ok 4 /strvbuilder/add_many 1015s ok 5 /strvbuilder/take 1015s ok 6 /strvbuilder/ref 1015s ok 7 /strvbuilder/unref_to_strv 1015s # End of strvbuilder tests 1015s TAP version 14 1015s # random seed: R02S0400595de018590c552fea80787e2800 1015s 1..7 1015s # Start of mappedfile tests 1015s ok 1 /mappedfile/basic 1015s ok 2 /mappedfile/empty 1015s ok 3 /mappedfile/device 1015s ok 4 /mappedfile/nonexisting 1015s ok 5 /mappedfile/writable 1015s ok 6 /mappedfile/writable_fd 1015s ok 7 /mappedfile/gbytes 1015s # End of mappedfile tests 1015s TAP version 13 1015s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1015s 1..1 1015s ok - glib/power-profile-monitor-dbus.test 1015s # Running test: glib/throws.test 1015s TAP version 14 1015s # random seed: R02Sb84a3cf272e87275db72869352ca941a 1015s 1..3 1015s # Start of throws tests 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_R8YMK3/throws/invoke-gerror/.dirs/runtime 1015s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1015s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1015s ok 1 /throws/invoke-gerror 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_R8YMK3/throws/vfunc-can-throw-gerror/.dirs/runtime 1015s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1015s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1015s ok 2 /throws/vfunc-can-throw-gerror 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_R8YMK3/throws/callback-can-throw-gerror/.dirs/runtime 1015s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1015s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1015s ok 3 /throws/callback-can-throw-gerror 1015s # End of throws tests 1015s ok - glib/throws.test 1015s # Running test: glib/binding.test 1015s TAP version 14 1015s # random seed: R02S00d2bc5edf0b920dc54b7f5e4f9ccf6d 1015s 1..19 1015s # Start of binding tests 1015s ok 1 /binding/default 1015s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1015s ok 2 /binding/canonicalisation 1015s ok 3 /binding/bidirectional 1015s ok 4 /binding/transform 1015s ok 5 /binding/transform-default 1015s ok 6 /binding/transform-closure 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1015s ok 7 /binding/chain 1015s ok 8 /binding/sync-create 1015s ok 9 /binding/invert-boolean 1015s ok 10 /binding/same-object 1015s ok 11 /binding/unbind 1015s ok 12 /binding/unbind-weak 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1015s ok 13 /binding/unbind-multiple 1015s ok 14 /binding/fail 1015s ok 15 /binding/interface 1015s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1015s ok 16 /binding/concurrent-unbind 1015s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1015s ok - glib/binding.test 1015s ok 17 /binding/concurrent-finalizing 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1015s ok 18 /binding/dispose-source 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1015s ok 19 /binding/dispose-target 1015s # End of binding tests 1015s TAP version 14 1015s # random seed: R02Sefdcc19857ffdd26bab6c015f4897b31 1015s 1..1 1015s # Start of unicode tests 1015s ok 1 /unicode/encoding 1015s # End of unicode tests 1015s TAP version 14 1015s # random seed: R02S0807f825f3143e3e0a2f2f2e6fb17d87 1015s # Running test: glib/unicode-encoding.test 1015s ok - glib/unicode-encoding.test 1015s # Running test: glib/gdbus-proxy.test 1015s 1..5 1015s # Start of gdbus tests 1015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/home 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/cache 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/system-config2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/config 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/system-data2 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/data 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/state 1015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/.dirs/runtime 1017s ok 1 /gdbus/proxy 1017s # slow test /gdbus/proxy executed in 1.73 secs 1017s # Start of proxy tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-properties/.dirs/runtime 1017s ok 2 /gdbus/proxy/no-properties 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1017s ok 3 /gdbus/proxy/wellknown-noauto 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/async/.dirs/runtime 1018s ok 4 /gdbus/proxy/async 1018s # slow test /gdbus/proxy/async executed in 1.73 secs 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_85ELK3/gdbus/proxy/no-match-rule/.dirs/runtime 1018s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1019s # Executing: glib/gdbus-proxy.test 1020s ok 5 /gdbus/proxy/no-match-rule 1020s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1020s # End of proxy tests 1020s # End of gdbus tests 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s ok - glib/gdbus-proxy.test 1020s # Running test: glib/utf8-private.test 1020s TAP version 14 1020s # random seed: R02S953ccba4c1bdfdae444b391a14f872be 1020s 1..2 1020s # Start of utf8 tests 1020s ok 1 /utf8/utf8-to-utf16-make-valid 1020s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1020s # End of utf8 tests 1020s ok - glib/utf8-private.test 1020s # Running test: glib/cxx-20.test 1020s TAP version 14 1020s # random seed: R02S70815d5e42d915a9f5d0141f07cef591 1020s 1..2 1020s # Start of gtask tests 1020s # 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. 1020s ok 1 /gtask/name 1020s # Start of name tests 1020s # 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. 1020s ok 2 /gtask/name/macro-wrapper 1020s # End of name tests 1020s # End of gtask tests 1020s ok - glib/cxx-20.test 1020s # Running test: glib/fileattributematcher.test 1020s ok - glib/fileattributematcher.test 1020s TAP version 14 1020s # random seed: R02S947e0b209876ffe524141325453bb0b6 1020s 1..3 1020s # Start of fileattributematcher tests 1020s ok 1 /fileattributematcher/exact 1020s ok 2 /fileattributematcher/equality 1020s ok 3 /fileattributematcher/subtract 1020s # End of fileattributematcher tests 1020s # Running test: glib/gdbus-auth.test 1020s TAP version 14 1020s # random seed: R02S346118250e5097dbdfb56974cce97244 1020s 1..5 1020s # Start of gdbus tests 1020s # Start of auth tests 1020s # Start of client tests 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1020s ok 1 /gdbus/auth/client/EXTERNAL 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1020s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1020s # End of client tests 1020s # Start of server tests 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1020s ok - glib/gdbus-auth.test 1020s # Running test: glib/unix-mounts.test 1020s ok 3 /gdbus/auth/server/ANONYMOUS 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1020s ok 4 /gdbus/auth/server/EXTERNAL 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SRD4J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1020s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1020s # End of server tests 1020s # End of auth tests 1020s # End of gdbus tests 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s TAP version 14 1020s # random seed: R02Sa5ea5080330119986a459391f5ac063e 1020s 1..5 1020s # Start of unix-mounts tests 1020s ok 1 /unix-mounts/is-system-fs-type 1020s ok 2 /unix-mounts/is-system-device-path 1020s # /unix-mounts/system-mount-paths-sorted summary: Verify that system_mount_paths array is sorted for bsearch 1020s ok 3 /unix-mounts/system-mount-paths-sorted 1020s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1020s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1020s ok - glib/unix-mounts.test 1020s # Running test: glib/properties-refcount1.test 1020s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1020s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1020s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1020s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1020s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1020s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1020s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1020s ok 4 /unix-mounts/get-mount-points 1020s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1020s ok 5 /unix-mounts/get-mount-entries 1020s # End of unix-mounts tests 1020s TAP version 14 1020s # random seed: R02Sf40632a21a3d8d672720202e3f9f64f9 1020s 1..1 1020s # Start of gobject tests 1020s # Start of refcount tests 1020s # .d 1020s # .c 1020s # .e 1021s # .f 1021s # .b 1021s # .d 1021s # .e 1021s # .c 1021s # .b 1021s # .d 1021s # .e 1021s # .f 1021s # .c 1021s # .b 1021s # .d 1021s # .e 1021s # .c 1021s # .b 1021s # .f 1021s # .d 1021s # .e 1021s # .c 1021s # .b 1021s # .d 1021s # .e 1021s # .b 1021s # .c 1021s # .f 1021s # .d 1022s # .e 1022s # .b 1022s # .c 1022s # .d 1022s # .e 1022s # .f 1022s # .b 1022s # .c 1022s # .e 1022s # .d 1022s # .f 1022s # .b 1022s # .c 1022s # .e 1022s # .d 1022s # .f 1022s # .b 1022s # .c 1022s # .e 1022s # .f 1022s # .d 1022s # .b 1022s # .c 1022s # .e 1022s # .f 1022s # .d 1022s # .b 1022s # .c 1022s # .e 1022s # .f 1022s # .d 1022s # .b 1022s # .e 1022s # .c 1022s # .f 1022s # .d 1022s # .b 1022s # .e 1022s # .c 1023s # .f 1023s # .d 1023s # .e 1023s # .c 1023s # .f 1023s # .d 1023s # .b 1023s # .e 1023s # .f 1023s # .c 1023s # .d 1023s # .e 1023s # .f 1023s # .c 1023s # .b 1023s # .d 1023s # .e 1023s ok - glib/properties-refcount1.test 1023s ok 1 /gobject/refcount/properties-1 1023s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1023s # End of refcount tests 1023s # End of gobject tests 1023s # Running test: glib/markup-parse.test 1023s TAP version 14 1023s # random seed: R02Sa9711c979135e4e292703a0665aef675 1023s 1..71 1023s # Start of markup tests 1023s # Start of parse tests 1023s ok 1 /markup/parse/fail-1.gmarkup 1023s ok 2 /markup/parse/fail-10.gmarkup 1023s ok 3 /markup/parse/fail-11.gmarkup 1023s ok 4 /markup/parse/fail-12.gmarkup 1023s ok 5 /markup/parse/fail-13.gmarkup 1023s ok 6 /markup/parse/fail-14.gmarkup 1023s ok 7 /markup/parse/fail-15.gmarkup 1023s ok 8 /markup/parse/fail-16.gmarkup 1023s ok 9 /markup/parse/fail-17.gmarkup 1023s ok 10 /markup/parse/fail-18.gmarkup 1023s ok 11 /markup/parse/fail-19.gmarkup 1023s ok 12 /markup/parse/fail-2.gmarkup 1023s ok 13 /markup/parse/fail-20.gmarkup 1023s ok 14 /markup/parse/fail-21.gmarkup 1023s ok 15 /markup/parse/fail-22.gmarkup 1023s ok 16 /markup/parse/fail-23.gmarkup 1023s ok 17 /markup/parse/fail-24.gmarkup 1023s ok 18 /markup/parse/fail-25.gmarkup 1023s ok 19 /markup/parse/fail-26.gmarkup 1023s ok 20 /markup/parse/fail-27.gmarkup 1023s ok 21 /markup/parse/fail-28.gmarkup 1023s ok 22 /markup/parse/fail-29.gmarkup 1023s ok 23 /markup/parse/fail-3.gmarkup 1023s ok 24 /markup/parse/fail-30.gmarkup 1023s ok 25 /markup/parse/fail-31.gmarkup 1023s ok 26 /markup/parse/fail-32.gmarkup 1023s ok 27 /markup/parse/fail-33.gmarkup 1023s ok 28 /markup/parse/fail-34.gmarkup 1023s ok 29 /markup/parse/fail-35.gmarkup 1023s ok 30 /markup/parse/fail-36.gmarkup 1023s ok 31 /markup/parse/fail-37.gmarkup 1023s ok 32 /markup/parse/fail-38.gmarkup 1023s ok 33 /markup/parse/fail-39.gmarkup 1023s ok 34 /markup/parse/fail-4.gmarkup 1023s ok 35 /markup/parse/fail-40.gmarkup 1023s ok 36 /markup/parse/fail-41.gmarkup 1023s ok 37 /markup/parse/fail-42.gmarkup 1023s ok 38 /markup/parse/fail-43.gmarkup 1023s ok 39 /markup/parse/fail-44.gmarkup 1023s ok 40 /markup/parse/fail-45.gmarkup 1023s ok 41 /markup/parse/fail-46.gmarkup 1023s ok 42 /markup/parse/fail-47.gmarkup 1023s ok 43 /markup/parse/fail-48.gmarkup 1023s ok 44 /markup/parse/fail-49.gmarkup 1023s ok 45 /markup/parse/fail-5.gmarkup 1023s ok 46 /markup/parse/fail-50.gmarkup 1023s ok 47 /markup/parse/fail-51.gmarkup 1023s ok 48 /markup/parse/fail-52.gmarkup 1023s ok 49 /markup/parse/fail-53.gmarkup 1023s ok 50 /markup/parse/fail-54.gmarkup 1023s ok 51 /markup/parse/fail-6.gmarkup 1023s ok 52 /markup/parse/fail-7.gmarkup 1023s ok 53 /markup/parse/fail-8.gmarkup 1023s ok 54 /markup/parse/fail-9.gmarkup 1023s ok 55 /markup/parse/valid-1.gmarkup 1023s ok - glib/markup-parse.test 1023s # Running test: glib/performance-threaded.test 1023s ok 56 /markup/parse/valid-10.gmarkup 1023s ok 57 /markup/parse/valid-11.gmarkup 1023s ok 58 /markup/parse/valid-12.gmarkup 1023s ok 59 /markup/parse/valid-13.gmarkup 1023s ok 60 /markup/parse/valid-14.gmarkup 1023s ok 61 /markup/parse/valid-15.gmarkup 1023s ok 62 /markup/parse/valid-16.gmarkup 1023s ok 63 /markup/parse/valid-17.gmarkup 1023s ok 64 /markup/parse/valid-2.gmarkup 1023s ok 65 /markup/parse/valid-3.gmarkup 1023s ok 66 /markup/parse/valid-4.gmarkup 1023s ok 67 /markup/parse/valid-5.gmarkup 1023s ok 68 /markup/parse/valid-6.gmarkup 1023s ok 69 /markup/parse/valid-7.gmarkup 1023s ok 70 /markup/parse/valid-8.gmarkup 1023s ok 71 /markup/parse/valid-9.gmarkup 1023s # End of parse tests 1023s # End of markup tests 1023s Running test "liststore-is-a" 1024s 6746 runs, min/avg/max = 0.143/0.147/0.549 ms 1024s Running test "liststore-interface-peek" 1024s # Executing: glib/performance-threaded.test 1025s 8857 runs, min/avg/max = 0.109/0.112/0.329 ms 1025s Running test "liststore-interface-peek-same" 1026s 8872 runs, min/avg/max = 0.109/0.112/0.384 ms 1026s TAP version 14 1026s # random seed: R02S840163b7066cc86b3e1efd760c5d3ac8 1026s 1..18 1026s # Start of cancellable tests 1026s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1026s ok 2 /cancellable/null 1026s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1026s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1026s ok 4 /cancellable/connect-to-disposing-callback 1026s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 1 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 0 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 1 1026s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1026s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1026s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1026s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 1 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 0 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 1 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 0 1026s # Toggle reference callback for GCancellable (0x60e0558), last: 1 1026s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1026s # /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 1026s ok - glib/performance-threaded.test 1026s # Running test: glib/cancellable.test 1026s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1026s # /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 1026s ok 11 /cancellable/resets-on-cancel-callback-hangs 1026s ok 12 /cancellable/poll-fd 1026s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1026s ok 13 /cancellable/poll-fd-cancelled 1026s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1027s ok 14 /cancellable/poll-fd-cancelled-threaded 1027s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1027s ok 15 /cancellable/cancel-reset-races 1027s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1027s ok 16 /cancellable/cancel-reset-connect-races 1027s # End of cancellable tests 1027s # Start of cancellable-source tests 1027s # /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) 1027s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1027s ok 17 /cancellable-source/threaded-dispose 1027s # slow test /cancellable-source/threaded-dispose executed in 0.74 secs 1027s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1027s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1027s ok 18 /cancellable-source/can-be-fired-multiple-times 1027s # End of cancellable-source tests 1027s ok - glib/cancellable.test 1027s TAP version 14 1027s # random seed: R02S07bd5b2b34f110a3ccab8614c402e15c 1027s 1..13 1027s # Start of live-g-file tests 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/prep_clean_structure/.dirs/runtime 1027s # Cleaning target testing structure in '/tmp/test_live-g-file_9A26J3/testdir_live-g-file'... 1027s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1027s ok 1 /live-g-file/prep_clean_structure 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/create_structure/.dirs/runtime 1027s # 1027s # Going to create testing structure in '/tmp/test_live-g-file_9A26J3/testdir_live-g-file'... 1027s # Creating directory 'dir1'... 1027s # Creating directory 'dir1/subdir'... 1027s # Creating directory 'dir2'... 1027s # Creating directory 'dir-target'... 1027s # Creating directory 'dir_no-access'... 1027s # Running test: glib/live-g-file.test 1027s # Creating directory 'dir_no-write'... 1027s # Creating file 'target-file'... 1027s # Creating file 'normal_file'... 1027s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1027s # Creating file 'executable_file'... 1027s # Creating file 'private_file'... 1027s # Creating file 'normal_file2'... 1027s # Creating file 'readonly_file'... 1027s # Creating file 'UTF_příliš z'... 1027s # Creating directory 'dir_příliš z'... 1027s # Creating symlink 'lost_symlink' --> 'nowhere'... 1027s # Creating directory 'dir_hidden'... 1027s # Creating file 'dir_hidden/.a-hidden-file'... 1027s # Creating file 'dir_hidden/file-in-.hidden1'... 1027s # Creating file 'dir_hidden/file-in-.hidden2'... 1027s # Creating pattern file... 1027s # done. 1027s ok 2 /live-g-file/create_structure 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_initial_structure/.dirs/runtime 1027s # Testing sample structure in '/tmp/test_live-g-file_9A26J3/testdir_live-g-file'... 1027s # Testing file 'dir1'... 1027s # Testing file 'dir1/subdir'... 1027s # Testing file 'dir2'... 1027s # Testing file 'dir-target'... 1027s # Testing file 'dir_no-access'... 1027s # Testing file 'dir_no-write'... 1027s # Testing file 'target-file'... 1027s # Testing file 'normal_file'... 1027s # Testing file 'normal_file-symlink'... 1027s # Testing file 'executable_file'... 1027s # Testing file 'private_file'... 1027s # Testing file 'normal_file2'... 1027s # Testing file 'readonly_file'... 1027s # Testing file 'UTF_příliš z'... 1027s # Testing file 'dir_příliš z'... 1027s # Testing file 'lost_symlink'... 1027s # Testing file 'dir_hidden'... 1027s # Testing file 'dir_hidden/.a-hidden-file'... 1027s # Testing file 'dir_hidden/file-in-.hidden1'... 1027s ok - glib/live-g-file.test 1027s # Running test: glib/cxx-23.test 1027s ok - glib/cxx-23.test 1027s # Running test: glib/environment.test 1027s ok - glib/environment.test 1027s # Running test: glib/bytes.test 1027s ok - glib/bytes.test 1027s # Running test: glib/gdbus-method-invocation.test 1027s # Testing file 'dir_hidden/file-in-.hidden2'... 1027s # Testing pattern file... 1027s # read 65536 bytes, total = 65536 of 65536. 1027s ok 3 /live-g-file/test_initial_structure 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_traverse_structure/.dirs/runtime 1027s # Traversing through the sample structure in '/tmp/test_live-g-file_9A26J3/testdir_live-g-file'... 1027s # Found file dir1, relative to root: dir1 1027s # Found file subdir, relative to root: dir1/subdir 1027s # Found file dir2, relative to root: dir2 1027s # Found file dir-target, relative to root: dir-target 1027s # Found file dir_no-access, relative to root: dir_no-access 1027s # Found file dir_no-write, relative to root: dir_no-write 1027s # Found file target-file, relative to root: target-file 1027s # Found file normal_file, relative to root: normal_file 1027s # Found file normal_file-symlink, relative to root: normal_file-symlink 1027s # Found file executable_file, relative to root: executable_file 1027s # Found file private_file, relative to root: private_file 1027s # Found file normal_file2, relative to root: normal_file2 1027s # Found file readonly_file, relative to root: readonly_file 1027s # Found file UTF_příliš z, relative to root: UTF_příliš z 1027s # Found file dir_příliš z, relative to root: dir_příliš z 1027s # Found file lost_symlink, relative to root: lost_symlink 1027s # Found file dir_hidden, relative to root: dir_hidden 1027s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1027s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1027s # Found file .hidden, relative to root: dir_hidden/.hidden 1027s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1027s # Found file pattern_file, relative to root: pattern_file 1027s ok 4 /live-g-file/test_traverse_structure 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_enumerate/.dirs/runtime 1027s # Test enumerate '/tmp/test_live-g-file_9A26J3/testdir_live-g-file'... 1027s # Testing file 'dir_no-access' 1027s # Testing file 'normal_file' 1027s # Testing file 'normal_file-symlink' 1027s # Testing file 'not_exists' 1027s # Testing file 'not_exists' 1027s # Testing file 'not_exists2' 1027s # Testing file 'not_exists3' 1027s # Testing file 'not_exists4' 1027s # Testing file 'dir_no-execute/file' 1027s ok 5 /live-g-file/test_enumerate 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_open/.dirs/runtime 1027s # test_open: 'dir1' 1027s # test_open: 'dir_no-access' 1027s # test_open: 'target-file' 1027s # test_open: 'normal_file-symlink' 1027s # test_open: 'executable_file' 1027s # test_open: 'private_file' 1027s # test_open: 'readonly_file' 1027s # test_open: 'UTF_příliš z' 1027s # test_open: 'pattern_file' 1027s # test_open: 'not_exists' 1027s # test_open: 'dir_no-execute/file' 1027s # test_open: 'lost_symlink' 1027s ok 6 /live-g-file/test_open 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_create/.dirs/runtime 1027s # test_create: 'dir1' 1027s # error code 3 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir1”: Is a directory 1027s # test_create: 'dir1/subdir' 1027s # error code 3 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir1/subdir”: Is a directory 1027s # test_create: 'dir2' 1027s # error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir2”: File exists 1027s # test_create: 'normal_file' 1027s # error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/normal_file”: File exists 1027s # test_create: 'executable_file' 1027s # test_create: 'private_file' 1027s # test_create: 'normal_file2' 1027s # test_create: 'UTF_příliš z' 1027s # error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/UTF_příliš z”: File exists 1027s # test_create: 'dir_příliš z' 1027s # error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_příliš z”: File exists 1027s # test_create: 'pattern_file' 1027s # test_create: 'not_exists2' 1027s # test_create: 'not_exists3' 1027s # test_create: 'not_exists4' 1027s ok 7 /live-g-file/test_create 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_copy_move/.dirs/runtime 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir1/subdir' --> '.' 1027s # res = 0, error code 2 = Target file exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir1/subdir' --> 'target-file' 1027s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir2' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir-target' --> 'dir-target' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir-target' --> '.' 1027s # res = 0, error code 2 = Target file exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir-target' --> 'target-file' 1027s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/dir-target”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir-target' --> 'not_exists' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir-target' --> 'dir_no-access' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'dir-target' --> 'dir_no-write' 1027s # res = 0, error code 25 = Can’t recursively copy directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'target-file' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'target-file' --> '.' 1027s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file”: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'target-file' --> 'target-file' 1027s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/target-file”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'target-file' --> 'not_exists' 1027s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'target-file' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'target-file' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file-symlink' --> '.' 1027s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/normal_file-symlink: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1027s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1027s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> '.' 1027s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/executable_file”: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> 'target-file' 1027s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/executable_file”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> 'not_exists' 1027s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'executable_file' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> '.' 1027s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/private_file”: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> 'target-file' 1027s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/private_file”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> 'not_exists' 1027s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'private_file' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> '.' 1027s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/normal_file2”: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> 'target-file' 1027s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> 'not_exists' 1027s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> '.' 1027s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/UTF_příliš z”: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1027s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1027s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'pattern_file' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'pattern_file' --> '.' 1027s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/pattern_file”: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'pattern_file' --> 'target-file' 1027s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'pattern_file' --> 'not_exists' 1027s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> 'dir-target' 1027s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> '.' 1027s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> 'target-file' 1027s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> 'not_exists' 1027s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> 'dir_no-access' 1027s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> 'dir_no-write' 1027s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists”: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'not_exists' --> 'dir-target' 1027s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'lost_symlink' --> 'dir-target' 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'lost_symlink' --> '.' 1027s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/lost_symlink: File exists 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'lost_symlink' --> 'target-file' 1027s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'lost_symlink' --> 'not_exists' 1027s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1027s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1027s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1027s ok 8 /live-g-file/test_copy_move 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_delete/.dirs/runtime 1027s # Deleting dir1, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir1 1027s # result = 0, error = Error removing file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir1: Directory not empty 1027s # Deleting dir2, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir2 1027s # result = 0, error = Error removing file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir2: No such file or directory 1027s # Deleting executable_file, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/executable_file 1027s # result = 0, error = Error trashing file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/executable_file: No such file or directory 1027s # Deleting readonly_file, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/readonly_file 1027s # Deleting dir_příliš z, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_příliš z 1027s # Deleting not_exists, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists 1027s # result = 0, error = Error removing file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists: No such file or directory 1027s # Deleting not_exists, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists 1027s # result = 0, error = Error trashing file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/not_exists: No such file or directory 1027s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-execute/file 1027s # result = 0, error = Error removing file /tmp/test_live-g-file_9A26J3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1027s # Deleting lost_symlink, path = /tmp/test_live-g-file_9A26J3/testdir_live-g-file/lost_symlink 1027s ok 9 /live-g-file/test_delete 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1027s # We do not have CAP_DAC_OVERRIDE or equivalent 1027s ok 10 /live-g-file/test_make_directory_with_parents 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/final_clean/.dirs/runtime 1027s # Cleaning target testing structure in '/tmp/test_live-g-file_9A26J3/testdir_live-g-file'... 1027s # deleting 'dir1' 1027s # deleting 'subdir' 1027s # deleting 'dir-target' 1027s # deleting 'dir2' 1027s # deleting 'target-file' 1027s # deleting 'normal_file-symlink' 1027s # deleting 'executable_file' 1027s # deleting 'private_file' 1027s # deleting 'normal_file2' 1027s # deleting 'UTF_příliš z' 1027s # deleting 'pattern_file' 1027s # deleting 'lost_symlink' 1027s # deleting 'dir_no-access' 1027s # deleting 'dir_no-write' 1027s # deleting 'target-file' 1027s # deleting 'normal_file' 1027s # deleting 'normal_file-symlink' 1027s # deleting 'executable_file~' 1027s # deleting 'private_file' 1027s # deleting 'normal_file2~' 1027s # deleting 'UTF_příliš z' 1027s # deleting 'dir_hidden' 1027s # deleting '.a-hidden-file' 1027s # deleting 'file-in-.hidden1' 1027s # deleting '.hidden' 1027s # deleting 'file-in-.hidden2' 1027s # deleting 'pattern_file' 1027s # deleting 'executable_file' 1027s # deleting 'normal_file2' 1027s # deleting 'not_exists2' 1027s # deleting 'not_exists3' 1027s # deleting 'not_exists4' 1027s # deleting 'a' 1027s ok 11 /live-g-file/final_clean 1027s # Start of test_unix_is_mountpoint tests 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1027s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_9A26J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1027s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1027s # End of test_unix_is_mountpoint tests 1027s # End of live-g-file tests 1027s TAP version 14 1027s # random seed: R02Sa1c352c5389d5bf5a65bdea7017348e6 1027s 1..2 1027s # Start of gtask tests 1027s # 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. 1027s ok 1 /gtask/name 1027s # Start of name tests 1027s # 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. 1027s ok 2 /gtask/name/macro-wrapper 1027s # End of name tests 1027s # End of gtask tests 1027s TAP version 14 1027s # random seed: R02Sc03e1f2c1c85b34c1b03f975ee9cf530 1027s 1..7 1027s # Start of environ tests 1027s # /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. 1027s ok 1 /environ/listenv 1027s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1027s ok 2 /environ/getenv 1027s ok 3 /environ/setenv 1027s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1027s ok 4 /environ/array 1027s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1027s ok 5 /environ/null 1027s # /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. 1027s ok 6 /environ/case 1027s # /environ/expansion summary: Test expansion of environment variable references. 1027s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1027s # End of environ tests 1027s TAP version 14 1027s # random seed: R02Sf534af65384a4197b20554ba68c263d4 1027s 1..21 1027s # Start of bytes tests 1027s ok 1 /bytes/new 1027s ok 2 /bytes/new-take 1027s ok 3 /bytes/new-static 1027s ok 4 /bytes/new-with-free-func 1027s ok 5 /bytes/new-from-bytes 1027s ok 6 /bytes/new-from-bytes-slice 1027s ok 7 /bytes/new-from-bytes-shared-ref 1027s ok 8 /bytes/hash 1027s ok 9 /bytes/equal 1027s ok 10 /bytes/compare 1027s ok 11 /bytes/null 1027s ok 12 /bytes/get-region 1027s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1027s ok 13 /bytes/unref-null 1027s # Start of to-data tests 1027s ok 14 /bytes/to-data/transferred 1027s ok 15 /bytes/to-data/two-refs 1027s ok 16 /bytes/to-data/non-malloc 1027s ok 17 /bytes/to-data/different-free-func 1027s # End of to-data tests 1027s # Start of to-array tests 1027s ok 18 /bytes/to-array/transferred 1027s ok 19 /bytes/to-array/two-refs 1027s ok 20 /bytes/to-array/non-malloc 1027s # Start of transferred tests 1027s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1027s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 1027s # End of transferred tests 1027s # End of to-array tests 1027s # End of bytes tests 1027s TAP version 14 1027s # random seed: R02Sde88b9be5cfce7d6a622b2994b6e8dad 1027s 1..1 1027s # Start of gdbus tests 1027s # Start of method-invocation tests 1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/home 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/cache 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/system-config2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/config 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/system-data2 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/data 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/state 1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_S4DEK3/gdbus/method-invocation/return/.dirs/runtime 1027s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1027s # Calling org.freedesktop.DBus.Properties.Get 1027s # Calling org.freedesktop.DBus.Properties.Get 1027s # Calling org.freedesktop.DBus.Properties.Get 1027s # Calling org.freedesktop.DBus.Properties.Set 1027s # Calling org.freedesktop.DBus.Properties.GetAll 1027s # Calling org.example.Foo.WrongReturnType 1028s ok - glib/gdbus-method-invocation.test 1028s # Running test: glib/actions.test 1028s # Calling org.example.Foo.GetFDs 1028s # Calling org.example.Foo.GetFDs 1028s # Calling org.example.Foo.ReturnError 1028s # Calling org.example.Foo.CloseBeforeReturning 1028s ok 1 /gdbus/method-invocation/return 1028s # End of method-invocation tests 1028s # End of gdbus tests 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s TAP version 14 1028s # random seed: R02S913198f2877c1d8667e56139b9521ded 1028s 1..13 1028s # Start of actions tests 1028s ok 1 /actions/basic 1028s ok 2 /actions/name 1028s ok 3 /actions/simplegroup 1028s ok 4 /actions/stateful 1028s ok 5 /actions/default-activate 1028s ok 6 /actions/entries 1028s ok 7 /actions/parse-detailed 1028s ok 8 /actions/property 1028s ok 9 /actions/no-properties 1028s # Start of dbus tests 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s ok 10 /actions/dbus/export 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1029s # Executing: glib/actions.test 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 11 /actions/dbus/threaded 1031s # slow test /actions/dbus/threaded executed in 3.32 secs 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 12 /actions/dbus/bug679509 1031s # Start of export tests 1031s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 13 /actions/dbus/export/error-handling 1031s # End of export tests 1031s # End of dbus tests 1031s # End of actions tests 1031s ok - glib/actions.test 1031s # Running test: glib/boxed.test 1031s TAP version 14 1031s # random seed: R02S15f5b871b33a3c9ed47b74290bce5b04 1031s 1..27 1031s # Start of boxed tests 1031s ok 1 /boxed/define 1031s ok 2 /boxed/ownership 1031s ok 3 /boxed/closure 1031s ok 4 /boxed/date 1031s ok 5 /boxed/value 1031s ok 6 /boxed/string 1031s ok 7 /boxed/hashtable 1031s ok 8 /boxed/array 1031s ok 9 /boxed/ptrarray 1031s ok 10 /boxed/regex 1031s ok 11 /boxed/varianttype 1031s ok 12 /boxed/error 1031s ok 13 /boxed/datetime 1031s ok 14 /boxed/matchinfo 1031s ok 15 /boxed/keyfile 1031s ok 16 /boxed/mainloop 1031s ok 17 /boxed/maincontext 1031s ok 18 /boxed/source 1031s ok 19 /boxed/variantbuilder 1031s ok 20 /boxed/timezone 1031s ok 21 /boxed/pollfd 1031s ok 22 /boxed/markup 1031s ok 23 /boxed/thread 1031s ok 24 /boxed/checksum 1031s ok - glib/boxed.test 1031s # Running test: glib/dbus-appinfo.test 1031s ok 25 /boxed/tree 1031s ok 26 /boxed/patternspec 1031s ok 27 /boxed/rand 1031s # End of boxed tests 1031s TAP version 14 1031s # random seed: R02Sab7799dbc89a39bb83efb119133d9d04 1031s 1..9 1031s # Start of appinfo tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/runtime 1031s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1031s ok 1 /appinfo/dbusappinfo 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/runtime 1031s # /appinfo/flatpak-doc-export summary: Test that files opened by launching flatpak apps are made available via the document portal. 1031s # Created mount point /tmp/test_dbus-appinfo_N4OOK3/fake-document-portal-XVL5OK3/documents 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Documents 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/config 1031s # Creating Document ID document-id-0 folder 1031s # Creating Document ID document-id-0 mapped to FD 14 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop) 1031s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_N4OOK3/fake-document-portal-XVL5OK3/documents/document-id-0/org.gtk.test.dbusappinfo.flatpak.desktop' 1031s # fake-document-portal cancelled 1031s ok 2 /appinfo/flatpak-doc-export 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1031s # /appinfo/flatpak-missing-doc-export summary: Test that files opened by launching flatpak apps are not made available via the document portal. 1031s # Created mount point /tmp/test_dbus-appinfo_N4OOK3/fake-document-portal-XJI4OK3/documents 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Documents 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/config 1031s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1031s # fake-document-portal cancelled 1031s ok 3 /appinfo/flatpak-missing-doc-export 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/runtime 1031s # /appinfo/snap-doc-export summary: Test that files opened by launching snap apps are made available via the document portal. 1031s # Created mount point /tmp/test_dbus-appinfo_N4OOK3/fake-document-portal-XBJWOK3/documents 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Documents 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/config 1031s # Creating Document ID document-id-0 folder 1031s # Creating Document ID document-id-0 mapped to FD 19 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.snap.desktop) 1031s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_N4OOK3/fake-document-portal-XBJWOK3/documents/document-id-0/org.gtk.test.dbusappinfo.snap.desktop' 1031s # fake-document-portal cancelled 1031s ok 4 /appinfo/snap-doc-export 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/runtime 1031s # /appinfo/snap-missing-doc-export summary: Test that files opened by launching snap apps are not made available via the document portal. 1031s # Created mount point /tmp/test_dbus-appinfo_N4OOK3/fake-document-portal-XG74NK3/documents 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Documents 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-doc-export/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/config 1031s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1031s # fake-document-portal cancelled 1031s ok 5 /appinfo/snap-missing-doc-export 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/runtime 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Desktop 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/snap-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/config 1031s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1031s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/t 1031s # Response emitted 1031s # fake-desktop-portal cancelled 1031s ok 6 /appinfo/portal-open-file 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/runtime 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Desktop 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/config 1031s # Got open file request for http://example.com 1031s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/t 1031s # Response emitted 1031s # fake-desktop-portal cancelled 1031s ok 7 /appinfo/portal-open-uri 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/runtime 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Desktop 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/config 1031s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1031s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_13/gio1389894917 1031s # Response emitted 1031s # fake-desktop-portal cancelled 1031s ok 8 /appinfo/portal-open-file-async 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/runtime 1031s # Acquired a message bus connection 1031s # Acquired the name org.freedesktop.portal.Desktop 1031s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_N4OOK3/appinfo/portal-open-uri-async/.dirs/config 1031s # Got open file request for http://example.com 1031s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_15/gio2039329564 1031s # Response emitted 1031s # fake-desktop-portal cancelled 1031s ok 9 /appinfo/portal-open-uri-async 1031s # End of appinfo tests 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok - glib/dbus-appinfo.test 1031s # Running test: glib/rwlock.test 1031s TAP version 14 1031s # random seed: R02Sbe50574ad885de96e86e1887f085a74a 1031s 1..8 1031s # Start of thread tests 1031s ok 1 /thread/rwlock1 1031s ok 2 /thread/rwlock2 1031s ok 3 /thread/rwlock3 1031s ok 4 /thread/rwlock4 1031s ok 5 /thread/rwlock5 1031s ok 6 /thread/rwlock6 1034s ok 7 /thread/rwlock7 1034s # slow test /thread/rwlock7 executed in 2.83 secs 1034s ok 8 /thread/rwlock8 1034s # End of thread tests 1034s ok - glib/rwlock.test 1034s # Running test: glib/overflow.test 1034s TAP version 14 1034s # random seed: R02Sdffe731de9b4aa3164ff7a201b70a719 1034s 1..6 1034s # Start of glib tests 1034s # Start of checked-math tests 1034s ok 1 /glib/checked-math/guint-add 1034s ok 2 /glib/checked-math/guint-mul 1034s ok 3 /glib/checked-math/guint64-add 1034s ok 4 /glib/checked-math/guint64-mul 1034s ok 5 /glib/checked-math/gsize-add 1034s ok 6 /glib/checked-math/gsize-mul 1034s # End of checked-math tests 1034s # End of glib tests 1034s ok - glib/overflow.test 1034s TAP version 14 1034s # random seed: R02S977d1cb536fc81e21ba5f0ef0e035eb6 1034s 1..2 1034s # Start of glib tests 1034s # Start of 1bit-mutex tests 1034s # Running test: glib/1bit-mutex.test 1034s # Executing: glib/1bit-mutex.test 1036s ok 1 /glib/1bit-mutex/int 1036s # slow test /glib/1bit-mutex/int executed in 1.47 secs 1037s ok 2 /glib/1bit-mutex/pointer 1037s # slow test /glib/1bit-mutex/pointer executed in 1.45 secs 1037s # End of 1bit-mutex tests 1037s # End of glib tests 1037s ok - glib/1bit-mutex.test 1037s # Running test: glib/gdbus-serialization.test 1037s TAP version 14 1037s # random seed: R02S71a2ab61618ab94d81e62237dc7bc490 1037s 1..18 1037s # Start of gdbus tests 1037s # Start of message-serialize tests 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/basic/.dirs/runtime 1037s ok 1 /gdbus/message-serialize/basic 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/complex/.dirs/runtime 1037s ok 2 /gdbus/message-serialize/complex 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/invalid/.dirs/runtime 1037s ok 3 /gdbus/message-serialize/invalid 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/.dirs/runtime 1037s ok - glib/gdbus-serialization.test 1037s # Running test: glib/onceinit.test 1037s ok 4 /gdbus/message-serialize/header-checks 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/double-array/.dirs/runtime 1037s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1037s ok 5 /gdbus/message-serialize/double-array 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/empty-structure/.dirs/runtime 1037s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1037s ok 6 /gdbus/message-serialize/empty-structure 1037s # Start of header-checks tests 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1037s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1037s ok 7 /gdbus/message-serialize/header-checks/valid 1037s # End of header-checks tests 1037s # End of message-serialize tests 1037s # Start of message-parse tests 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1037s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1037s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/non-signature-header/.dirs/runtime 1037s ok 9 /gdbus/message-parse/non-signature-header 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1037s ok 10 /gdbus/message-parse/empty-signature-header 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1037s ok 11 /gdbus/message-parse/multiple-signature-header 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1037s ok 12 /gdbus/message-parse/over-long-signature-header 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1037s ok 13 /gdbus/message-parse/deep-header-nesting 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1037s ok 14 /gdbus/message-parse/deep-body-nesting 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/truncated/.dirs/runtime 1037s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1037s ok 15 /gdbus/message-parse/truncated 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/empty-structure/.dirs/runtime 1037s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1037s ok 16 /gdbus/message-parse/empty-structure 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/missing-header/.dirs/runtime 1037s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1037s ok 17 /gdbus/message-parse/missing-header 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LAFOK3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1037s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1037s ok 18 /gdbus/message-parse/invalid-header-type 1037s # End of message-parse tests 1037s # End of gdbus tests 1037s TAP version 14 1037s # random seed: R02S83b043507e07c89a622cbc154a5fa980 1037s 1..1 1037s # Start of thread tests 1037s ok 1 /thread/onceinit 1037s # End of thread tests 1037s ok - glib/onceinit.test 1037s # Running test: glib/atomic-c-89.test 1037s TAP version 14 1037s # random seed: R02Se0babc06193fb8acd89baba480f6c6b2 1037s 1..2 1037s # Start of atomic tests 1037s ok 1 /atomic/types 1037s ok - glib/atomic-c-89.test 1037s ok 2 /atomic/threaded 1037s # End of atomic tests 1037s # Running test: glib/markup-subparser.test 1037s TAP version 14 1037s # random seed: R02S5787bb551af54c4985e95bfdcb59b1e3 1037s 1..14 1037s # Start of glib tests 1037s # Start of markup tests 1037s # Start of subparser tests 1037s # Start of success tests 1037s ok 1 /glib/markup/subparser/success/0 1037s ok 2 /glib/markup/subparser/success/1 1037s ok 3 /glib/markup/subparser/success/2 1037s ok 4 /glib/markup/subparser/success/3 1037s ok 5 /glib/markup/subparser/success/4 1037s ok 6 /glib/markup/subparser/success/5 1037s ok 7 /glib/markup/subparser/success/6 1037s # End of success tests 1037s # Start of failure tests 1037s ok 8 /glib/markup/subparser/failure/0 1037s ok 9 /glib/markup/subparser/failure/1 1037s ok 10 /glib/markup/subparser/failure/2 1037s ok 11 /glib/markup/subparser/failure/3 1037s ok 12 /glib/markup/subparser/failure/4 1037s ok 13 /glib/markup/subparser/failure/5 1037s ok 14 /glib/markup/subparser/failure/6 1037s # End of failure tests 1037s # End of subparser tests 1037s # End of markup tests 1037s # End of glib tests 1037s ok - glib/markup-subparser.test 1037s # Running test: glib/qdata.test 1037s TAP version 14 1037s # random seed: R02S101811cde9eeb56d548c435c762a7ea1 1037s 1..2 1037s # Start of qdata tests 1038s ok - glib/qdata.test 1038s ok 1 /qdata/threaded 1038s ok 2 /qdata/dup 1038s # End of qdata tests 1038s # Running test: glib/rand.test 1038s TAP version 14 1038s # random seed: R02S96a9db695bb3718e964b5e6c2ad6135f 1038s 1..2 1038s # Start of rand tests 1038s ok - glib/rand.test 1038s ok 1 /rand/test-rand 1038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1038s ok 2 /rand/double-range 1038s # End of rand tests 1038s # Running test: glib/struct-info.test 1038s TAP version 14 1038s # random seed: R02S38adc9cb6d7d2df7c138f0babde37d1f 1038s 1..4 1038s # Start of struct-info tests 1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/home 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/cache 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/system-config2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/config 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/system-data2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/data 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/state 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUCGK3/struct-info/field-iterators/.dirs/runtime 1038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1038s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1038s ok 1 /struct-info/field-iterators 1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/home 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/cache 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/system-config2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/config 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/system-data2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/data 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/state 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUCGK3/struct-info/sizeof-gvalue/.dirs/runtime 1038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1038s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1038s ok 2 /struct-info/sizeof-gvalue 1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUCGK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1038s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1038s ok - glib/struct-info.test 1038s # Running test: glib/memory-monitor-psi.test 1038s ok 3 /struct-info/is-pointer-for-struct-method-arg 1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/home 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/cache 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/system-config2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/config 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/system-data2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/data 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/state 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUCGK3/struct-info/boxed/.dirs/runtime 1038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1038s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1038s ok - glib/memory-monitor-psi.test 1038s # Running test: glib/memory-monitor-poll.test 1038s ok 4 /struct-info/boxed 1038s # End of struct-info tests 1038s TAP version 14 1038s # random seed: R02Sef33fe1d08a22ecf8e10cf68581dc036 1038s 1..1 1038s # Start of memory-monitor-psi tests 1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/home 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/cache 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/system-config2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/config 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/system-data2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/data 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/state 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_KPPGK3/memory-monitor-psi/receive-signal/.dirs/runtime 1038s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1038s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1038s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1038s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1038s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1038s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1038s ok 1 /memory-monitor-psi/receive-signal 1038s # End of memory-monitor-psi tests 1038s TAP version 14 1038s # random seed: R02Sfc0c7a5de377fd6f0d9f31ed1eebfe11 1038s 1..4 1038s # Start of memory-monitor-poll tests 1038s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1038s ok 1 /memory-monitor-poll/dup-default 1038s # GLib-GIO-DEBUG: memory free ratio 0.190000 1038s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1038s ok 2 /memory-monitor-poll/critical-event 1038s # GLib-GIO-DEBUG: memory free ratio 0.290000 1038s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1038s ok 3 /memory-monitor-poll/medium-event 1038s # GLib-GIO-DEBUG: memory free ratio 0.390000 1038s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1038s ok 4 /memory-monitor-poll/low-event 1038s # End of memory-monitor-poll tests 1038s ok - glib/memory-monitor-poll.test 1038s # Running test: glib/registered-type-info.test 1038s TAP version 14 1038s # random seed: R02S79a38b932d8d4bb8b5bf368b0b954467 1038s 1..1 1038s # Start of registered-type-info tests 1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/home 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/cache 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/system-config2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/config 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/system-data2 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/data 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/state 1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_QPSIK3/registered-type-info/boxed/.dirs/runtime 1038s ok - glib/registered-type-info.test 1038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1038s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1038s # Expecting CClosure to not be boxed 1038s # Expecting TypeCValue to not be boxed 1038s # Expecting InitiallyUnownedClass to not be boxed 1038s # Expecting BookmarkFile to be boxed 1038s # Expecting Closure to be boxed 1038s # Expecting Object to not be boxed 1038s ok 1 /registered-type-info/boxed 1038s # End of registered-type-info tests 1038s # Running test: glib/private.test 1038s TAP version 14 1038s # random seed: R02Sa15e412d362d5170676bcce5531df428 1038s 1..8 1038s # Start of thread tests 1038s ok 1 /thread/private1 1039s ok 2 /thread/private2 1039s # slow test /thread/private2 executed in 1.09 secs 1039s ok 3 /thread/private3 1039s ok 4 /thread/staticprivate1 1039s ok 5 /thread/staticprivate2 1039s ok 6 /thread/staticprivate3 1039s # Executing: glib/private.test 1040s ok - glib/private.test 1040s ok 7 /thread/staticprivate4 1040s # slow test /thread/staticprivate4 executed in 1.09 secs 1040s ok 8 /thread/staticprivate5 1040s # End of thread tests 1040s # Running test: glib/portal-support-env-var.test 1040s ok - glib/portal-support-env-var.test 1040s TAP version 14 1040s # random seed: R02Sc39f5880da66360256da5482cb867d76 1040s 1..1 1040s # Start of portal-support tests 1040s ok 1 /portal-support/env-var 1040s # End of portal-support tests 1040s # Running test: glib/gdbus-close-pending.test 1040s TAP version 14 1040s # random seed: R02Sff9d8cc25ed6eebf90563ed6e42d086b 1040s 1..2 1040s # Start of gdbus tests 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/close-pending/.dirs/runtime 1040s ok 1 /gdbus/close-pending 1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/home 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/cache 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/system-config2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/config 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/system-data2 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/data 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/state 1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_6WSPK3/gdbus/unref-pending/.dirs/runtime 1041s ok - glib/gdbus-close-pending.test 1041s ok 2 /gdbus/unref-pending 1041s # End of gdbus tests 1041s # Running test: glib/network-address.test 1041s TAP version 14 1041s # random seed: R02S9deeca72f5d9124a4539b7f714e0c1d6 1041s 1..72 1041s # Start of network-address tests 1041s ok 1 /network-address/basic 1041s ok 2 /network-address/scope-id 1041s ok 3 /network-address/uri-scope-id 1041s ok 4 /network-address/to-string 1041s # Start of parse-host tests 1041s ok 5 /network-address/parse-host/0 1041s ok 6 /network-address/parse-host/1 1041s ok 7 /network-address/parse-host/2 1041s ok 8 /network-address/parse-host/3 1041s ok 9 /network-address/parse-host/4 1041s ok 10 /network-address/parse-host/5 1041s ok 11 /network-address/parse-host/6 1041s ok 12 /network-address/parse-host/7 1041s ok 13 /network-address/parse-host/8 1041s ok 14 /network-address/parse-host/9 1041s ok 15 /network-address/parse-host/10 1041s ok 16 /network-address/parse-host/11 1041s ok 17 /network-address/parse-host/12 1041s ok 18 /network-address/parse-host/13 1041s # End of parse-host tests 1041s # Start of parse-uri tests 1041s ok 19 /network-address/parse-uri/0 1041s ok 20 /network-address/parse-uri/1 1041s ok 21 /network-address/parse-uri/2 1041s ok 22 /network-address/parse-uri/3 1041s ok 23 /network-address/parse-uri/4 1041s ok 24 /network-address/parse-uri/5 1041s ok 25 /network-address/parse-uri/6 1041s ok 26 /network-address/parse-uri/7 1041s ok 27 /network-address/parse-uri/8 1041s ok 28 /network-address/parse-uri/9 1041s # End of parse-uri tests 1041s # Start of resolve-address tests 1041s # Input: 192.168.1.2 1041s ok 29 /network-address/resolve-address/0 1041s # Input: fe80::42 1041s ok 30 /network-address/resolve-address/1 1041s # Input: 192.168.1.2:80 1041s ok 31 /network-address/resolve-address/2 1041s # Input: [fe80::42] 1041s ok 32 /network-address/resolve-address/3 1041s # Input: [fe80::42]:80 1041s ok 33 /network-address/resolve-address/4 1041s # Input: 192.168.258 1041s ok 34 /network-address/resolve-address/5 1041s # Input: 192.11010306 1041s ok 35 /network-address/resolve-address/6 1041s # Input: 3232235778 1041s ok 36 /network-address/resolve-address/7 1041s # Input: 0300.0250.0001.0001 1041s ok 37 /network-address/resolve-address/8 1041s # Input: 0xC0.0xA8.0x01.0x02 1041s ok 38 /network-address/resolve-address/9 1041s # Input: 0xc0.0xa8.0x01.0x02 1041s ok 39 /network-address/resolve-address/10 1041s # Input: 0xc0a80102 1041s ok 40 /network-address/resolve-address/11 1041s # End of resolve-address tests 1041s # Start of loopback tests 1041s ok 41 /network-address/loopback/basic 1041s ok 42 /network-address/loopback/sync 1041s ok 43 /network-address/loopback/async 1041s # End of loopback tests 1041s # Start of localhost tests 1041s ok 44 /network-address/localhost/async 1041s ok 45 /network-address/localhost/sync 1041s # End of localhost tests 1041s # Start of happy-eyeballs tests 1041s ok 46 /network-address/happy-eyeballs/basic 1041s ok 47 /network-address/happy-eyeballs/parallel 1041s ok 48 /network-address/happy-eyeballs/slow-ipv4 1041s ok 49 /network-address/happy-eyeballs/slow-ipv6 1041s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1042s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1042s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1042s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1042s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1042s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1042s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1042s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1042s # /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. 1042s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1042s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1042s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1042s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1042s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1042s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1042s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1042s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1042s ok 57 /network-address/happy-eyeballs/both-error 1042s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1042s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1042s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1042s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1042s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1042s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1042s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1042s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1042s # End of happy-eyeballs tests 1042s # End of network-address tests 1042s # Start of gresolver tests 1042s # Start of resolve-address tests 1042s # Input: 192.168.1.2 1042s ok 61 /gresolver/resolve-address/0 1042s # Input: fe80::42 1042s ok 62 /gresolver/resolve-address/1 1042s # Input: 192.168.1.2:80 1042s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1042s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1042s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1042s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1042s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1042s ok 63 /gresolver/resolve-address/2 1042s # Input: [fe80::42] 1042s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1042s # Error: Error resolving “[fe80::42]”: Name or service not known 1042s ok 64 /gresolver/resolve-address/3 1042s # Input: [fe80::42]:80 1042s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1042s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1042s ok 65 /gresolver/resolve-address/4 1042s # Input: 192.168.258 1042s # Error: Error resolving “192.168.258”: Name or service not known 1042s ok 66 /gresolver/resolve-address/5 1042s # Input: 192.11010306 1042s # Error: Error resolving “192.11010306”: Name or service not known 1042s ok 67 /gresolver/resolve-address/6 1042s # Input: 3232235778 1042s # Error: Error resolving “3232235778”: Name or service not known 1042s ok 68 /gresolver/resolve-address/7 1042s # Input: 0300.0250.0001.0001 1042s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1042s ok 69 /gresolver/resolve-address/8 1042s # Input: 0xC0.0xA8.0x01.0x02 1042s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1042s ok 70 /gresolver/resolve-address/9 1042s ok - glib/network-address.test 1042s # Running test: glib/strfuncs.test 1042s # Input: 0xc0.0xa8.0x01.0x02 1042s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1042s ok 71 /gresolver/resolve-address/10 1042s # Input: 0xc0a80102 1042s # Error: Error resolving “0xc0a80102”: Name or service not known 1042s ok 72 /gresolver/resolve-address/11 1042s # End of resolve-address tests 1042s # End of gresolver tests 1042s TAP version 14 1042s # random seed: R02S3c968bc7b6d014b656ed604fea8e4187 1042s 1..52 1042s # Start of strfuncs tests 1042s ok 1 /strfuncs/ascii-strcasecmp 1042s ok 2 /strfuncs/ascii_strdown 1042s ok 3 /strfuncs/ascii_strdup 1042s ok 4 /strfuncs/ascii_strtod 1042s ok 5 /strfuncs/bounds-check 1042s ok 6 /strfuncs/has-prefix 1042s ok 7 /strfuncs/has-prefix-macro 1042s ok 8 /strfuncs/has-suffix 1042s ok 9 /strfuncs/has-suffix-macro 1042s ok 10 /strfuncs/memdup 1042s ok 11 /strfuncs/memdup2 1042s ok 12 /strfuncs/set_str 1042s ok 13 /strfuncs/stpcpy 1042s ok 14 /strfuncs/str_match_string 1042s ok 15 /strfuncs/str_tokenize_and_fold 1042s ok 16 /strfuncs/strcanon 1042s ok 17 /strfuncs/strchomp 1042s ok 18 /strfuncs/strchug 1042s ok 19 /strfuncs/strcompress-strescape 1042s ok 20 /strfuncs/strconcat 1042s ok 21 /strfuncs/strdelimit 1042s ok 22 /strfuncs/strdup 1042s ok 23 /strfuncs/strdup-printf 1042s ok 24 /strfuncs/strdupv 1042s ok 25 /strfuncs/strerror 1042s ok 26 /strfuncs/strip-context 1042s ok 27 /strfuncs/strjoin 1042s ok 28 /strfuncs/strjoinv 1042s ok 29 /strfuncs/strlcat 1042s ok 30 /strfuncs/strlcpy 1042s ok 31 /strfuncs/strncasecmp 1042s ok 32 /strfuncs/strndup 1042s ok 33 /strfuncs/strnfill 1042s ok 34 /strfuncs/strreverse 1042s ok 35 /strfuncs/strsignal 1042s ok 36 /strfuncs/strsplit 1042s ok 37 /strfuncs/strsplit-set 1042s ok 38 /strfuncs/strstr 1042s ok 39 /strfuncs/strtod 1042s ok 40 /strfuncs/strtoull-strtoll 1042s ok 41 /strfuncs/strup 1042s ok 42 /strfuncs/strv-contains 1042s ok 43 /strfuncs/strv-equal 1042s ok 44 /strfuncs/strv-length 1042s ok 45 /strfuncs/test-is-to-digit 1042s ok 46 /strfuncs/transliteration 1042s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1042s ok 47 /strfuncs/str-equal 1042s ok 48 /strfuncs/str-is-ascii 1042s # Start of ascii-string-to-num tests 1042s ok 49 /strfuncs/ascii-string-to-num/pathological 1042s ok 50 /strfuncs/ascii-string-to-num/usual 1042s # End of ascii-string-to-num tests 1042s # Start of strdup tests 1042s ok 51 /strfuncs/strdup/inline 1042s # End of strdup tests 1042s # Start of strjoinv tests 1042s ok - glib/strfuncs.test 1042s ok 52 /strfuncs/strjoinv/overflow 1042s # End of strjoinv tests 1042s # End of strfuncs tests 1042s # Running test: glib/portal-support-snap.test 1042s TAP version 14 1042s # random seed: R02Se1e826c16e5c60b7fca576fd8774ffc7 1042s 1..7 1042s # Start of portal-support tests 1042s # Start of snap tests 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/no-snapctl: No such file or directory 1042s ok 1 /portal-support/snap/no-snapctl 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/none: No such file or directory 1042s ok 2 /portal-support/snap/none 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/all: No such file or directory 1042s ok 3 /portal-support/snap/all 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/desktop-only: No such file or directory 1042s ok 4 /portal-support/snap/desktop-only 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/network-only: No such file or directory 1042s ok 5 /portal-support/snap/network-only 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/gsettings-only: No such file or directory 1042s ok 6 /portal-support/snap/gsettings-only 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime 1042s # Created snap.yaml in /tmp/test_portal-support-snap_AV09J3/meta/snap.yaml 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s # Created snapctl in /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1042s ok - glib/portal-support-snap.test 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3/portal-support/snap/updates-dynamically: No such file or directory 1042s ok 7 /portal-support/snap/updates-dynamically 1042s # End of snap tests 1042s # End of portal-support tests 1042s Unable to clean up temporary directory /tmp/test_portal-support-snap_AV09J3: No such file or directory 1042s TAP version 14 1042s # random seed: R02S51cbecd22a3659bf9f61a9e596abb385 1042s 1..5 1042s # Start of sort tests 1042s ok 1 /sort/basic 1042s ok 2 /sort/zero-elements 1042s ok 3 /sort/stable 1042s ok 4 /sort/big 1042s ok 5 /sort/deprecated 1042s # End of sort tests 1042s # Running test: glib/sort.test 1042s ok - glib/sort.test 1042s # Running test: glib/utf8-validate.test 1042s TAP version 14 1042s # random seed: R02S9f8545f970bac86ed9bcdcd0961e4bc0 1042s 1..238 1042s # Start of utf8 tests 1042s # Vector 0 1042s # Vector 1 1042s # Vector 2 1042s # Vector 3 1042s # Vector 4 1042s # Vector 5 1042s # Vector 6 1042s # Vector 7 1042s # Vector 8 1042s # Vector 9 1042s # Vector 10 1042s # Vector 11 1042s # Vector 12 1042s # Vector 13 1042s # Vector 14 1042s # Vector 15 1042s # Vector 16 1042s # Vector 17 1042s # Vector 18 1042s # Vector 19 1042s # Vector 20 1042s # Vector 21 1042s # Vector 22 1042s # Vector 23 1042s # Vector 24 1042s # Vector 25 1042s # Vector 26 1042s # Vector 27 1042s ok 1 /utf8/get-char-validated 1042s # Start of validate tests 1042s ok 2 /utf8/validate/0 1042s ok 3 /utf8/validate/1 1042s ok 4 /utf8/validate/2 1042s ok 5 /utf8/validate/3 1042s ok 6 /utf8/validate/4 1042s ok 7 /utf8/validate/5 1042s ok 8 /utf8/validate/6 1042s ok 9 /utf8/validate/7 1042s ok 10 /utf8/validate/8 1042s ok 11 /utf8/validate/9 1042s ok 12 /utf8/validate/10 1042s ok 13 /utf8/validate/11 1042s ok 14 /utf8/validate/12 1042s ok 15 /utf8/validate/13 1042s ok 16 /utf8/validate/14 1042s ok 17 /utf8/validate/15 1042s ok 18 /utf8/validate/16 1042s ok 19 /utf8/validate/17 1042s ok 20 /utf8/validate/18 1042s ok 21 /utf8/validate/19 1042s ok 22 /utf8/validate/20 1042s ok 23 /utf8/validate/21 1042s ok 24 /utf8/validate/22 1042s ok 25 /utf8/validate/23 1042s ok 26 /utf8/validate/24 1042s ok 27 /utf8/validate/25 1042s ok 28 /utf8/validate/26 1042s ok 29 /utf8/validate/27 1042s ok 30 /utf8/validate/28 1042s ok 31 /utf8/validate/29 1042s ok 32 /utf8/validate/30 1042s ok 33 /utf8/validate/31 1042s ok 34 /utf8/validate/32 1042s ok 35 /utf8/validate/33 1042s ok 36 /utf8/validate/34 1042s ok 37 /utf8/validate/35 1042s ok 38 /utf8/validate/36 1042s ok 39 /utf8/validate/37 1042s ok 40 /utf8/validate/38 1042s ok 41 /utf8/validate/39 1042s ok 42 /utf8/validate/40 1042s ok 43 /utf8/validate/41 1042s ok 44 /utf8/validate/42 1042s ok 45 /utf8/validate/43 1042s ok 46 /utf8/validate/44 1042s ok 47 /utf8/validate/45 1042s ok 48 /utf8/validate/46 1042s ok 49 /utf8/validate/47 1042s ok 50 /utf8/validate/48 1042s ok 51 /utf8/validate/49 1042s ok 52 /utf8/validate/50 1042s ok 53 /utf8/validate/51 1042s ok 54 /utf8/validate/52 1042s ok 55 /utf8/validate/53 1042s ok 56 /utf8/validate/54 1042s ok 57 /utf8/validate/55 1042s ok 58 /utf8/validate/56 1042s ok 59 /utf8/validate/57 1042s ok 60 /utf8/validate/58 1042s ok 61 /utf8/validate/59 1042s ok 62 /utf8/validate/60 1042s ok 63 /utf8/validate/61 1042s ok 64 /utf8/validate/62 1042s ok 65 /utf8/validate/63 1042s ok 66 /utf8/validate/64 1042s ok 67 /utf8/validate/65 1042s ok 68 /utf8/validate/66 1042s ok 69 /utf8/validate/67 1042s ok 70 /utf8/validate/68 1042s ok 71 /utf8/validate/69 1042s ok 72 /utf8/validate/70 1042s ok 73 /utf8/validate/71 1042s ok 74 /utf8/validate/72 1042s ok 75 /utf8/validate/73 1042s ok 76 /utf8/validate/74 1042s ok 77 /utf8/validate/75 1042s ok 78 /utf8/validate/76 1042s ok 79 /utf8/validate/77 1042s ok 80 /utf8/validate/78 1042s ok 81 /utf8/validate/79 1042s ok 82 /utf8/validate/80 1042s ok 83 /utf8/validate/81 1042s ok 84 /utf8/validate/82 1042s ok 85 /utf8/validate/83 1042s ok 86 /utf8/validate/84 1042s ok 87 /utf8/validate/85 1042s ok 88 /utf8/validate/86 1042s ok 89 /utf8/validate/87 1042s ok 90 /utf8/validate/88 1042s ok 91 /utf8/validate/89 1042s ok 92 /utf8/validate/90 1042s ok 93 /utf8/validate/91 1042s ok 94 /utf8/validate/92 1042s ok 95 /utf8/validate/93 1042s ok 96 /utf8/validate/94 1042s ok 97 /utf8/validate/95 1042s ok 98 /utf8/validate/96 1042s ok 99 /utf8/validate/97 1042s ok 100 /utf8/validate/98 1042s ok 101 /utf8/validate/99 1042s ok 102 /utf8/validate/100 1042s ok 103 /utf8/validate/101 1042s ok 104 /utf8/validate/102 1042s ok 105 /utf8/validate/103 1042s ok 106 /utf8/validate/104 1042s ok 107 /utf8/validate/105 1042s ok 108 /utf8/validate/106 1042s ok 109 /utf8/validate/107 1042s ok 110 /utf8/validate/108 1042s ok 111 /utf8/validate/109 1042s ok 112 /utf8/validate/110 1042s ok 113 /utf8/validate/111 1042s ok 114 /utf8/validate/112 1042s ok 115 /utf8/validate/113 1042s ok 116 /utf8/validate/114 1042s ok 117 /utf8/validate/115 1042s ok 118 /utf8/validate/116 1042s ok 119 /utf8/validate/117 1042s ok 120 /utf8/validate/118 1042s ok 121 /utf8/validate/119 1042s ok 122 /utf8/validate/120 1042s ok 123 /utf8/validate/121 1042s ok 124 /utf8/validate/122 1042s ok 125 /utf8/validate/123 1042s ok 126 /utf8/validate/124 1042s ok 127 /utf8/validate/125 1042s ok 128 /utf8/validate/126 1042s ok 129 /utf8/validate/127 1042s ok 130 /utf8/validate/128 1042s ok 131 /utf8/validate/129 1042s ok 132 /utf8/validate/130 1042s ok 133 /utf8/validate/131 1042s ok 134 /utf8/validate/132 1042s ok - glib/utf8-validate.test 1042s ok 135 /utf8/validate/133 1042s ok 136 /utf8/validate/134 1042s ok 137 /utf8/validate/135 1042s ok 138 /utf8/validate/136 1042s ok 139 /utf8/validate/137 1042s ok 140 /utf8/validate/138 1042s ok 141 /utf8/validate/139 1042s ok 142 /utf8/validate/140 1042s ok 143 /utf8/validate/141 1042s ok 144 /utf8/validate/142 1042s ok 145 /utf8/validate/143 1042s ok 146 /utf8/validate/144 1042s ok 147 /utf8/validate/145 1042s ok 148 /utf8/validate/146 1042s ok 149 /utf8/validate/147 1042s ok 150 /utf8/validate/148 1042s ok 151 /utf8/validate/149 1042s ok 152 /utf8/validate/150 1042s ok 153 /utf8/validate/151 1042s ok 154 /utf8/validate/152 1042s ok 155 /utf8/validate/153 1042s ok 156 /utf8/validate/154 1042s ok 157 /utf8/validate/155 1042s ok 158 /utf8/validate/156 1042s ok 159 /utf8/validate/157 1042s ok 160 /utf8/validate/158 1042s ok 161 /utf8/validate/159 1042s ok 162 /utf8/validate/160 1042s ok 163 /utf8/validate/161 1042s ok 164 /utf8/validate/162 1042s ok 165 /utf8/validate/163 1042s ok 166 /utf8/validate/164 1042s ok 167 /utf8/validate/165 1042s ok 168 /utf8/validate/166 1042s ok 169 /utf8/validate/167 1042s ok 170 /utf8/validate/168 1042s ok 171 /utf8/validate/169 1042s ok 172 /utf8/validate/170 1042s ok 173 /utf8/validate/171 1042s ok 174 /utf8/validate/172 1042s ok 175 /utf8/validate/173 1042s ok 176 /utf8/validate/174 1042s ok 177 /utf8/validate/175 1042s ok 178 /utf8/validate/176 1042s ok 179 /utf8/validate/177 1042s ok 180 /utf8/validate/178 1042s ok 181 /utf8/validate/179 1042s ok 182 /utf8/validate/180 1042s ok 183 /utf8/validate/181 1042s ok 184 /utf8/validate/182 1042s ok 185 /utf8/validate/183 1042s ok 186 /utf8/validate/184 1042s ok 187 /utf8/validate/185 1042s # Running test: glib/ifaceproperties.test 1042s ok - glib/ifaceproperties.test 1042s # Running test: glib/bookmarkfile.test 1043s ok 188 /utf8/validate/186 1043s ok 189 /utf8/validate/187 1043s ok 190 /utf8/validate/188 1043s ok 191 /utf8/validate/189 1043s ok 192 /utf8/validate/190 1043s ok 193 /utf8/validate/191 1043s ok 194 /utf8/validate/192 1043s ok 195 /utf8/validate/193 1043s ok 196 /utf8/validate/194 1043s ok 197 /utf8/validate/195 1043s ok 198 /utf8/validate/196 1043s ok 199 /utf8/validate/197 1043s ok 200 /utf8/validate/198 1043s ok 201 /utf8/validate/199 1043s ok 202 /utf8/validate/200 1043s ok 203 /utf8/validate/201 1043s ok 204 /utf8/validate/202 1043s ok 205 /utf8/validate/203 1043s ok 206 /utf8/validate/204 1043s ok 207 /utf8/validate/205 1043s ok 208 /utf8/validate/206 1043s ok 209 /utf8/validate/207 1043s ok 210 /utf8/validate/208 1043s ok 211 /utf8/validate/209 1043s ok 212 /utf8/validate/210 1043s ok 213 /utf8/validate/211 1043s ok 214 /utf8/validate/212 1043s ok 215 /utf8/validate/213 1043s ok 216 /utf8/validate/214 1043s ok 217 /utf8/validate/215 1043s ok 218 /utf8/validate/216 1043s ok 219 /utf8/validate/217 1043s ok 220 /utf8/validate/218 1043s ok 221 /utf8/validate/219 1043s ok 222 /utf8/validate/220 1043s ok 223 /utf8/validate/221 1043s ok 224 /utf8/validate/222 1043s ok 225 /utf8/validate/223 1043s ok 226 /utf8/validate/224 1043s ok 227 /utf8/validate/225 1043s ok 228 /utf8/validate/226 1043s ok 229 /utf8/validate/227 1043s ok 230 /utf8/validate/228 1043s ok 231 /utf8/validate/229 1043s ok 232 /utf8/validate/230 1043s ok 233 /utf8/validate/231 1043s ok 234 /utf8/validate/232 1043s ok 235 /utf8/validate/233 1043s ok 236 /utf8/validate/234 1043s ok 237 /utf8/validate/235 1043s ok 238 /utf8/validate/236 1043s # End of validate tests 1043s # End of utf8 tests 1043s TAP version 14 1043s # random seed: R02S24f65443e93c1908f7b168280fa683b7 1043s 1..7 1043s # Start of interface tests 1043s # Start of properties tests 1043s ok 1 /interface/properties/set 1043s ok 2 /interface/properties/notify 1043s ok 3 /interface/properties/find-overridden 1043s ok 4 /interface/properties/list-overridden 1043s ok 5 /interface/properties/find-interface 1043s ok 6 /interface/properties/list-interface 1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1043s ok 7 /interface/properties/not-overridden 1043s # End of properties tests 1043s # End of interface tests 1043s TAP version 14 1043s # random seed: R02Sd8324023aa32dcfdd40c493016d97145 1043s 1..96 1043s # Start of bookmarks tests 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/load-from-data-dirs/.dirs/runtime 1043s ok 1 /bookmarks/load-from-data-dirs 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/to-file/.dirs/runtime 1043s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_T8ADK3/bookmarkfile-test-7LADK3.xbel 1043s # Roundtrip from a valid bookmark file 1043s ok - glib/bookmarkfile.test 1043s # Running test: glib/convert.test 1043s ok 2 /bookmarks/to-file 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/move-item/.dirs/runtime 1043s ok 3 /bookmarks/move-item 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/corner-cases/.dirs/runtime 1043s ok 4 /bookmarks/corner-cases 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/misc/.dirs/runtime 1043s ok 5 /bookmarks/misc 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/deprecated/.dirs/runtime 1043s ok 6 /bookmarks/deprecated 1043s # Start of parse tests 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1043s ok 7 /bookmarks/parse/fail-01.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1043s ok 8 /bookmarks/parse/fail-02.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1043s ok 9 /bookmarks/parse/fail-03.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1043s ok 10 /bookmarks/parse/fail-04.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1043s ok - glib/convert.test 1043s # Running test: glib/mount-operation.test 1043s ok - glib/mount-operation.test 1043s # Running test: glib/tls-bindings.test 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1043s ok 11 /bookmarks/parse/fail-05.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1043s ok 12 /bookmarks/parse/fail-06.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1043s ok 13 /bookmarks/parse/fail-07.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1043s ok 14 /bookmarks/parse/fail-08.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1043s ok 15 /bookmarks/parse/fail-09.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1043s ok 16 /bookmarks/parse/fail-10.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1043s ok 17 /bookmarks/parse/fail-11.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1043s ok 18 /bookmarks/parse/fail-12.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1043s ok 19 /bookmarks/parse/fail-13.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1043s ok 20 /bookmarks/parse/fail-14.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1043s ok 21 /bookmarks/parse/fail-15.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1043s ok 22 /bookmarks/parse/fail-16.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1043s ok 23 /bookmarks/parse/fail-17.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1043s ok 24 /bookmarks/parse/fail-18.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1043s ok 25 /bookmarks/parse/fail-19.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1043s ok 26 /bookmarks/parse/fail-20.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1043s ok 27 /bookmarks/parse/fail-21.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1043s ok 28 /bookmarks/parse/fail-22.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1043s ok 29 /bookmarks/parse/fail-23.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1043s ok 30 /bookmarks/parse/fail-24.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1043s ok 31 /bookmarks/parse/fail-25.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1043s ok 32 /bookmarks/parse/fail-26.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1043s ok 33 /bookmarks/parse/fail-27.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1043s ok 34 /bookmarks/parse/fail-28.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1043s ok 35 /bookmarks/parse/fail-29.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1043s ok 36 /bookmarks/parse/fail-30.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1043s ok 37 /bookmarks/parse/fail-31.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1043s ok 38 /bookmarks/parse/fail-32.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1043s ok 39 /bookmarks/parse/fail-33.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1043s ok 40 /bookmarks/parse/fail-34.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1043s ok 41 /bookmarks/parse/fail-35.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1043s ok 42 /bookmarks/parse/fail-36.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1043s ok 43 /bookmarks/parse/fail-37.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1043s ok 44 /bookmarks/parse/fail-38.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1043s ok 45 /bookmarks/parse/fail-39.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1043s ok 46 /bookmarks/parse/fail-40.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1043s ok 47 /bookmarks/parse/fail-41.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1043s ok 48 /bookmarks/parse/fail-42.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1043s ok 49 /bookmarks/parse/valid-01.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1043s ok 50 /bookmarks/parse/valid-02.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1043s ok 51 /bookmarks/parse/valid-03.xbel 1043s # End of parse tests 1043s # Start of copy tests 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1043s ok 52 /bookmarks/copy/fail-01.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1043s ok 53 /bookmarks/copy/fail-02.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1043s ok 54 /bookmarks/copy/fail-03.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1043s ok 55 /bookmarks/copy/fail-04.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1043s ok 56 /bookmarks/copy/fail-05.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1043s ok 57 /bookmarks/copy/fail-06.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1043s ok 58 /bookmarks/copy/fail-07.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1043s ok 59 /bookmarks/copy/fail-08.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1043s ok 60 /bookmarks/copy/fail-09.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1043s ok 61 /bookmarks/copy/fail-10.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1043s ok 62 /bookmarks/copy/fail-11.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1043s ok 63 /bookmarks/copy/fail-12.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1043s ok 64 /bookmarks/copy/fail-13.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1043s ok 65 /bookmarks/copy/fail-14.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1043s ok 66 /bookmarks/copy/fail-15.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1043s ok - glib/tls-bindings.test 1043s # Running test: glib/spawn-multithreaded.test 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1043s ok 67 /bookmarks/copy/fail-16.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1043s ok 68 /bookmarks/copy/fail-17.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1043s ok 69 /bookmarks/copy/fail-18.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1043s ok 70 /bookmarks/copy/fail-19.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1043s ok 71 /bookmarks/copy/fail-20.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1043s ok 72 /bookmarks/copy/fail-21.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1043s ok 73 /bookmarks/copy/fail-22.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1043s ok 74 /bookmarks/copy/fail-23.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1043s ok 75 /bookmarks/copy/fail-24.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1043s ok 76 /bookmarks/copy/fail-25.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1043s ok 77 /bookmarks/copy/fail-26.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1043s ok 78 /bookmarks/copy/fail-27.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1043s ok 79 /bookmarks/copy/fail-28.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1043s ok 80 /bookmarks/copy/fail-29.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1043s ok 81 /bookmarks/copy/fail-30.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1043s ok 82 /bookmarks/copy/fail-31.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1043s ok 83 /bookmarks/copy/fail-32.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1043s ok 84 /bookmarks/copy/fail-33.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1043s ok 85 /bookmarks/copy/fail-34.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1043s ok 86 /bookmarks/copy/fail-35.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1043s ok 87 /bookmarks/copy/fail-36.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1043s ok 88 /bookmarks/copy/fail-37.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1043s ok 89 /bookmarks/copy/fail-38.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1043s ok 90 /bookmarks/copy/fail-39.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1043s ok 91 /bookmarks/copy/fail-40.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1043s ok 92 /bookmarks/copy/fail-41.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1043s ok 93 /bookmarks/copy/fail-42.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1043s ok 94 /bookmarks/copy/valid-01.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1043s ok 95 /bookmarks/copy/valid-02.xbel 1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/home 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/cache 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/config 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/data 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/state 1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_T8ADK3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1043s ok 96 /bookmarks/copy/valid-03.xbel 1043s # End of copy tests 1043s # End of bookmarks tests 1043s TAP version 14 1043s # random seed: R02Sbf6258268821f0afa4fa29ae73b0231c 1043s 1..14 1043s # Start of conversion tests 1043s ok 1 /conversion/no-conv 1043s ok 2 /conversion/iconv-state 1043s ok 3 /conversion/illegal-sequence 1043s ok 4 /conversion/byte-order 1043s ok 5 /conversion/unicode 1043s ok 6 /conversion/filename-utf8 1043s ok 7 /conversion/filename-display 1043s ok 8 /conversion/convert-embedded-nul 1043s # Start of locale-to-utf8 tests 1043s ok 9 /conversion/locale-to-utf8/embedded-nul 1043s # Start of embedded-nul tests 1043s # Start of subprocess tests 1043s # End of subprocess tests 1043s # End of embedded-nul tests 1043s # End of locale-to-utf8 tests 1043s # Start of locale-from-utf8 tests 1043s ok 10 /conversion/locale-from-utf8/embedded-nul 1043s # Start of embedded-nul tests 1043s # Start of subprocess tests 1043s # End of subprocess tests 1043s # End of embedded-nul tests 1043s # End of locale-from-utf8 tests 1043s # Start of filename-to-utf8 tests 1043s ok 11 /conversion/filename-to-utf8/embedded-nul 1043s # Start of embedded-nul tests 1043s # Start of subprocess tests 1043s # End of subprocess tests 1043s # End of embedded-nul tests 1043s # End of filename-to-utf8 tests 1043s # Start of filename-from-utf8 tests 1043s ok 12 /conversion/filename-from-utf8/embedded-nul 1043s # Start of embedded-nul tests 1043s # Start of subprocess tests 1043s # End of subprocess tests 1043s # End of embedded-nul tests 1043s # End of filename-from-utf8 tests 1043s # Start of filename-from-uri tests 1043s ok 13 /conversion/filename-from-uri/query-is-ignored 1043s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1043s # End of filename-from-uri tests 1043s # End of conversion tests 1043s TAP version 14 1043s # random seed: R02S6b6cf38b89eafdccf299e16c0e79d46f 1043s 1..2 1043s # Start of mount-operation tests 1043s ok 1 /mount-operation/construction 1043s ok 2 /mount-operation/properties 1043s # End of mount-operation tests 1043s TAP version 14 1043s # random seed: R02S2ac0514e0c3bcd326e8c47289fc7530b 1043s 1..2 1043s # Start of tls-connection tests 1043s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1043s ok 1 /tls-connection/get-tls-channel-binding 1043s ok 2 /tls-connection/get-dtls-channel-binding 1043s # End of tls-connection tests 1043s TAP version 14 1043s # random seed: R02S1d255b5d2607b78a3f4342b741d1d9bc 1043s 1..4 1043s # Start of gthread tests 1044s # Child 4752 (ttl 1) exited, status 0 1044s # Executing: glib/spawn-multithreaded.test 1045s # Child 4753 (ttl 2) exited, status 0 1045s ok 1 /gthread/spawn-childs 1045s # slow test /gthread/spawn-childs executed in 2.00 secs 1045s # Created pid: 4757 (ttl 1) 1045s # Created pid: 4758 (ttl 2) 1046s # Child 4757 (ttl 1) exited, status 0 1047s # Child 4758 (ttl 2) exited, status 0 1047s ok 2 /gthread/spawn-childs-threads 1047s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1047s ok 3 /gthread/spawn-sync 1047s ok 4 /gthread/spawn-async 1047s # End of gthread tests 1047s ok - glib/spawn-multithreaded.test 1047s # Running test: glib/mainloop.test 1047s TAP version 14 1047s # random seed: R02S7ee847e4c6c42a82cd52c9ef10b001e3 1047s 1..48 1047s # Start of maincontext tests 1047s ok 1 /maincontext/basic 1047s # Add same-priority sources: 35 1047s # Find each source: 7 1047s # Remove in random order: 44 1047s ok 2 /maincontext/nsources_same_priority 1047s # Add different-priority sources: 42 1047s # Find each source: 7 1047s # Remove in random order: 49 1047s ok 3 /maincontext/nsources_different_priority 1047s # Add sources from threads: 115 1047s # Remove sources from threads: 154 1047s ok 4 /maincontext/nsources_threadpool 1047s ok 5 /maincontext/source_finalization 1047s # /maincontext/idle-once summary: Test g_idle_add_once() works 1047s ok 6 /maincontext/idle-once 1047s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1047s ok 7 /maincontext/timeout-once 1047s # /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. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1047s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1047s # Start of source_finalization_from_source tests 1047s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 9 /maincontext/source_finalization_from_source/0 1047s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 10 /maincontext/source_finalization_from_source/1 1047s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 11 /maincontext/source_finalization_from_source/2 1047s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 12 /maincontext/source_finalization_from_source/3 1047s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 13 /maincontext/source_finalization_from_source/4 1047s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 14 /maincontext/source_finalization_from_source/5 1047s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 15 /maincontext/source_finalization_from_source/6 1047s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 16 /maincontext/source_finalization_from_source/7 1047s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 17 /maincontext/source_finalization_from_source/8 1047s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1047s ok 18 /maincontext/source_finalization_from_source/9 1047s # End of source_finalization_from_source tests 1047s # Start of source_finalization_from_dispatch tests 1047s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1047s ok 19 /maincontext/source_finalization_from_dispatch/0 1047s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1047s ok 20 /maincontext/source_finalization_from_dispatch/1 1047s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1047s ok 21 /maincontext/source_finalization_from_dispatch/2 1047s # End of source_finalization_from_dispatch tests 1047s # End of maincontext tests 1047s # Start of mainloop tests 1047s ok 22 /mainloop/basic 1047s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1047s ok 24 /mainloop/priorities 1048s ok 25 /mainloop/invoke 1048s # slow test /mainloop/invoke executed in 0.50 secs 1048s ok 26 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 1048s ok 27 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 1048s ok 28 /mainloop/recursive_loop_child_sources 1048s ok 29 /mainloop/swapping_child_sources 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1048s ok 30 /mainloop/blocked_child_sources 1049s ok 31 /mainloop/source_time 1049s # slow test /mainloop/source_time executed in 1.00 secs 1049s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1049s ok 32 /mainloop/overflow 1049s ok 33 /mainloop/ready-time 1049s # slow test /mainloop/ready-time executed in 0.50 secs 1049s ok 34 /mainloop/wakeup 1049s ok 35 /mainloop/remove-invalid 1049s ok 36 /mainloop/unref-while-pending 1049s # Test that the global default main context is used if NULL is passed to various methods 1049s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1049s ok 37 /mainloop/null-default-context 1049s # Executing: glib/mainloop.test 1050s ok 38 /mainloop/unix-fd 1050s # slow test /mainloop/unix-fd executed in 0.91 secs 1050s ok 39 /mainloop/unix-fd-source 1050s ok 40 /mainloop/source-unix-fd-api 1050s ok 41 /mainloop/wait 1050s ok 42 /mainloop/unix-file-poll 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1050s ok 43 /mainloop/unix-fd-priority 1050s ok 44 /mainloop/nfds 1050s ok 45 /mainloop/steal-fd 1052s ok 46 /mainloop/simultaneous-source-context-destruction 1052s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.70 secs 1052s # Start of ownerless-polling tests 1052s ok 47 /mainloop/ownerless-polling/attach-first 1052s ok 48 /mainloop/ownerless-polling/pop-first 1052s # End of ownerless-polling tests 1052s # End of mainloop tests 1052s ok - glib/mainloop.test 1052s # Running test: glib/memory-input-stream.test 1052s TAP version 14 1052s # random seed: R02Saf7241399ad77a02a3db2b00ef443e80 1052s 1..6 1052s # Start of memory-input-stream tests 1052s ok - glib/memory-input-stream.test 1052s # Running test: glib/cxx.test 1052s ok - glib/cxx.test 1052s # Running test: glib/unix.test 1052s ok 1 /memory-input-stream/read-chunks 1052s ok 2 /memory-input-stream/async 1052s ok 3 /memory-input-stream/seek 1052s ok 4 /memory-input-stream/truncate 1052s ok 5 /memory-input-stream/read-bytes 1052s ok 6 /memory-input-stream/from-bytes 1052s # End of memory-input-stream tests 1052s TAP version 14 1052s # random seed: R02S0b82fc915e94670e777a2c6cd88f37ed 1052s 1..2 1052s # Start of gtask tests 1052s # 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. 1052s ok 1 /gtask/name 1052s # Start of name tests 1052s # 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. 1052s ok 2 /gtask/name/macro-wrapper 1052s # End of name tests 1052s # End of gtask tests 1052s TAP version 14 1052s # random seed: R02Sf7d7f2ffb84ad2cd1e7f5d40b0b0b2d8 1052s 1..22 1052s # Start of glib-unix tests 1052s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1052s ok 1 /glib-unix/closefrom 1052s ok 2 /glib-unix/pipe 1052s # /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 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1052s ok 3 /glib-unix/pipe-stdio-overwrite 1052s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1052s ok 4 /glib-unix/pipe-struct 1052s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1052s ok 5 /glib-unix/pipe-struct-auto 1052s ok 6 /glib-unix/error 1052s ok 7 /glib-unix/nonblocking 1053s ok 8 /glib-unix/sighup 1053s # slow test /glib-unix/sighup executed in 0.50 secs 1053s ok 9 /glib-unix/sigterm 1053s # slow test /glib-unix/sigterm executed in 0.50 secs 1054s ok 10 /glib-unix/sighup_again 1054s # slow test /glib-unix/sighup_again executed in 0.50 secs 1054s ok 11 /glib-unix/sighup_add_remove 1054s ok 12 /glib-unix/sighup_nested 1054s # Executing: glib/unix.test 1056s ok 13 /glib-unix/callback_after_signal 1056s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1056s ok 14 /glib-unix/child-wait 1056s # Checking FD 5 for /dev/null 1056s ok 15 /glib-unix/fd-query-path 1056s ok 16 /glib-unix/fd-query-path-error 1056s # Start of closefrom tests 1056s # Start of subprocess tests 1056s # End of subprocess tests 1056s # End of closefrom tests 1056s # Start of pipe tests 1056s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1056s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1056s ok 17 /glib-unix/pipe/fd-cloexec 1056s # End of pipe tests 1056s # Start of sighup tests 1057s ok 18 /glib-unix/sighup/alternate-stack 1057s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1057s # End of sighup tests 1057s # Start of sigterm tests 1058s ok 19 /glib-unix/sigterm/alternate-stack 1058s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1058s # End of sigterm tests 1058s # Start of sighup_again tests 1059s ok - glib/unix.test 1059s ok 20 /glib-unix/sighup_again/alternate-stack 1059s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1059s # End of sighup_again tests 1059s # Start of get-passwd-entry tests 1059s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1059s ok 21 /glib-unix/get-passwd-entry/root 1059s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1059s ok 22 /glib-unix/get-passwd-entry/nonexistent 1059s # End of get-passwd-entry tests 1059s # End of glib-unix tests 1059s # Running test: glib/charset.test 1059s TAP version 14 1059s # random seed: R02Sbd78e767290e18f386354a58fe4e8206 1059s 1..2 1059s # Start of charset tests 1059s # Test 0 1059s # Test 1 1059s # Test 2 1059s # Test 3 1059s ok 1 /charset/language_names_with_category 1059s ok 2 /charset/language_names_with_category_async 1059s # End of charset tests 1059s ok - glib/charset.test 1059s # Running test: glib/gnotification.test 1059s TAP version 14 1059s # random seed: R02Sffeba126723087359ac0cb7b0f723459 1059s 1..2 1059s # Start of gnotification tests 1059s ok 1 /gnotification/basic 1059s ok 2 /gnotification/properties 1059s # End of gnotification tests 1059s ok - glib/gnotification.test 1059s # Running test: glib/gsocketclient-slow.test 1059s TAP version 14 1059s # random seed: R02S3d2b66a202bb6af967f4e370aa96d170 1059s 1..4 1059s # Start of socket-client tests 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1059s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1059s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba86ff0 and GSocketClientAsyncConnectData 0xba7d810 1059s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1059s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1059s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba82960 for GSocketClientAsyncConnectData 0xba7d810 1059s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1059s # Executing: glib/gsocketclient-slow.test 1059s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1059s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1059s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1059s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1059s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1059s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba82960 for GSocketClientAsyncConnectData 0xba7d810 1059s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1060s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1060s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1060s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1060s ok 1 /socket-client/connection-fail 1060s # slow test /socket-client/connection-fail executed in 1.20 secs 1060s # Start of happy-eyeballs tests 1060s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba82560 and GSocketClientAsyncConnectData 0xba7d810 1060s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1060s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1060s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba82960 for GSocketClientAsyncConnectData 0xba7d810 1060s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1061s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1061s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1061s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1061s ok 2 /socket-client/happy-eyeballs/slow 1061s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1061s # Start of cancellation tests 1061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba84b70 and GSocketClientAsyncConnectData 0xba82008 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1061s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba82050 and GSocketClientAsyncConnectData 0xba7b948 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba82910 for GSocketClientAsyncConnectData 0xba7b948 1061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1061s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1061s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1061s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1061s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1061s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1061s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1061s # End of cancellation tests 1061s # End of happy-eyeballs tests 1061s # End of socket-client tests 1061s ok - glib/gsocketclient-slow.test 1061s # Running test: glib/date.test 1061s TAP version 14 1061s # random seed: R02S011ebab552ba256ff6c58dc36a12e64d 1061s 1..122 1061s # Start of date tests 1061s ok 1 /date/basic 1061s ok 2 /date/empty 1061s ok 3 /date/dmy 1061s ok 4 /date/julian 1061s ok 5 /date/compare 1061s ok 6 /date/dates 1061s ok 7 /date/strftime 1061s ok 8 /date/two-digit-years 1061s ok 9 /date/parse 1061s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1061s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1061s ok 11 /date/month_substring 1061s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1061s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1061s ok 13 /date/clamp 1061s ok 14 /date/order 1061s ok 15 /date/copy 1061s # Vector 0: 0000-00-00, invalid 1061s # Vector 1: 0001-01-01, valid 1061s # Vector 2: 0000-01-01, invalid 1061s # Vector 3: 2000-02-30, invalid 1061s # Vector 4: 2000-02-29, valid 1061s # Vector 5: 2001-02-29, invalid 1061s # Vector 6: 65535-01-01, valid 1061s ok 16 /date/valid-dmy 1061s # Considering 2000-01-01 1061s # Considering 2000-01-07 1061s # Considering 2000-01-08 1061s # Considering 2001-01-01 1061s # Considering 2001-01-07 1061s # Considering 2001-01-08 1061s # Considering 2002-01-01 1061s # Considering 2002-01-07 1061s # Considering 2002-01-08 1061s # Considering 2003-01-01 1061s # Considering 2003-01-07 1061s # Considering 2003-01-08 1061s # Considering 2004-01-01 1061s # Considering 2004-01-07 1061s # Considering 2004-01-08 1061s # Considering 2006-01-01 1061s # Considering 2006-01-07 1061s # Considering 2006-01-08 1061s # Considering 2010-01-01 1061s # Considering 2010-01-07 1061s # Considering 2010-01-08 1061s ok 17 /date/week-of-year 1061s # Start of parse tests 1061s # Test 0 1061s # Test 1 1061s ok 18 /date/parse/invalid 1061s # End of parse tests 1061s # Start of year tests 1061s ok 19 /date/year/1 1061s ok 20 /date/year/2 1061s ok 21 /date/year/3 1061s ok 22 /date/year/4 1061s ok 23 /date/year/5 1061s ok 24 /date/year/6 1061s ok 25 /date/year/7 1061s ok 26 /date/year/8 1061s ok 27 /date/year/9 1061s ok 28 /date/year/10 1061s ok 29 /date/year/11 1061s ok 30 /date/year/12 1061s ok 31 /date/year/13 1061s ok 32 /date/year/14 1061s ok 33 /date/year/98 1061s ok 34 /date/year/99 1061s ok 35 /date/year/100 1061s ok 36 /date/year/101 1061s ok 37 /date/year/102 1061s ok 38 /date/year/103 1061s ok 39 /date/year/397 1061s ok 40 /date/year/398 1061s ok 41 /date/year/399 1061s ok 42 /date/year/400 1061s ok 43 /date/year/401 1061s ok 44 /date/year/402 1061s ok 45 /date/year/403 1061s ok 46 /date/year/404 1061s ok 47 /date/year/405 1061s ok 48 /date/year/406 1061s ok 49 /date/year/1598 1061s ok 50 /date/year/1599 1061s ok 51 /date/year/1600 1061s ok 52 /date/year/1601 1061s ok 53 /date/year/1602 1061s ok 54 /date/year/1650 1061s ok 55 /date/year/1651 1061s ok 56 /date/year/1897 1061s ok 57 /date/year/1898 1061s ok 58 /date/year/1899 1061s ok 59 /date/year/1900 1061s ok 60 /date/year/1901 1061s ok 61 /date/year/1902 1061s ok 62 /date/year/1903 1061s ok 63 /date/year/1961 1061s ok 64 /date/year/1962 1061s ok 65 /date/year/1963 1061s ok 66 /date/year/1964 1061s ok 67 /date/year/1965 1061s ok 68 /date/year/1967 1061s ok 69 /date/year/1968 1061s ok 70 /date/year/1969 1061s ok 71 /date/year/1970 1061s ok 72 /date/year/1971 1061s ok 73 /date/year/1972 1061s ok 74 /date/year/1973 1061s ok 75 /date/year/1974 1061s ok 76 /date/year/1975 1061s ok 77 /date/year/1976 1061s ok 78 /date/year/1977 1061s ok 79 /date/year/1978 1061s ok 80 /date/year/1979 1061s ok 81 /date/year/1980 1061s ok 82 /date/year/1981 1061s ok 83 /date/year/1982 1061s ok 84 /date/year/1983 1061s ok 85 /date/year/1984 1061s ok 86 /date/year/1985 1061s ok 87 /date/year/1986 1061s ok 88 /date/year/1987 1061s ok 89 /date/year/1988 1061s ok 90 /date/year/1989 1061s ok 91 /date/year/1990 1061s ok 92 /date/year/1991 1061s ok 93 /date/year/1992 1061s ok 94 /date/year/1993 1061s ok 95 /date/year/1994 1061s ok 96 /date/year/1995 1061s ok 97 /date/year/1996 1061s ok 98 /date/year/1997 1061s ok 99 /date/year/1998 1061s ok 100 /date/year/1999 1061s ok 101 /date/year/2000 1061s ok 102 /date/year/2001 1061s ok 103 /date/year/2002 1061s ok 104 /date/year/2003 1061s ok 105 /date/year/2004 1061s ok 106 /date/year/2005 1061s ok 107 /date/year/2006 1061s ok 108 /date/year/2007 1061s ok 109 /date/year/2008 1061s ok 110 /date/year/2009 1061s ok 111 /date/year/2010 1061s ok 112 /date/year/2011 1061s ok 113 /date/year/2012 1061s ok 114 /date/year/3000 1061s ok 115 /date/year/3001 1061s ok 116 /date/year/3002 1061s ok 117 /date/year/3998 1061s ok 118 /date/year/3999 1061s ok 119 /date/year/4000 1061s ok 120 /date/year/4001 1061s ok 121 /date/year/4002 1061s ok 122 /date/year/4003 1061s # End of year tests 1061s # End of date tests 1061s ok - glib/date.test 1061s # Running test: glib/closure-refcount.test 1061s TAP version 14 1061s # random seed: R02S62a46955b4853aa3c30815a49efae2f3 1061s 1..1 1061s # Start of closure tests 1061s # Init 0x8b3bbf8 1062s # Yielding from thread1 1062s # Yielding from thread1 1062s # Yielding from thread1 1062s # Yielding from thread1 1062s # Yielding from thread1 1062s # Yielding from thread1 1062s # Yielding from thread2 1062s # Yielding from thread1 1063s # Yielding from thread1 1063s # Yielding from thread1 1063s # Yielding from thread1 1063s # Yielding from thread1 1063s # Yielding from thread1 1063s # Yielding from thread1 1063s # Yielding from thread2 1064s # Yielding from thread1 1064s # Yielding from thread2 1064s # Yielding from main thread 1064s # Yielding from thread1 1064s # Yielding from thread2 1064s # Yielding from thread1 1064s # Yielding from thread2 1064s # Yielding from thread1 1064s # Executing: glib/closure-refcount.test 1064s # Yielding from thread2 1064s # Yielding from thread1 1065s # Yielding from main thread 1065s # Yielding from thread2 1065s # Yielding from thread1 1065s # Yielding from thread2 1065s # Yielding from thread1 1065s # Yielding from thread2 1065s # Yielding from thread1 1065s # Yielding from main thread 1065s # Yielding from thread2 1065s # Yielding from thread1 1066s # Yielding from thread1 1066s # Yielding from thread2 1066s # Yielding from thread1 1066s # Yielding from thread2 1066s # Yielding from thread1 1066s # Yielding from thread2 1066s # Yielding from thread1 1066s # Yielding from main thread 1066s # Yielding from thread1 1067s # Yielding from thread1 1067s # Yielding from thread1 1067s # Yielding from thread1 1067s # Yielding from thread1 1067s # Yielding from thread2 1067s # Yielding from thread1 1067s # Yielding from thread1 1067s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread1 1068s # Yielding from thread2 1068s # Yielding from thread1 1069s # Yielding from thread1 1069s # Yielding from thread1 1069s # Yielding from thread1 1069s # Yielding from thread1 1069s # Yielding from thread1 1069s # Yielding from thread1 1069s # Executing: glib/closure-refcount.test 1069s # Yielding from thread1 1070s # Yielding from thread1 1070s # Yielding from thread1 1070s # Yielding from thread1 1070s # Yielding from thread2 1070s # Yielding from thread1 1070s # Yielding from thread1 1070s # Yielding from thread1 1070s # Yielding from thread1 1070s # Yielding from main thread 1070s # Yielding from thread1 1071s # Yielding from thread1 1071s # Yielding from thread1 1071s # Yielding from thread1 1071s # Yielding from thread1 1071s # Yielding from thread1 1071s # Yielding from thread2 1071s # Yielding from thread1 1071s # Yielding from thread1 1072s # Yielding from thread2 1072s # Yielding from thread1 1072s # Yielding from thread2 1072s # Yielding from thread1 1072s # Yielding from thread2 1072s # Yielding from thread1 1072s # Yielding from thread2 1073s # Yielding from thread1 1073s # Yielding from thread2 1073s # Yielding from thread1 1073s # Yielding from thread2 1073s # Yielding from thread1 1073s # Yielding from thread2 1073s # Yielding from thread1 1074s # Yielding from thread2 1074s # Yielding from thread1 1074s # Yielding from thread2 1074s # Yielding from thread1 1074s # Yielding from thread2 1074s # Yielding from thread1 1074s # Executing: glib/closure-refcount.test 1074s # Yielding from thread2 1075s # Yielding from thread1 1075s # Yielding from main thread 1075s # Yielding from thread2 1075s # Yielding from thread1 1075s # Yielding from thread2 1075s # Yielding from thread1 1075s # Yielding from thread2 1075s # Yielding from thread1 1076s # Yielding from thread2 1076s # Yielding from thread1 1076s # Yielding from thread2 1076s # Yielding from thread1 1076s # Yielding from thread2 1076s # Yielding from thread1 1076s # Yielding from thread2 1076s # Yielding from thread1 1077s # Yielding from thread2 1077s # Yielding from thread1 1077s # Yielding from thread2 1077s # Yielding from thread1 1077s # Yielding from thread2 1077s # Yielding from thread1 1078s # Yielding from thread2 1078s # Yielding from thread1 1078s # Yielding from thread1 1078s # Yielding from thread2 1078s # Yielding from thread1 1078s # Yielding from thread2 1078s # Yielding from thread2 1078s # Yielding from main thread 1078s # Yielding from thread1 1079s # Yielding from thread2 1079s # Yielding from thread1 1079s # Yielding from thread2 1079s # Yielding from thread1 1079s # Yielding from thread2 1079s # Yielding from thread1 1079s # Yielding from thread2 1079s # Executing: glib/closure-refcount.test 1079s # Yielding from main thread 1080s # Yielding from thread1 1080s # Yielding from thread2 1080s # Yielding from thread2 1080s # Yielding from thread1 1080s # Yielding from thread2 1080s # Yielding from thread1 1080s # Yielding from thread2 1080s # Yielding from thread1 1080s # Yielding from main thread 1080s # Yielding from thread2 1081s # Yielding from thread1 1081s # Yielding from thread2 1081s # Yielding from thread1 1081s # Yielding from thread2 1081s # Yielding from thread1 1081s # Yielding from thread2 1081s # Yielding from thread2 1081s # Yielding from thread1 1082s ok - glib/closure-refcount.test 1082s # Stopping 1082s # Stopped 1082s ok 1 /closure/refcount 1082s # slow test /closure/refcount executed in 20.05 secs 1082s # End of closure tests 1082s # Running test: glib/markup-collect.test 1082s ok - glib/markup-collect.test 1082s TAP version 14 1082s # random seed: R02S64932cc9f890732e91bd43a008987f8b 1082s 1..21 1082s # Start of markup tests 1082s # Start of collect tests 1082s ok 1 /markup/collect/0 1082s ok 2 /markup/collect/1 1082s ok 3 /markup/collect/2 1082s ok 4 /markup/collect/3 1082s ok 5 /markup/collect/4 1082s ok 6 /markup/collect/5 1082s ok 7 /markup/collect/6 1082s ok 8 /markup/collect/7 1082s ok 9 /markup/collect/8 1082s ok 10 /markup/collect/9 1082s ok 11 /markup/collect/10 1082s ok 12 /markup/collect/11 1082s ok 13 /markup/collect/12 1082s ok 14 /markup/collect/13 1082s ok 15 /markup/collect/14 1082s ok 16 /markup/collect/15 1082s ok 17 /markup/collect/16 1082s ok 18 /markup/collect/17 1082s ok 19 /markup/collect/18 1082s ok 20 /markup/collect/19 1082s ok 21 /markup/collect/cleanup 1082s # End of collect tests 1082s # End of markup tests 1082s # Running test: glib/network-monitor-race.test 1082s TAP version 14 1082s # random seed: R02S0cf037ad19465fe37796910ed89a72e2 1082s 1..1 1082s # Start of network-monitor tests 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1084s ok 1 /network-monitor/create-in-thread 1084s # slow test /network-monitor/create-in-thread executed in 2.25 secs 1084s # End of network-monitor tests 1084s ok - glib/network-monitor-race.test 1084s # Running test: glib/override.test 1084s TAP version 14 1084s # random seed: R02Sc7f4d6c6216f2c8582e66dfbadd551f8 1084s 1..1 1084s # Start of gobject tests 1084s # *** emitting foo on a TestA instance 1084s # Expecting: TestA::foo,TestI::foo 1084s # Got: TestA::foo,TestI::foo 1084s # *** emitting bar on a TestA instance 1084s # Expecting: TestA::bar 1084s # Got: TestA::bar 1084s # *** emitting baz on a TestA instance 1084s # Expecting: TestA::baz 1084s # Got: TestA::baz 1084s # *** emitting foo on a TestB instance 1084s # Expecting: TestB::foo,TestA::foo,TestI::foo 1084s # Got: TestB::foo,TestA::foo,TestI::foo 1084s # *** emitting bar on a TestB instance 1084s # Expecting: TestB::bar,TestA::bar 1084s # Got: TestB::bar,TestA::bar 1084s # *** emitting baz on a TestB instance 1084s # Expecting: TestB::baz,TestA::baz 1084s # Got: TestB::baz,TestA::baz 1084s # *** emitting foo on a TestC instance 1084s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1084s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1084s # *** emitting bar on a TestC instance 1084s # Expecting: TestC::bar,TestB::bar,TestA::bar 1084s # Got: TestC::bar,TestB::bar,TestA::bar 1084s # *** emitting baz on a TestC instance 1084s # Expecting: TestC::baz,TestB::baz,TestA::baz 1084s # Got: TestC::baz,TestB::baz,TestA::baz 1084s ok 1 /gobject/override 1084s # End of gobject tests 1084s ok - glib/override.test 1084s # Running test: glib/union-info.test 1084s TAP version 14 1084s # random seed: R02Scd36e43232c469d12225f194d2c5f96a 1084s 1..2 1084s # Start of union-info tests 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_CNNMK3/union-info/basic/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_CNNMK3/union-info/basic/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_CNNMK3/union-info/basic/.dirs/runtime 1084s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1084s # /union-info/basic summary: Test basic properties of GIUnionInfo 1084s ok 1 /union-info/basic 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_CNNMK3/union-info/methods/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_CNNMK3/union-info/methods/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_CNNMK3/union-info/methods/.dirs/runtime 1084s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1084s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1084s ok - glib/union-info.test 1084s # Running test: glib/pathbuf.test 1084s ok - glib/pathbuf.test 1084s # Running test: glib/reference.test 1084s ok 2 /union-info/methods 1084s # End of union-info tests 1084s TAP version 14 1084s # random seed: R02S542b77b6fa636d597acabf146833f539 1084s 1..3 1084s # Start of pathbuf tests 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BMHMK3/pathbuf/init/.dirs/runtime 1084s # Initializing empty path buf 1084s # Initializing with empty path 1084s # Initializing with full path 1084s # Initializing with no path 1084s # Allocating GPathBuf on the heap 1084s ok 1 /pathbuf/init 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BMHMK3/pathbuf/push-pop/.dirs/runtime 1084s # Pushing relative path component 1084s # Pushing absolute path component 1084s # Popping a path component 1084s # Can't pop the last element of a path buffer 1084s ok 2 /pathbuf/push-pop 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BMHMK3/pathbuf/filename-extension/.dirs/runtime 1084s ok 3 /pathbuf/filename-extension 1084s # End of pathbuf tests 1084s TAP version 14 1084s # random seed: R02S8a43a3388d964cade48d9e573c487a3a 1084s 1..29 1084s # Start of type tests 1084s ok 1 /type/fundamentals 1084s ok 2 /type/qdata 1084s ok 3 /type/query 1084s ok 4 /type/class-private 1084s # End of type tests 1084s # Start of object tests 1084s ok 5 /object/clear 1084s ok 6 /object/clear-function 1084s ok 7 /object/set 1084s ok 8 /object/set-function 1084s ok 9 /object/value 1084s ok 10 /object/initially-unowned 1084s ok 11 /object/weak-pointer 1084s ok 12 /object/weak-ref 1084s ok 13 /object/toggle-ref 1084s ok 14 /object/qdata 1084s ok 15 /object/qdata2 1084s # Start of set tests 1084s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1084s ok 16 /object/set/derived-type 1084s # End of set tests 1084s # Start of weak-pointer tests 1084s ok - glib/reference.test 1084s # Running test: glib/object-info.test 1084s ok 17 /object/weak-pointer/clear 1084s ok 18 /object/weak-pointer/clear-function 1084s ok 19 /object/weak-pointer/set 1084s ok 20 /object/weak-pointer/set-function 1084s # End of weak-pointer tests 1084s # Start of weak-ref tests 1084s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1084s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1084s ok 21 /object/weak-ref/on-dispose 1084s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1084s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1084s ok 22 /object/weak-ref/on-run-dispose 1084s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1084s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1084s ok 23 /object/weak-ref/on-toggle-notify 1084s ok 24 /object/weak-ref/in-toggle-notify 1084s ok 25 /object/weak-ref/many 1084s # Start of concurrent tests 1084s ok 26 /object/weak-ref/concurrent/0 1084s ok 27 /object/weak-ref/concurrent/1 1084s # End of concurrent tests 1084s # End of weak-ref tests 1084s # Start of toggle-ref tests 1084s ok 28 /object/toggle-ref/ref-on-dispose 1084s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1084s # End of toggle-ref tests 1084s # End of object tests 1084s TAP version 14 1084s # random seed: R02Sc20612c12a1a2e4c01be6f0aeffeae2d 1084s 1..2 1084s # Start of object-info tests 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_0R8KK3/object-info/find-method-using-interfaces/.dirs/runtime 1084s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1084s ok 1 /object-info/find-method-using-interfaces 1084s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/home 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/cache 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/config 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/data 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/state 1084s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_0R8KK3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1084s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1084s ok 2 /object-info/find-vfunc-using-interfaces 1084s # End of object-info tests 1084s ok - glib/object-info.test 1084s # Running test: glib/genmarshal.py.test 1084s TAP version 13 1084s ok 1 __main__.TestGenmarshal.test_empty_list 1084s # glib-genmarshal: /usr/bin/glib-genmarshal 1084s # tmpdir: /tmp/tmprke1m_bj 1084s # /tmp/tmprke1m_bj/tmpyb9unu3f.list: 1084s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprke1m_bj/tmpyb9unu3f.list', '--header', '--quiet'] 1084s # Return code: 0 1084s # Output: 1084s # /* 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. */ 1084s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1084s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1084s # 1084s # #include 1084s # 1084s # G_BEGIN_DECLS 1084s # 1084s # 1084s # G_END_DECLS 1084s # 1084s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1084s # Error: 1084s # 1084s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprke1m_bj/tmpyb9unu3f.list', '--body', '--quiet'] 1084s # Return code: 0 1084s # Output: 1084s # /* 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. */ 1084s # #include 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # Error: 1084s ok 2 __main__.TestGenmarshal.test_help 1084s # glib-genmarshal: /usr/bin/glib-genmarshal 1084s # tmpdir: /tmp/tmpe5nbrwog 1084s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1084s # Return code: 0 1084s # Output: 1084s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1084s # [--internal] [--valist-marshallers] [-v] 1084s # [--g-fatal-warnings] [--include-header [HEADER]] 1084s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1084s # [--prototypes] [--header] [--body] [--stdinc | 1084s # --nostdinc] [--quiet | --verbose] 1084s # [FILE ...] 1084s # 1084s # Generate signal marshallers for GObject 1084s # 1084s # positional arguments: 1084s # FILE Files with lists of marshallers to generate, or "-" 1084s # for standard input 1084s # 1084s # options: 1084s # -h, --help show this help message and exit 1084s # --prefix STRING Specify marshaller prefix 1084s # --output FILE Write output into the specified file 1084s # --skip-source Skip source location comments 1084s # --internal Mark generated functions as internal 1084s # --valist-marshallers Generate va_list marshallers 1084s # -v, --version Print version information, and exit 1084s # --g-fatal-warnings Make warnings fatal 1084s # --include-header [HEADER] 1084s # Include the specified header in the body 1084s # --pragma-once Use "pragma once" as the inclusion guard 1084s # -D CPP_DEFINES Pre-processor define 1084s # -U CPP_UNDEFINES Pre-processor undefine 1084s # --prototypes Generate the marshallers prototype in the C code 1084s # --header Generate C headers 1084s # --body Generate C code 1084s # --stdinc Include standard marshallers 1084s # --nostdinc Use standard marshallers 1084s # --quiet Only print warnings and errors 1084s # --verbose Be verbose, and include debugging information 1084s # Error: 1084s ok 3 __main__.TestGenmarshal.test_no_args 1084s # glib-genmarshal: /usr/bin/glib-genmarshal 1084s # tmpdir: /tmp/tmpwg8xam3v 1084s # Running: ['/usr/bin/glib-genmarshal'] 1084s # Return code: 0 1084s # Output: 1084s # 1084s # Error: 1084s # Executing: glib/genmarshal.py.test 1084s ok 4 __main__.TestGenmarshal.test_void_boolean 1084s # glib-genmarshal: /usr/bin/glib-genmarshal 1084s # tmpdir: /tmp/tmpz_afe1g3 1084s # /tmp/tmpz_afe1g3/tmpbb6m1o6d.list: VOID:BOOLEAN 1084s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz_afe1g3/tmpbb6m1o6d.list', '--header', '--quiet'] 1084s # Return code: 0 1084s # Output: 1084s # /* 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. */ 1084s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1084s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1084s # 1084s # #include 1084s # 1084s # G_BEGIN_DECLS 1084s # 1084s # /* VOID:BOOLEAN (/tmp/tmpz_afe1g3/tmpbb6m1o6d.list:1) */ 1084s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1084s # 1084s # 1084s # G_END_DECLS 1084s # 1084s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1084s # Error: 1084s # 1084s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz_afe1g3/tmpbb6m1o6d.list', '--body', '--quiet'] 1084s # Return code: 0 1084s # Output: 1084s # /* 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. */ 1084s # #include 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # Error: 1085s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1085s # glib-genmarshal: /usr/bin/glib-genmarshal 1085s # tmpdir: /tmp/tmp2msp397y 1085s # /tmp/tmp2msp397y/tmplz2a_9_3.list: VOID:BOOLEAN,INT64 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2msp397y/tmplz2a_9_3.list', '--header', '--quiet'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # 1085s # #include 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2msp397y/tmplz2a_9_3.list:1) */ 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1085s # GValue *return_value, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint, 1085s # gpointer marshal_data); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1085s # Error: 1085s # 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2msp397y/tmplz2a_9_3.list', '--body', '--quiet'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #include 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2msp397y/tmplz2a_9_3.list:1) */ 1085s # void 1085s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint G_GNUC_UNUSED, 1085s # gpointer marshal_data) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1085s # gboolean arg1, 1085s # gint64 arg2, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1085s # 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # g_marshal_value_peek_boolean (param_values + 1), 1085s # g_marshal_value_peek_int64 (param_values + 2), 1085s # data2); 1085s # } 1085s # Error: 1085s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1085s # glib-genmarshal: /usr/bin/glib-genmarshal 1085s # tmpdir: /tmp/tmpny9qla2l 1085s # /tmp/tmpny9qla2l/tmphdzrwc_a.list: VOID:PARAM 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpny9qla2l/tmphdzrwc_a.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # /* VOID:PARAM (/tmp/tmpny9qla2l/tmphdzrwc_a.list:1) */ 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1085s # GValue *return_value, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint, 1085s # gpointer marshal_data); 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1085s # GValue *return_value, 1085s # gpointer instance, 1085s # va_list args, 1085s # gpointer marshal_data, 1085s # int n_params, 1085s # GType *param_types); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1085s # Error: 1085s # 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpny9qla2l/tmphdzrwc_a.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # /* VOID:PARAM (/tmp/tmpny9qla2l/tmphdzrwc_a.list:1) */ 1085s # void 1085s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint G_GNUC_UNUSED, 1085s # gpointer marshal_data) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1085s # gpointer arg1, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__PARAM callback; 1085s # 1085s # g_return_if_fail (n_param_values == 2); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # g_marshal_value_peek_param (param_values + 1), 1085s # data2); 1085s # } 1085s # 1085s # void 1085s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # gpointer instance, 1085s # va_list args, 1085s # gpointer marshal_data, 1085s # int n_params, 1085s # GType *param_types) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1085s # gpointer arg1, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__PARAM callback; 1085s # gpointer arg0; 1085s # va_list args_copy; 1085s # 1085s # va_copy (args_copy, args); 1085s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1085s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1085s # arg0 = g_param_spec_ref (arg0); 1085s # va_end (args_copy); 1085s # 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = instance; 1085s # } 1085s # else 1085s # { 1085s # data1 = instance; 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # arg0, 1085s # data2); 1085s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1085s # g_param_spec_unref (arg0); 1085s # } 1085s # Error: 1085s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1085s # glib-genmarshal: /usr/bin/glib-genmarshal 1085s # tmpdir: /tmp/tmpj8ou_2nn 1085s # /tmp/tmpj8ou_2nn/tmp7xuj_6k8.list: VOID:STRING 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpj8ou_2nn/tmp7xuj_6k8.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # /* VOID:STRING (/tmp/tmpj8ou_2nn/tmp7xuj_6k8.list:1) */ 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1085s # GValue *return_value, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint, 1085s # gpointer marshal_data); 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1085s # GValue *return_value, 1085s # gpointer instance, 1085s # va_list args, 1085s # gpointer marshal_data, 1085s # int n_params, 1085s # GType *param_types); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1085s # Error: 1085s # 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpj8ou_2nn/tmp7xuj_6k8.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # /* VOID:STRING (/tmp/tmpj8ou_2nn/tmp7xuj_6k8.list:1) */ 1085s # void 1085s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint G_GNUC_UNUSED, 1085s # gpointer marshal_data) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1085s # gpointer arg1, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__STRING callback; 1085s # 1085s # g_return_if_fail (n_param_values == 2); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # g_marshal_value_peek_string (param_values + 1), 1085s # data2); 1085s # } 1085s # 1085s # void 1085s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # gpointer instance, 1085s # va_list args, 1085s # gpointer marshal_data, 1085s # int n_params, 1085s # GType *param_types) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1085s # gpointer arg1, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__STRING callback; 1085s # gpointer arg0; 1085s # va_list args_copy; 1085s # 1085s # va_copy (args_copy, args); 1085s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1085s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1085s # arg0 = g_strdup (arg0); 1085s # va_end (args_copy); 1085s # 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = instance; 1085s # } 1085s # else 1085s # { 1085s # data1 = instance; 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # arg0, 1085s # data2); 1085s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1085s # g_free (arg0); 1085s # } 1085s # Error: 1085s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1085s # glib-genmarshal: /usr/bin/glib-genmarshal 1085s # tmpdir: /tmp/tmpw2ml6xst 1085s # /tmp/tmpw2ml6xst/tmpzb1jl2og.list: VOID:VARIANT 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw2ml6xst/tmpzb1jl2og.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # /* VOID:VARIANT (/tmp/tmpw2ml6xst/tmpzb1jl2og.list:1) */ 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1085s # GValue *return_value, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint, 1085s # gpointer marshal_data); 1085s # extern 1085s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1085s # GValue *return_value, 1085s # gpointer instance, 1085s # va_list args, 1085s # gpointer marshal_data, 1085s # int n_params, 1085s # GType *param_types); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1085s # Error: 1085s # 1085s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw2ml6xst/tmpzb1jl2og.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1085s # Return code: 0 1085s # Output: 1085s # /* 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. */ 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # /* VOID:VARIANT (/tmp/tmpw2ml6xst/tmpzb1jl2og.list:1) */ 1085s # void 1085s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # guint n_param_values, 1085s # const GValue *param_values, 1085s # gpointer invocation_hint G_GNUC_UNUSED, 1085s # gpointer marshal_data) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1085s # gpointer arg1, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__VARIANT callback; 1085s # 1085s # g_return_if_fail (n_param_values == 2); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # g_marshal_value_peek_variant (param_values + 1), 1085s # data2); 1085s # } 1085s # 1085s # void 1085s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1085s # GValue *return_value G_GNUC_UNUSED, 1085s # gpointer instance, 1085s # va_list args, 1085s # gpointer marshal_data, 1085s # int n_params, 1085s # GType *param_types) 1085s # { 1085s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1085s # gpointer arg1, 1085s # gpointer data2); 1085s # GCClosure *cc = (GCClosure *) closure; 1085s # gpointer data1, data2; 1085s # GMarshalFunc_VOID__VARIANT callback; 1085s # gpointer arg0; 1085s # va_list args_copy; 1085s # 1085s # va_copy (args_copy, args); 1085s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1085s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1085s # arg0 = g_variant_ref_sink (arg0); 1085s # va_end (args_copy); 1085s # 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = instance; 1085s # } 1085s # else 1085s # { 1085s # data1 = instance; 1085s # data2 = closure->data; 1085s # } 1085s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # callback (data1, 1085s # arg0, 1085s # data2); 1085s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1085s # g_variant_unref (arg0); 1085s # } 1085s # Error: 1085s 1..8 1085s TAP version 14 1085s # random seed: R02S6e1e86fd440f77b316a3e02f73d3d477 1085s 1..6 1085s # Start of type tests 1085s ok 1 /type/registration-serial 1085s ok 2 /type/interface-prerequisite 1085s ok 3 /type/interface-check 1085s ok 4 /type/next-base 1085s ok 5 /type/is-a 1085s # Invalid types can’t be queried. 1085s # Unclassed types can’t be queried. 1085s ok 6 /type/query 1085s # End of type tests 1085s TAP version 14 1085s # random seed: R02S2e7625f4906a1dc5de8df5b54a5be4a7 1085s 1..1 1085s # Start of gobject tests 1085s # Start of refcount tests 1085s # init 0xa1b5df8 1085s # 1085s # . 1085s ok - glib/genmarshal.py.test 1085s # Running test: glib/type.test 1085s # . 1085s ok - glib/type.test 1085s # Running test: glib/properties-refcount2.test 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1085s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1086s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # . 1087s # dispose 0xa1b5df8! 1087s # 1087s ok 1 /gobject/refcount/properties-2 1087s # slow test /gobject/refcount/properties-2 executed in 1.47 secs 1087s # End of refcount tests 1087s # End of gobject tests 1087s ok - glib/properties-refcount2.test 1087s # Running test: glib/messages-low-memory.py.test 1087s TAP version 13 1087s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1087s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1087s # tmpdir: /tmp/tmpkrbch1bl 1087s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1087s # Return code: -6 1087s # Output: 1087s # 1087s # Error: 1087s # GLib-Message: 10:30:16.199: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1087s # GLib-Message: 10:30:16.199: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1087s # ../../../glib/gprintf.c:351: failed to allocate memory 1087s 1..1 1087s ok - glib/messages-low-memory.py.test 1087s # Running test: glib/flags.test 1087s ok - glib/flags.test 1087s TAP version 14 1087s # random seed: R02S54b2eb1d6b6b191b816a805b3922ee51 1087s 1..1 1087s # Start of gobject tests 1087s # Start of flags tests 1087s ok 1 /gobject/flags/validate 1087s # End of flags tests 1087s # End of gobject tests 1087s # Running test: glib/properties.test 1087s TAP version 14 1087s # random seed: R02Sae26e2bdd254eb1675db9b78e64d9dc7 1087s 1..14 1087s # Start of properties tests 1087s ok 1 /properties/install 1087s ok 2 /properties/install-many 1087s ok 3 /properties/notify 1087s ok 4 /properties/notify-queue 1087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1087s ok 5 /properties/construct 1087s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1087s # Test g_object_get_property with an initialized value 1087s # Test g_object_get_property with an uninitialized value 1087s # Test g_object_get_property with a transformable value 1087s ok 6 /properties/get-property 1087s ok 7 /properties/testv_with_no_properties 1087s ok 8 /properties/testv_with_valid_properties 1087s ok 9 /properties/testv_with_invalid_property_type 1087s ok 10 /properties/testv_with_invalid_property_names 1087s ok 11 /properties/testv_getv 1087s ok 12 /properties/testv_notify_queue 1087s # Start of notify tests 1087s ok 13 /properties/notify/too-many-freezes 1087s # End of notify tests 1087s # Start of set-property tests 1087s # Start of variant tests 1087s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1087s ok 14 /properties/set-property/variant/floating 1087s # End of variant tests 1087s # End of set-property tests 1087s # End of properties tests 1087s ok - glib/properties.test 1087s # Running test: glib/tree.test 1087s TAP version 14 1087s # random seed: R02S732a1bc81906060ce82724bee39ce37f 1087s 1..7 1087s # Start of tree tests 1087s ok 1 /tree/search 1087s ok 2 /tree/remove 1087s ok 3 /tree/destroy 1087s ok 4 /tree/traverse 1087s ok 5 /tree/insert 1087s ok 6 /tree/bounds 1087s ok 7 /tree/remove-all 1087s # End of tree tests 1087s ok - glib/tree.test 1087s # Running test: glib/gdbus-server-auth.test 1087s TAP version 14 1087s # random seed: R02Scd003043f3cd4da98b96acc310670fb8 1087s 1..10 1087s # Start of gdbus tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/.dirs/runtime 1087s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-0A0HK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1087s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-0A0HK3/dbus-BskHq1vj 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 29056 1087s ok 1 /gdbus/server-auth 1087s # Start of server-auth tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/abstract/.dirs/runtime 1087s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-GAGMK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1087s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-GAGMK3/dbus-ClMJfvTs 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 29056 1087s ok 2 /gdbus/server-auth/abstract 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/tcp/.dirs/runtime 1087s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1087s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/.dirs/runtime 1087s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-0MWMK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1087s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-0MWMK3/dbus-hdEPEaQR 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 29056 1087s ok 4 /gdbus/server-auth/anonymous 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/.dirs/runtime 1087s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-D08LK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1087s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-D08LK3/dbus-cPxsXnEh 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s ok - glib/gdbus-server-auth.test 1087s # Running test: glib/overflow-fallback.test 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 29056 1087s ok 5 /gdbus/server-auth/external 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/.dirs/runtime 1087s ok - glib/overflow-fallback.test 1087s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-RB8KK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1087s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/path-in-use/.dirs/runtime 1087s ok 7 /gdbus/server-auth/path-in-use 1087s # Start of anonymous tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1087s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1087s ok 8 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1087s # End of anonymous tests 1087s # Start of external tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1087s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-AZ3KK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1087s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YH0HK3/gdbus-server-auth-AZ3KK3/dbus-BA9nuJGJ 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 29056 1087s # Running test: glib/mutex.test 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 29056 1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1087s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1087s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=29056,uid=1000,gid=1000 1087s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 29056 1087s ok 9 /gdbus/server-auth/external/require-same-user 1087s # End of external tests 1087s # Start of sha1 tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YH0HK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1087s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1087s ok 10 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1087s # End of sha1 tests 1087s # End of server-auth tests 1087s # End of gdbus tests 1087s TAP version 14 1087s # random seed: R02Sc2a2a657bfce07c8698d89c214e6ac13 1087s 1..6 1087s # Start of glib tests 1087s # Start of checked-math tests 1087s ok 1 /glib/checked-math/guint-add 1087s ok 2 /glib/checked-math/guint-mul 1087s ok 3 /glib/checked-math/guint64-add 1087s ok 4 /glib/checked-math/guint64-mul 1087s ok 5 /glib/checked-math/gsize-add 1087s ok 6 /glib/checked-math/gsize-mul 1087s # End of checked-math tests 1087s # End of glib tests 1087s TAP version 14 1087s # random seed: R02S132a60fe32f3dbf767fb4262cddbefa4 1087s 1..17 1087s # Start of thread tests 1087s ok 1 /thread/mutex1 1087s ok 2 /thread/mutex2 1087s ok 3 /thread/mutex3 1087s ok 4 /thread/mutex4 1089s ok 5 /thread/mutex5 1089s # slow test /thread/mutex5 executed in 1.62 secs 1089s # Start of mutex tests 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1089s ok 6 /thread/mutex/errno 1089s # Start of perf tests 1089s # max perf: inf mips 1089s ok 7 /thread/mutex/perf/uncontended 1089s # Start of contended tests 1089s # max perf: inf mips 1089s ok 8 /thread/mutex/perf/contended/1 1089s # max perf: inf mips 1089s ok 9 /thread/mutex/perf/contended/2 1089s # max perf: 0.800000 mips 1089s ok 10 /thread/mutex/perf/contended/3 1089s # max perf: 2.500000 mips 1089s ok 11 /thread/mutex/perf/contended/4 1089s # max perf: 6.000000 mips 1089s ok 12 /thread/mutex/perf/contended/5 1089s # max perf: 0.500000 mips 1089s ok 13 /thread/mutex/perf/contended/6 1089s # max perf: 0.666667 mips 1089s ok 14 /thread/mutex/perf/contended/7 1089s # max perf: 0.562500 mips 1089s ok 15 /thread/mutex/perf/contended/8 1089s # max perf: 0.416667 mips 1089s ok 16 /thread/mutex/perf/contended/9 1089s # max perf: 0.407407 mips 1089s ok 17 /thread/mutex/perf/contended/10 1089s # End of contended tests 1089s # End of perf tests 1089s # End of mutex tests 1089s # End of thread tests 1089s ok - glib/mutex.test 1089s # Running test: glib/gutils-user-database.test 1089s TAP version 14 1089s # random seed: R02Sba262ddf15e49df1f4612d7dd7ea6e23 1089s 1..1 1089s # Start of gutils tests 1089s ok 1 /gutils/get_user_database_entry 1089s # End of gutils tests 1089s ok - glib/gutils-user-database.test 1089s # Running test: glib/refcount.test 1089s TAP version 14 1089s # random seed: R02Sdcc57eeeaac2a19f307e1241e27e8854 1089s 1..4 1089s # Start of refcount tests 1089s ok 1 /refcount/grefcount 1089s ok 2 /refcount/gatomicrefcount 1089s # Start of grefcount tests 1089s ok 3 /refcount/grefcount/saturation 1089s # End of grefcount tests 1089s # Start of gatomicrefcount tests 1089s ok - glib/refcount.test 1089s ok 4 /refcount/gatomicrefcount/saturation 1089s # End of gatomicrefcount tests 1089s # End of refcount tests 1089s # Running test: glib/data-output-stream.test 1089s TAP version 14 1089s # random seed: R02S86d29f26652fe6a03ee5f5377a25181a 1089s 1..7 1089s # Start of data-output-stream tests 1089s ok 1 /data-output-stream/basic 1089s ok 2 /data-output-stream/write-lines-LF 1089s ok 3 /data-output-stream/write-lines-CR 1089s ok 4 /data-output-stream/write-lines-CR-LF 1089s ok 5 /data-output-stream/write-int 1089s ok 6 /data-output-stream/seek 1089s ok 7 /data-output-stream/truncate 1089s # End of data-output-stream tests 1089s ok - glib/data-output-stream.test 1089s # Running test: glib/mem-overflow.test 1089s TAP version 14 1089s # random seed: R02S7a0ee8c93a9bd3ca890a12d706719b6d 1089s 1..2 1089s # Start of mem tests 1089s ok 1 /mem/overflow 1089s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1089s ok 2 /mem/empty-alloc 1089s # Start of overflow tests 1089s # Start of subprocess tests 1089s # End of subprocess tests 1089s # End of overflow tests 1089s # Start of empty-alloc tests 1089s # End of empty-alloc tests 1089s # End of mem tests 1089s ok - glib/mem-overflow.test 1089s # Running test: glib/gdbus-address-get-session.test 1089s TAP version 14 1089s # random seed: R02Sab105a01b8431ab37d3bdf43d3f6fe1a 1089s 1..2 1089s # Start of gdbus tests 1089s ok 1 /gdbus/x11-autolaunch 1089s ok - glib/gdbus-address-get-session.test 1089s ok 2 /gdbus/xdg-runtime 1089s # End of gdbus tests 1089s # Running test: glib/param.test 1089s TAP version 14 1089s # random seed: R02S0c41e1964db5056a5a14dc68dd8fa00f 1089s 1..32 1089s # Start of param tests 1089s ok 1 /param/value 1089s ok 2 /param/strings 1089s ok 3 /param/qdata 1089s ok 4 /param/validate 1089s ok 5 /param/convert 1089s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1089s ok 7 /param/default 1089s ok 8 /param/is-valid-name 1089s # Start of invalid-name tests 1089s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1089s ok 9 /param/invalid-name/colon 1089s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1089s ok 10 /param/invalid-name/first-char 1089s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1089s ok 11 /param/invalid-name/empty 1089s # End of invalid-name tests 1089s # Start of implement tests 1089s # Start of subprocess tests 1089s # End of subprocess tests 1089s # End of implement tests 1089s # End of param tests 1089s # Start of value tests 1089s ok 12 /value/transform 1089s # End of value tests 1089s # Start of paramspec tests 1089s ok 13 /paramspec/char 1089s ok 14 /paramspec/uchar 1089s ok 15 /paramspec/int 1089s ok 16 /paramspec/uint 1089s ok 17 /paramspec/long 1089s ok 18 /paramspec/ulong 1089s ok 19 /paramspec/int64 1089s ok 20 /paramspec/uint64 1089s ok 21 /paramspec/float 1089s ok 22 /paramspec/double 1089s ok 23 /paramspec/unichar 1089s ok 24 /paramspec/param 1089s ok 25 /paramspec/null-param 1089s ok 26 /paramspec/string 1089s ok 27 /paramspec/override 1089s ok 28 /paramspec/gtype 1089s ok 29 /paramspec/variant 1089s ok 30 /paramspec/custom 1089s ok 31 /paramspec/pool 1089s # Start of variant tests 1089s ok 32 /paramspec/variant/cmp 1089s # End of variant tests 1089s # End of paramspec tests 1089s ok - glib/param.test 1089s # Running test: glib/thread-deprecated.test 1089s TAP version 14 1089s # random seed: R02S072797b5247cd09bd163d371720028c1 1089s 1..6 1089s # Start of thread tests 1089s # Executing: glib/thread-deprecated.test 1089s ok 1 /thread/mutex 1090s ok 2 /thread/static-rec-mutex 1094s ok 3 /thread/static-private 1094s # slow test /thread/static-private executed in 4.40 secs 1094s # Executing: glib/thread-deprecated.test 1099s ok 4 /thread/static-rw-lock 1099s # slow test /thread/static-rw-lock executed in 5.00 secs 1099s ok 5 /thread/once 1099s # Executing: glib/thread-deprecated.test 1104s # Executing: glib/thread-deprecated.test 1109s ok - glib/thread-deprecated.test 1109s ok 6 /thread/rerun-all 1109s # slow test /thread/rerun-all executed in 10.02 secs 1109s # End of thread tests 1109s # Running test: glib/gdbus-connection-flush.test 1109s TAP version 14 1109s # random seed: R02Sfc748294e651bc82ad7d790934ecfe02 1109s 1..2 1109s # Start of gdbus tests 1109s # Start of connection tests 1109s # Start of flush tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/busy/.dirs/runtime 1109s ok 1 /gdbus/connection/flush/busy 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_26Y8J3/gdbus/connection/flush/idle/.dirs/runtime 1109s ok 2 /gdbus/connection/flush/idle 1109s # End of flush tests 1109s # End of connection tests 1109s # End of gdbus tests 1109s ok - glib/gdbus-connection-flush.test 1109s # Running test: glib/properties-refcount4.test 1109s TAP version 14 1109s # random seed: R02S0b8123ad1b0e8520e965b3b89b09e023 1109s 1..1 1109s # Start of gobject tests 1109s # Start of refcount tests 1109s ok 1 /gobject/refcount/properties-4 1109s # End of refcount tests 1109s # End of gobject tests 1109s ok - glib/properties-refcount4.test 1109s # Running test: glib/gobject-private.test 1109s TAP version 14 1109s # random seed: R02Sfcce98b887847fffddea49317e2cd98f 1109s 1..3 1109s # Start of private tests 1109s ok 1 /private/instance 1109s ok 2 /private/derived-instance 1109s ok 3 /private/mixed-derived-instance 1109s # End of private tests 1109s ok - glib/gobject-private.test 1109s # Running test: glib/tls-interaction.test 1109s ok - glib/tls-interaction.test 1109s # Running test: glib/memory-monitor-portal.test 1109s TAP version 14 1109s # random seed: R02S2f80a70ee2da5ac1deb81cd31c84d82c 1109s 1..42 1109s # Start of tls-interaction tests 1109s # Start of ask-password tests 1109s # Start of invoke-with-loop tests 1109s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1109s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1109s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1109s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1109s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1109s # End of invoke-with-loop tests 1109s # Start of invoke-without-loop tests 1109s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1109s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1109s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1109s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1109s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1109s # End of invoke-without-loop tests 1109s # Start of invoke-in-loop tests 1109s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1109s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1109s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1109s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1109s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1109s # End of invoke-in-loop tests 1109s # Start of sync tests 1109s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1109s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1109s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1109s # End of sync tests 1109s # Start of async tests 1109s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1109s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1109s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1109s # End of async tests 1109s # End of ask-password tests 1109s # Start of request-certificate tests 1109s # Start of invoke-with-loop tests 1109s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1109s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1109s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1109s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1109s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1109s # End of invoke-with-loop tests 1109s # Start of invoke-without-loop tests 1109s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1109s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1109s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1109s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1109s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1109s # End of invoke-without-loop tests 1109s # Start of invoke-in-loop tests 1109s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1109s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1109s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1109s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1109s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1109s # End of invoke-in-loop tests 1109s # Start of sync tests 1109s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1109s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1109s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1109s # End of sync tests 1109s # Start of async tests 1109s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1109s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1109s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1109s # End of async tests 1109s # End of request-certificate tests 1109s # End of tls-interaction tests 1109s # Executing: glib/memory-monitor-portal.test 1110s TAP version 13 1110s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1110s 1..1 1110s TAP version 14 1110s # random seed: R02Sb89aaed11f098ed5943dd095e8589d67 1110s 1..2 1110s # Start of atomic tests 1110s ok 1 /atomic/types 1110s ok - glib/memory-monitor-portal.test 1110s # Running test: glib/atomic-c-23.test 1110s ok 2 /atomic/threaded 1110s # End of atomic tests 1110s ok - glib/atomic-c-23.test 1110s # Running test: glib/buffered-input-stream.test 1110s TAP version 14 1110s # random seed: R02S4f1e292ab882d14a2435cdb5c96464e0 1110s 1..10 1110s # Start of buffered-input-stream tests 1110s ok 1 /buffered-input-stream/peek 1110s ok 2 /buffered-input-stream/peek-buffer 1110s ok 3 /buffered-input-stream/set-buffer-size 1110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1110s ok 4 /buffered-input-stream/read-byte 1110s ok 5 /buffered-input-stream/read 1110s ok 6 /buffered-input-stream/read-async 1110s ok 7 /buffered-input-stream/skip 1110s ok 8 /buffered-input-stream/skip-async 1110s ok 9 /buffered-input-stream/seek 1110s # End of buffered-input-stream tests 1110s # Start of filter-input-stream tests 1110s ok 10 /filter-input-stream/close 1110s # End of filter-input-stream tests 1110s ok - glib/buffered-input-stream.test 1110s # Running test: glib/print.test 1110s TAP version 14 1110s # random seed: R02Sb5b2f8a5df1f6705133a2a198449f70b 1110s 1..1 1110s ok 1 /print-console # SKIP Testing console output only supported on Windows 1110s ok - glib/print.test 1110s # Running test: glib/types.test 1110s TAP version 14 1110s # random seed: R02S8928dd547d5d2cffe77ccbd42a048838 1110s 1..1 1110s # Start of types tests 1110s ok 1 /types/basic_types 1110s # End of types tests 1110s ok - glib/types.test 1110s # Running test: glib/signalgroup.test 1110s TAP version 14 1110s # random seed: R02S72289e2500890235dfede2d44daa68e0 1110s 1..9 1110s # Start of GObject tests 1110s # Start of SignalGroup tests 1110s ok 1 /GObject/SignalGroup/invalid 1110s ok 2 /GObject/SignalGroup/simple 1110s ok 3 /GObject/SignalGroup/changing-target 1110s ok 4 /GObject/SignalGroup/blocking 1110s ok 5 /GObject/SignalGroup/weak-ref-target 1110s ok 6 /GObject/SignalGroup/connect-object 1110s ok 7 /GObject/SignalGroup/signal-parsing 1110s ok 8 /GObject/SignalGroup/properties 1110s ok 9 /GObject/SignalGroup/interface 1110s # Start of signal-parsing tests 1110s # End of signal-parsing tests 1110s # End of SignalGroup tests 1110s # End of GObject tests 1110s ok - glib/signalgroup.test 1110s # Running test: glib/testing-nonfatal.test 1110s TAP version 14 1110s # random seed: R02Sd15833361c0b1b8c435b446b5d9fc4b9 1110s ** 1110s 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?") 1110s # 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?") 1110s ok - glib/testing-nonfatal.test 1110s # Running test: glib/application-command-line.test 1110s TAP version 14 1110s # random seed: R02S15181d36abfda68bc9fb79d2c8ec4670 1110s 1..1 1110s # Start of application-command-line tests 1110s ok 1 /application-command-line/basic-properties 1110s # End of application-command-line tests 1110s ok - glib/application-command-line.test 1110s # Running test: glib/init.test 1110s TAP version 14 1110s # random seed: R02S71433df03bbeb655770e24c3d598dd45 1110s 1..2 1110s # Start of thread tests 1110s # Start of deprecated tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_NC6IK3/thread/deprecated/init/.dirs/runtime 1110s ok 1 /thread/deprecated/init 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_NC6IK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1110s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1110s # End of deprecated tests 1110s # End of thread tests 1110s ok - glib/init.test 1110s # Running test: glib/tls-certificate.test 1110s ok - glib/tls-certificate.test 1110s # Running test: glib/threadtests.test 1110s TAP version 14 1110s # random seed: R02S33cc957c48b7252ad1621774e6aaf29e 1110s 1..19 1110s # Start of tls-certificate tests 1110s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1110s ok 1 /tls-certificate/pem-parser 1110s ok 2 /tls-certificate/pem-parser-handles-chain 1110s ok 3 /tls-certificate/from_file 1110s ok 4 /tls-certificate/from_files 1110s ok 5 /tls-certificate/from_files_crlf 1110s ok 6 /tls-certificate/from_files_pkcs8 1110s ok 7 /tls-certificate/from_files_pkcs8enc 1110s ok 8 /tls-certificate/list_from_file 1110s ok 9 /tls-certificate/pkcs11-uri 1110s ok 10 /tls-certificate/pkcs11-uri-unsupported 1110s ok 11 /tls-certificate/from_pkcs12 1110s ok 12 /tls-certificate/from_pkcs12_file 1110s ok 13 /tls-certificate/not-valid-before 1110s ok 14 /tls-certificate/not-valid-after 1110s ok 15 /tls-certificate/subject-name 1110s ok 16 /tls-certificate/issuer-name 1110s ok 17 /tls-certificate/dns-names 1110s ok 18 /tls-certificate/ip-addresses 1110s ok 19 /tls-certificate/pem-parser-no-sentinel 1110s # End of tls-certificate tests 1110s TAP version 14 1110s # random seed: R02S3cca0fd613ab0b0bd69dcb533dbab328 1110s 1..5 1110s # Start of GObject tests 1110s ok 1 /GObject/threaded-object-init 1111s ok 2 /GObject/threaded-weak-ref 1111s # slow test /GObject/threaded-weak-ref executed in 0.85 secs 1111s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 1111s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1111s # Start of threaded-weak-ref tests 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1111s # /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. 1111s ok 5 /GObject/threaded-weak-ref/on-finalization 1111s # End of threaded-weak-ref tests 1111s # End of GObject tests 1111s ok - glib/threadtests.test 1111s # Running test: glib/gsubprocess.test 1111s TAP version 14 1111s # random seed: R02Sc962ceeaf7c2de61cc6e301a3848c8ed 1111s 1..84 1111s # Start of gsubprocess tests 1111s ok 1 /gsubprocess/noop 1111s ok 2 /gsubprocess/noop-all-to-null 1111s ok 3 /gsubprocess/noop-no-wait 1111s ok 4 /gsubprocess/noop-stdin-inherit 1111s ok 5 /gsubprocess/search-path 1111s ok 6 /gsubprocess/search-path-from-envp 1114s # Executing: glib/gsubprocess.test 1114s ok 7 /gsubprocess/signal 1114s # slow test /gsubprocess/signal executed in 3.69 secs 1114s ok 8 /gsubprocess/exit1 1114s ok 9 /gsubprocess/echo1 1114s ok 10 /gsubprocess/echo-merged 1114s ok 11 /gsubprocess/cat-utf8 1115s ok 12 /gsubprocess/cat-eof 1115s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1118s ok 13 /gsubprocess/multi1 1118s # slow test /gsubprocess/multi1 executed in 3.01 secs 1118s ok 14 /gsubprocess/communicate 1119s # Executing: glib/gsubprocess.test 1121s ok 15 /gsubprocess/terminate 1121s # slow test /gsubprocess/terminate executed in 2.97 secs 1121s ok 16 /gsubprocess/fail-initialization 1121s ok 17 /gsubprocess/env 1121s ok 18 /gsubprocess/cwd 1121s ok 19 /gsubprocess/launcher-close 1121s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1121s ok 20 /gsubprocess/stdout-file 1121s ok 21 /gsubprocess/stdout-fd 1121s ok 22 /gsubprocess/child-setup 1121s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1121s ok 23 /gsubprocess/launcher-environment 1121s # Start of exit1 tests 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1121s ok 24 /gsubprocess/exit1/cancel 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1121s ok 25 /gsubprocess/exit1/cancel_in_cb 1121s # End of exit1 tests 1121s # Start of communicate tests 1121s ok 26 /gsubprocess/communicate/cancelled 1121s ok 27 /gsubprocess/communicate/async 1121s ok 28 /gsubprocess/communicate/utf8 1121s # hello world 1121s ok 29 /gsubprocess/communicate/no-pipes 1121s ok 30 /gsubprocess/communicate/separate-stderr 1121s ok 31 /gsubprocess/communicate/stdout-only 1121s # hello world 1121s ok 32 /gsubprocess/communicate/stderr-only 1121s ok 33 /gsubprocess/communicate/stdout-silence 1121s ok 34 /gsubprocess/communicate/nothing 1121s # Start of async tests 1121s ok 35 /gsubprocess/communicate/async/cancelled 1121s # hello world 1121s ok 36 /gsubprocess/communicate/async/no-pipes 1121s ok 37 /gsubprocess/communicate/async/separate-stderr 1121s ok 38 /gsubprocess/communicate/async/stdout-only 1121s # hello world 1121s ok 39 /gsubprocess/communicate/async/stderr-only 1121s ok 40 /gsubprocess/communicate/async/stdout-silence 1121s # Start of cancelled tests 1121s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1121s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1121s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1121s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1121s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1121s # End of cancelled tests 1121s # End of async tests 1121s # Start of utf8 tests 1121s ok 46 /gsubprocess/communicate/utf8/cancelled 1121s ok 47 /gsubprocess/communicate/utf8/async 1121s # hello world 1121s ok 48 /gsubprocess/communicate/utf8/no-pipes 1121s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1121s ok 50 /gsubprocess/communicate/utf8/stdout-only 1121s # hello world 1121s ok 51 /gsubprocess/communicate/utf8/stderr-only 1121s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1121s ok 53 /gsubprocess/communicate/utf8/invalid 1121s # Start of async tests 1121s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1121s # hello world 1121s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1121s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1121s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1121s # hello world 1121s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1121s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1121s ok 60 /gsubprocess/communicate/utf8/async/invalid 1121s # Start of cancelled tests 1121s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1121s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1121s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1121s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1121s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1121s # End of cancelled tests 1121s # End of async tests 1121s # Start of cancelled tests 1121s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1121s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1121s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1121s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1121s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1121s # End of cancelled tests 1121s # End of utf8 tests 1121s # Start of cancelled tests 1121s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1121s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1121s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1121s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1121s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1121s # End of cancelled tests 1121s # End of communicate tests 1121s # Start of env tests 1121s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1121s ok 76 /gsubprocess/env/inherit 1121s # End of env tests 1121s # Start of pass-fd tests 1121s ok 77 /gsubprocess/pass-fd/basic 1121s ok 78 /gsubprocess/pass-fd/empty-child-setup 1121s ok 79 /gsubprocess/pass-fd/inherit-fds 1121s # End of pass-fd tests 1121s # Start of fd-conflation tests 1121s ok 80 /gsubprocess/fd-conflation/basic 1121s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1121s ok 82 /gsubprocess/fd-conflation/inherit-fds 1122s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1122s # End of fd-conflation tests 1122s # Start of exit-status tests 1122s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1122s ok 84 /gsubprocess/exit-status/trapped 1122s # End of exit-status tests 1122s # End of gsubprocess tests 1122s ok - glib/gsubprocess.test 1122s # Running test: glib/socket-address.test 1122s TAP version 14 1122s # random seed: R02S015e4114543ac828007fae277531ca7e 1122s 1..2 1122s # Start of socket tests 1122s # Start of address tests 1122s # Start of unix tests 1122s ok 1 /socket/address/unix/construct 1122s ok 2 /socket/address/unix/to-string 1122s # End of unix tests 1122s # End of address tests 1122s # End of socket tests 1122s ok - glib/socket-address.test 1122s # Running test: glib/macros-c-17.test 1122s ok - glib/macros-c-17.test 1122s TAP version 14 1122s # random seed: R02Sfc368e8790fff21fd7fb92d60843f55d 1122s 1..4 1122s # Start of C tests 1122s # G_C_STD_VERSION is 201710 1122s ok 1 /C/standard-17 1122s # End of C tests 1122s # Start of alignof tests 1122s ok 2 /alignof/fallback 1122s # End of alignof tests 1122s # Start of assert tests 1122s ok 3 /assert/static 1122s # End of assert tests 1122s # Start of struct tests 1122s ok 4 /struct/sizeof_member 1122s # End of struct tests 1122s # Running test: glib/gdbus-non-socket.test 1122s TAP version 14 1122s # random seed: R02Se0ae3f4766c7e6ea021be458731e5ec2 1122s 1..1 1122s # Start of gdbus tests 1122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/home 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/cache 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/system-config2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/config 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/system-data2 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/data 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/state 1122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_DOTCK3/gdbus/non-socket/.dirs/runtime 1122s ok 1 /gdbus/non-socket 1122s # End of gdbus tests 1122s ok - glib/gdbus-non-socket.test 1122s # Running test: glib/queue.test 1122s TAP version 14 1122s # random seed: R02S621ad26233ee2989bfd570fcbaba0519 1122s 1..12 1122s # Start of queue tests 1122s ok 1 /queue/basic 1122s ok 2 /queue/copy 1122s ok 3 /queue/off-by-one 1122s ok 4 /queue/find-custom 1122s ok 5 /queue/static 1122s ok 6 /queue/clear 1122s ok 7 /queue/free-full 1122s ok 8 /queue/clear-full 1122s ok 9 /queue/insert-sibling-link 1122s ok 10 /queue/push-nth-link 1122s # Start of clear-full tests 1122s ok 11 /queue/clear-full/noop 1122s # End of clear-full tests 1122s # Start of random tests 1122s ok - glib/queue.test 1122s # Running test: glib/gmenumodel.test 1122s ok 12 /queue/random/seed:2145709809 1122s # End of random tests 1122s # End of queue tests 1122s TAP version 14 1122s # random seed: R02S8fe797ba753d5980c6feb9f3fdfe440e 1122s 1..15 1122s # Start of gmenu tests 1122s ok 1 /gmenu/equality 1122s # slow test /gmenu/equality executed in 0.74 secs 1123s ok 2 /gmenu/random 1123s # slow test /gmenu/random executed in 0.80 secs 1123s ok 3 /gmenu/attributes 1123s ok 4 /gmenu/links 1123s ok 5 /gmenu/mutable 1123s ok 6 /gmenu/convenience 1123s ok 7 /gmenu/menuitem 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1123s ok 8 /gmenu/input-validation 1123s # Start of dbus tests 1124s # Executing: glib/gmenumodel.test 1124s ok 9 /gmenu/dbus/roundtrip 1124s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1125s ok 10 /gmenu/dbus/subscriptions 1126s ok 11 /gmenu/dbus/threaded 1126s # slow test /gmenu/dbus/threaded executed in 1.17 secs 1126s # Start of peer tests 1127s ok 12 /gmenu/dbus/peer/roundtrip 1127s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1127s ok 13 /gmenu/dbus/peer/subscriptions 1127s # End of peer tests 1127s # Start of export tests 1127s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1127s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1127s ok 14 /gmenu/dbus/export/error-handling 1127s # End of export tests 1127s # End of dbus tests 1127s # Start of attributes tests 1127s ok 15 /gmenu/attributes/iterate 1127s # End of attributes tests 1127s # End of gmenu tests 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s ok - glib/gmenumodel.test 1127s # Running test: glib/portal-support-flatpak-full.test 1127s TAP version 14 1127s # random seed: R02S22ffd4e8c786b31e2b7fbfeb2e5e59e8 1127s 1..1 1127s # Start of portal-support tests 1127s # Start of flatpak tests 1127s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/home 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/cache 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/system-config2 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/config 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/system-data2 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/data 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/state 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/runtime 1127s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_9EV9J3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1127s ok 1 /portal-support/flatpak/full 1127s # End of flatpak tests 1127s # End of portal-support tests 1127s ok - glib/portal-support-flatpak-full.test 1127s # Running test: glib/gapplication.test 1127s TAP version 14 1127s # random seed: R02Sac5ba7caac4de7f3940c004167bda3b4 1127s 1..25 1127s # Start of gapplication tests 1127s ok 1 /gapplication/no-dbus 1127s ok 2 /gapplication/no-appid 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s ok 3 /gapplication/properties 1127s ok 4 /gapplication/app-id 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s ok 5 /gapplication/quit 1127s ok 6 /gapplication/registered 1127s ok 7 /gapplication/local-actions 1127s ok 8 /gapplication/local-command-line 1127s ok 9 /gapplication/resource-path 1127s ok 10 /gapplication/test-help 1127s ok 11 /gapplication/command-line-done 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s ok 12 /gapplication/test-busy 1127s ok 13 /gapplication/test-handle-local-options1 1127s ok 14 /gapplication/test-handle-local-options2 1127s ok 15 /gapplication/test-handle-local-options3 1127s ok 16 /gapplication/api 1127s ok 17 /gapplication/version 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1127s # launching subprocess 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s ok 18 /gapplication/replace 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1127s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1127s # launching subprocess 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 19 /gapplication/no-replace 1128s # slow test /gapplication/no-replace executed in 0.51 secs 1128s # Start of command-line tests 1128s # /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 1128s ok 20 /gapplication/command-line/arguments 1128s # End of command-line tests 1128s # Start of dbus tests 1128s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # Message 0 1128s # Message 1 1128s # Message 2 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 21 /gapplication/dbus/activate 1128s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # Message 0 1128s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1128s # Message 1 1128s # Message 2 1128s # Message 3 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 22 /gapplication/dbus/open 1128s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # Message 0 1128s # Message 1 1128s # Message 2 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 23 /gapplication/dbus/command-line 1128s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 24 /gapplication/dbus/command-line-done 1128s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # Message 0 1128s # Activating action 'undo' with no parameter 1128s # Message 1 1128s # Activating action 'lang' with parameter: 'spanish' 1128s # Message 2 1128s # Message 3 1128s # Message 4 1128s # Message 5 1128s # Message 6 1128s # Activating action 'multi' with parameter: ('first', 'second') 1128s # Message 7 1128s # Message 8 1128s # Activating action 'multi' with parameter: ('first', 'second') 1128s # Message 9 1128s # Message 10 1128s # Activating action 'single' with parameter: ('first',) 1128s # Message 11 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 25 /gapplication/dbus/activate-action 1128s # End of dbus tests 1128s # End of gapplication tests 1128s ok - glib/gapplication.test 1128s # Running test: glib/appmonitor.test 1128s TAP version 14 1128s # random seed: R02S97bcff9938c773cdfd71410d7630feda 1128s 1..1 1128s # Start of monitor tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/runtime 1128s # Using data directory: /tmp/test_appmonitor_4LW5J3/monitor/app/.dirs/data 1128s ok 1 /monitor/app 1128s # End of monitor tests 1128s ok - glib/appmonitor.test 1128s # Running test: glib/gi-inspect-typelib.py.test 1128s TAP version 13 1128s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmp656i18t1 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1128s # Return code: 0 1128s # Output: 1128s # Usage: 1128s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1128s # 1128s # Help Options: 1128s # -h, --help Show help options 1128s # 1128s # Application Options: 1128s # --typelib-version=VERSION Typelib version to inspect 1128s # --print-shlibs List the shared libraries the typelib requires 1128s # --print-typelibs List other typelibs the inspected typelib requires 1128s # Error: 1128s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmp5b_vly3f 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1128s # Return code: 1 1128s # Output: 1128s # 1128s # Error: 1128s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1128s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmpd1xuzhyp 1128s # Running: ['/usr/bin/gi-inspect-typelib'] 1128s # Return code: 1 1128s # Output: 1128s # 1128s # Error: 1128s # Please specify exactly one namespace 1128s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmpnvgl4uas 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # shlib: libgobject-2.0.so.0 1128s # shlib: libglib-2.0.so.0 1128s # Error: 1128s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmpa_bgon07 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # 1128s # Error: 1128s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmp7eqzryax 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # shlib: libgobject-2.0.so.0 1128s # shlib: libglib-2.0.so.0 1128s # Error: 1128s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmpjh7ngc2_ 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # shlib: libgobject-2.0.so.0 1128s # Error: 1128s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmp9mlrjmbo 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # typelib: GLib-2.0 1128s # Error: 1128s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmpp6aqu6f4 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # shlib: libgobject-2.0.so.0 1128s # typelib: GLib-2.0 1128s # Error: 1128s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmp2p4h3ofs 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # shlib: libgio-2.0.so.0 1128s # Error: 1128s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmp1jdqzd6m 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # typelib: GObject-2.0 1128s # typelib: GLib-2.0 1128s # typelib: GModule-2.0 1128s # Error: 1128s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1128s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1128s # tmpdir: /tmp/tmpfoiz8cys 1128s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1128s # Return code: 0 1128s # Output: 1128s # shlib: libgio-2.0.so.0 1128s # typelib: GObject-2.0 1128s # typelib: GLib-2.0 1128s # typelib: GModule-2.0 1128s # Error: 1128s 1..12 1128s ok - glib/gi-inspect-typelib.py.test 1128s # Running test: glib/signal-handler.test 1128s TAP version 14 1128s # random seed: R02S39b97e87cd16cc1b0b711ddef3a943a1 1128s 1..7 1128s # Start of signal tests 1128s # Start of handler tests 1128s ok - glib/signal-handler.test 1128s # Running test: glib/closure.test 1128s # min perf: connected 1 handlers in 0.000 seconds 1128s ok 1 /signal/handler/connect-many 1128s # min perf: disconnected 1 handlers in 0.000 seconds 1128s ok 2 /signal/handler/disconnect-many-ordered 1128s # min perf: disconnected 1 handlers in 0.000 seconds 1128s ok 3 /signal/handler/disconnect-many-inverse 1128s # min perf: disconnected 1 handlers in 0.000 seconds 1128s ok 4 /signal/handler/disconnect-many-random 1128s # min perf: disconnected 1 handlers in 0.000 seconds 1128s ok 5 /signal/handler/disconnect-2-signals 1128s # min perf: disconnected 1 handlers in 0.000 seconds 1128s ok 6 /signal/handler/disconnect-2-objects 1128s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1128s ok 7 /signal/handler/block-many 1128s # End of handler tests 1128s # End of signal tests 1128s TAP version 14 1128s # random seed: R02S2dec0fc99110430de65103e15d17887b 1128s 1..6 1128s # Start of closure tests 1128s ok 1 /closure/idle 1128s ok - glib/closure.test 1128s ok 2 /closure/timeout 1128s ok 3 /closure/iochannel 1128s # Running test: glib/sleepy-stream.test 1128s ok 4 /closure/child 1128s ok 5 /closure/fd 1128s ok 6 /closure/signal 1128s # End of closure tests 1128s TAP version 14 1128s # random seed: R02Sc549faed470ec14639d0b16ccc6e0fb7 1128s 1..2 1128s # Start of filter-stream tests 1128s ok 1 /filter-stream/input 1128s ok 2 /filter-stream/async 1128s # End of filter-stream tests 1128s ok - glib/sleepy-stream.test 1128s # Running test: glib/portal-support-snap-classic.test 1128s TAP version 14 1128s # random seed: R02S0861a26803270aec3d62346f2ab59599 1128s 1..3 1128s # Start of portal-support tests 1128s # Start of snap-classic tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1128s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/no-snapctl: No such file or directory 1128s ok 1 /portal-support/snap-classic/no-snapctl 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/runtime 1128s # Created snap.yaml in /tmp/test_portal-support-snap-classic_ZQO7J3/meta/snap.yaml 1128s # Created snapctl in /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1128s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/none: No such file or directory 1128s ok 2 /portal-support/snap-classic/none 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/runtime 1128s # Created snap.yaml in /tmp/test_portal-support-snap-classic_ZQO7J3/meta/snap.yaml 1128s # Created snapctl in /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1128s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQO7J3/portal-support/snap-classic/all: No such file or directory 1128s ok 3 /portal-support/snap-classic/all 1128s # End of snap-classic tests 1128s # End of portal-support tests 1128s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQO7J3: No such file or directory 1128s ok - glib/portal-support-snap-classic.test 1128s # Running test: glib/pattern.test 1128s TAP version 14 1128s # random seed: R02Sb1ce2921112162f4af30605acc96a50d 1128s 1..90 1128s # Start of pattern tests 1128s # Start of compile tests 1128s ok 1 /pattern/compile/0 1128s ok 2 /pattern/compile/1 1128s ok 3 /pattern/compile/2 1128s ok 4 /pattern/compile/3 1128s ok 5 /pattern/compile/4 1128s ok 6 /pattern/compile/5 1128s ok 7 /pattern/compile/6 1128s ok 8 /pattern/compile/7 1128s ok 9 /pattern/compile/8 1128s ok 10 /pattern/compile/9 1128s ok 11 /pattern/compile/10 1128s ok 12 /pattern/compile/11 1128s ok 13 /pattern/compile/12 1128s ok 14 /pattern/compile/13 1128s # End of compile tests 1128s # Start of copy tests 1128s ok 15 /pattern/copy/0 1128s ok 16 /pattern/copy/1 1128s ok 17 /pattern/copy/2 1128s ok 18 /pattern/copy/3 1128s ok 19 /pattern/copy/4 1128s ok 20 /pattern/copy/5 1128s ok 21 /pattern/copy/6 1128s ok 22 /pattern/copy/7 1128s ok 23 /pattern/copy/8 1128s ok 24 /pattern/copy/9 1128s ok 25 /pattern/copy/10 1128s ok 26 /pattern/copy/11 1128s ok 27 /pattern/copy/12 1128s ok 28 /pattern/copy/13 1128s # End of copy tests 1128s # Start of match tests 1128s ok 29 /pattern/match/0 1128s ok 30 /pattern/match/1 1128s ok 31 /pattern/match/2 1128s ok 32 /pattern/match/3 1128s ok 33 /pattern/match/4 1128s ok 34 /pattern/match/5 1128s ok 35 /pattern/match/6 1128s ok 36 /pattern/match/7 1128s ok 37 /pattern/match/8 1128s ok 38 /pattern/match/9 1128s ok 39 /pattern/match/10 1128s ok 40 /pattern/match/11 1128s ok 41 /pattern/match/12 1128s ok 42 /pattern/match/13 1128s ok 43 /pattern/match/14 1128s ok 44 /pattern/match/15 1128s ok 45 /pattern/match/16 1128s ok 46 /pattern/match/17 1128s ok 47 /pattern/match/18 1128s ok 48 /pattern/match/19 1128s ok 49 /pattern/match/20 1128s ok 50 /pattern/match/21 1128s ok 51 /pattern/match/22 1128s ok 52 /pattern/match/23 1128s ok 53 /pattern/match/24 1128s ok 54 /pattern/match/25 1128s ok 55 /pattern/match/26 1128s ok 56 /pattern/match/27 1128s ok 57 /pattern/match/28 1128s ok 58 /pattern/match/29 1128s ok 59 /pattern/match/30 1128s ok 60 /pattern/match/31 1128s ok 61 /pattern/match/32 1128s ok 62 /pattern/match/33 1128s ok 63 /pattern/match/34 1128s ok 64 /pattern/match/35 1128s ok 65 /pattern/match/36 1128s ok 66 /pattern/match/37 1128s ok 67 /pattern/match/38 1128s ok 68 /pattern/match/39 1128s ok 69 /pattern/match/40 1128s ok 70 /pattern/match/41 1128s ok 71 /pattern/match/42 1128s ok 72 /pattern/match/43 1128s ok 73 /pattern/match/44 1128s ok 74 /pattern/match/45 1128s ok 75 /pattern/match/46 1128s ok 76 /pattern/match/47 1128s ok 77 /pattern/match/48 1128s ok 78 /pattern/match/49 1128s ok 79 /pattern/match/50 1128s # End of match tests 1128s # Start of equal tests 1128s ok 80 /pattern/equal/0 1128s ok 81 /pattern/equal/1 1128s ok 82 /pattern/equal/2 1128s ok 83 /pattern/equal/3 1128s ok 84 /pattern/equal/4 1128s ok 85 /pattern/equal/5 1128s ok 86 /pattern/equal/6 1128s ok 87 /pattern/equal/7 1128s ok 88 /pattern/equal/8 1128s ok 89 /pattern/equal/9 1128s ok 90 /pattern/equal/10 1128s # End of equal tests 1128s # End of pattern tests 1128s TAP version 14 1128s # random seed: R02Sf2f6d876a867dc9cf0f0fef58f30fe26 1128s 1..10 1128s # Start of gdbus tests 1128s ok - glib/pattern.test 1128s # Running test: glib/gdbus-names.test 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/validate-names/.dirs/runtime 1128s ok 1 /gdbus/validate-names 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-own-name/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 2 /gdbus/bus-own-name 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 3 /gdbus/bus-watch-name 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 4 /gdbus/bus-watch-name-auto-start 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s dbus-daemon[34728]: [session uid=1000 pid=34728 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=34719 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1128s # Acquired a message bus connection 1128s dbus-daemon[34728]: [session uid=1000 pid=34728 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1128s # Acquired the name org.gtk.GDBus.FakeService 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 6 /gdbus/bus-watch-name-closures 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 7 /gdbus/bus-watch-name-closures-auto-start 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-watch-different-context/.dirs/runtime 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 8 /gdbus/bus-watch-different-context 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/bus-unwatch-early/.dirs/runtime 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok 9 /gdbus/bus-unwatch-early 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YL47J3/gdbus/escape-object-path/.dirs/runtime 1128s ok 10 /gdbus/escape-object-path 1128s # End of gdbus tests 1128s ok - glib/gdbus-names.test 1128s # Running test: glib/gdbus-test-codegen.test 1128s TAP version 14 1128s # random seed: R02Sb403d17047d953e540e3ea2450bf0c65 1128s 1..8 1128s # Start of gdbus tests 1128s # Start of codegen tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/annotations/.dirs/runtime 1128s ok 1 /gdbus/codegen/annotations 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/interface_stability/.dirs/runtime 1128s ok 2 /gdbus/codegen/interface_stability 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/object-manager/.dirs/runtime 1128s ok 3 /gdbus/codegen/object-manager 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/property-naming/.dirs/runtime 1128s ok 4 /gdbus/codegen/property-naming 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/autocleanups/.dirs/runtime 1128s ok 5 /gdbus/codegen/autocleanups 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/deprecations/.dirs/runtime 1128s ok 6 /gdbus/codegen/deprecations 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1128s ok 7 /gdbus/codegen/standalone-interface-info 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_BD9AK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1128s ok 8 /gdbus/codegen/unix-fd-list 1128s # End of codegen tests 1128s # End of gdbus tests 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok - glib/gdbus-test-codegen.test 1128s # Running test: glib/macros-c-23.test 1128s ok - glib/macros-c-23.test 1128s TAP version 14 1128s # random seed: R02S5ff515ef25f0bb5a3be3694c265e4d04 1128s 1..4 1128s # Start of C tests 1128s # G_C_STD_VERSION is 202311 1128s ok 1 /C/standard-23 1128s # End of C tests 1128s # Start of alignof tests 1128s ok 2 /alignof/fallback 1128s # End of alignof tests 1128s # Start of assert tests 1128s ok 3 /assert/static 1128s # End of assert tests 1128s # Start of struct tests 1128s ok 4 /struct/sizeof_member 1128s # End of struct tests 1128s # Running test: glib/utils-c-89.test 1128s TAP version 14 1128s # random seed: R02S8c03920a8577605480f45dd7af77de46 1128s 1..41 1128s # Start of utils tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/language-names/.dirs/runtime 1128s ok 1 /utils/language-names 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/locale-variants/.dirs/runtime 1128s # Testing locale ‘en’ 1128s # Testing locale ‘sr@latin’ 1128s # Testing locale ‘fr_BE’ 1128s # Testing locale ‘sr_SR@latin’ 1128s # Testing locale ‘sr_SR@latin.UTF-8’ 1128s # Testing locale ‘sr@latin_invalid’ 1128s # Testing locale ‘sr.UTF-8@latin’ 1128s # Testing locale ‘sr.UTF-8_latin’ 1128s # Testing locale ‘sr.UTF-8@latin_invalid’ 1128s ok 2 /utils/locale-variants 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/version/.dirs/runtime 1128s ok 3 /utils/version 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/appname/.dirs/runtime 1128s ok 4 /utils/appname 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/prgname-thread-safety/.dirs/runtime 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1128s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1128s ok 5 /utils/prgname-thread-safety 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/tmpdir/.dirs/runtime 1128s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1128s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1128s Unable to clean up temporary directory /tmp/test_utils-c-89_DQ39J3/utils/tmpdir: No such file or directory 1128s ok 6 /utils/tmpdir 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/basic_bits/.dirs/runtime 1128s ok 7 /utils/basic_bits 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/bits/.dirs/runtime 1128s ok 8 /utils/bits 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/swap/.dirs/runtime 1128s ok 9 /utils/swap 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/find-program/.dirs/runtime 1128s ok 10 /utils/find-program 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/find-program-for-path/.dirs/runtime 1128s ok 11 /utils/find-program-for-path 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/debug/.dirs/runtime 1128s Unable to clean up temporary directory /tmp/test_utils-c-89_DQ39J3/utils/debug: No such file or directory 1128s ok 12 /utils/debug 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/codeset/.dirs/runtime 1128s ok 13 /utils/codeset 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/codeset2/.dirs/runtime 1128s Unable to clean up temporary directory /tmp/test_utils-c-89_DQ39J3/utils/codeset2: No such file or directory 1128s ok 14 /utils/codeset2 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/console-charset/.dirs/runtime 1128s ok 15 /utils/console-charset 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/gettext/.dirs/runtime 1128s ok 16 /utils/gettext 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/username/.dirs/runtime 1128s ok 17 /utils/username 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/realname/.dirs/runtime 1128s ok 18 /utils/realname 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/hostname/.dirs/runtime 1128s ok 19 /utils/hostname 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/os-info/.dirs/runtime 1128s # NAME: Ubuntu 1128s ok 20 /utils/os-info 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/.dirs/runtime 1128s ok 21 /utils/clear-pointer 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer-cast/.dirs/runtime 1128s ok 22 /utils/clear-pointer-cast 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/take-pointer/.dirs/runtime 1128s ok 23 /utils/take-pointer 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/clear-source/.dirs/runtime 1128s ok 24 /utils/clear-source 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/misc-mem/.dirs/runtime 1128s ok 25 /utils/misc-mem 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/.dirs/runtime 1128s # /utils/aligned-mem summary: Aligned memory allocator 1128s # Alignment must not be zero 1128s # Alignment must be a power of two 1128s # Alignment must be a multiple of sizeof(void*) 1128s ok 26 /utils/aligned-mem 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/free-sized/.dirs/runtime 1128s # /utils/free-sized summary: Check that g_free_sized() works 1128s ok 27 /utils/free-sized 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/nullify/.dirs/runtime 1128s ok 28 /utils/nullify 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/atexit/.dirs/runtime 1128s Unable to clean up temporary directory /tmp/test_utils-c-89_DQ39J3/utils/atexit: No such file or directory 1128s ok 29 /utils/atexit 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/check-setuid/.dirs/runtime 1128s ok 30 /utils/check-setuid 1128s ok - glib/utils-c-89.test 1128s # Running test: glib/value.test 1128s ok - glib/value.test 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/int-limits/.dirs/runtime 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1128s ok 31 /utils/int-limits 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/clear-list/.dirs/runtime 1128s ok 32 /utils/clear-list 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/clear-slist/.dirs/runtime 1128s ok 33 /utils/clear-slist 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/steal-handle-id/.dirs/runtime 1128s ok 34 /utils/steal-handle-id 1128s # Start of user-special-dirs tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/desktop/.dirs/runtime 1128s ok 35 /utils/user-special-dirs/desktop 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1128s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1128s Unable to clean up temporary directory /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/load-unlocked: No such file or directory 1128s ok 36 /utils/user-special-dirs/load-unlocked 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1128s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1128s Unable to clean up temporary directory /tmp/test_utils-c-89_DQ39J3/utils/user-special-dirs/reload-leaks: No such file or directory 1128s ok 37 /utils/user-special-dirs/reload-leaks 1128s # End of user-special-dirs tests 1128s # Start of clear-pointer tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/clear-pointer/side-effects/.dirs/runtime 1128s ok 38 /utils/clear-pointer/side-effects 1128s # End of clear-pointer tests 1128s # Start of aligned-mem tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/alignment/.dirs/runtime 1128s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1128s ok 39 /utils/aligned-mem/alignment 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/zeroed/.dirs/runtime 1128s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1128s ok 40 /utils/aligned-mem/zeroed 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_DQ39J3/utils/aligned-mem/free-sized/.dirs/runtime 1128s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1128s ok 41 /utils/aligned-mem/free-sized 1128s # Start of subprocess tests 1128s # End of subprocess tests 1128s # End of aligned-mem tests 1128s # End of utils tests 1128s TAP version 14 1128s # random seed: R02Scff50a251a92f0e49eaf9ec128c66ca3 1128s 1..9 1128s # Start of value tests 1128s ok 1 /value/basic 1128s ok 2 /value/collection 1128s ok 3 /value/copying 1128s ok 4 /value/enum-transformation 1128s ok 5 /value/gtype 1128s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1128s ok 6 /value/string 1128s # Next: GObject object in GValue of GObject to GValue of GObject 1128s # Next: GObject object in GValue of GObject to GValue of TestInterface 1128s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1128s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1128s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1128s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1128s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1128s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1128s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1128s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1128s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1128s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1128s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1128s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1128s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1128s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1128s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1128s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1128s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1128s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1128s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1128s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1128s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1128s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1128s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1128s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1128s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1128s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1128s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1128s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1128s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1128s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1128s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1128s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1128s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1128s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1128s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1128s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1128s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1128s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1128s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1128s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1128s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1128s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1128s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1128s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1128s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1128s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1128s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1128s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1128s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1128s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1128s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1128s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1128s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1128s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1128s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1128s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1128s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1128s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1128s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1128s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1128s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1128s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1128s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1128s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1128s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1128s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1128s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1128s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1128s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1128s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1128s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1128s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1128s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1128s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1128s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1128s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1128s ok 7 /value/transform-object 1128s # Start of array tests 1128s ok 8 /value/array/basic 1128s ok 9 /value/array/sort-with-data 1128s # End of array tests 1128s # End of value tests 1128s # Running test: glib/cxx-2c.test 1128s TAP version 14 1128s # random seed: R02Saa5ef5bb97a494b14928ebd0ec8b9c93 1128s 1..2 1128s # Start of gtask tests 1128s # 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. 1128s ok 1 /gtask/name 1128s # Start of name tests 1128s # 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. 1128s ok 2 /gtask/name/macro-wrapper 1128s # End of name tests 1128s # End of gtask tests 1128s ok - glib/cxx-2c.test 1128s # Running test: glib/slice.test 1128s TAP version 14 1128s # random seed: R02Sb1fca1eb91796d9e69ed6c37f84dfcea 1128s 1..3 1128s # Start of slice tests 1128s ok 1 /slice/copy 1128s ok 2 /slice/chain 1129s ok 3 /slice/allocate 1129s # slow test /slice/allocate executed in 0.57 secs 1129s # End of slice tests 1129s ok - glib/slice.test 1129s # Running test: glib/notify-init2.test 1129s ok - glib/notify-init2.test 1129s # Running test: glib/socket.test 1129s TAP version 14 1129s # random seed: R02S29ac4183012561b3e4ad5edeb679f847 1129s 1..1 1129s # Start of properties tests 1129s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1129s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1129s ok 1 /properties/notify-in-init2 1129s # End of properties tests 1129s TAP version 14 1129s # random seed: R02Sed7e7996891ad06bc7c2112f55db7ef6 1129s 1..30 1129s # Start of socket tests 1129s # Executing: glib/socket.test 1130s ok 1 /socket/ipv4_sync 1130s # slow test /socket/ipv4_sync executed in 1.00 secs 1131s ok 2 /socket/ipv4_async 1131s # slow test /socket/ipv4_async executed in 1.00 secs 1131s ok 3 /socket/ipv6_sync 1131s ok 4 /socket/ipv6_async 1131s ok 5 /socket/ipv6_v4mapped 1132s ok 6 /socket/close_graceful 1132s # slow test /socket/close_graceful executed in 1.00 secs 1132s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1132s ok 8 /socket/fd_reuse 1132s ok 9 /socket/address 1132s ok 10 /socket/unix-from-fd 1132s ok 11 /socket/unix-connection 1132s ok 12 /socket/unix-connection-ancillary-data 1132s ok 13 /socket/source-postmortem 1132s ok 14 /socket/read_write 1132s ok 15 /socket/read_writev 1132s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1132s ok 16 /socket/receive_bytes 1132s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1132s ok 17 /socket/receive_bytes_from 1132s # Start of ipv4_sync tests 1132s ok 18 /socket/ipv4_sync/datagram 1132s # Start of datagram tests 1133s ok 19 /socket/ipv4_sync/datagram/timeouts 1133s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1133s # End of datagram tests 1133s # End of ipv4_sync tests 1133s # Start of ipv6_sync tests 1133s ok 20 /socket/ipv6_sync/datagram 1133s # Start of datagram tests 1134s ok 21 /socket/ipv6_sync/datagram/timeouts 1134s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1134s # End of datagram tests 1134s # End of ipv6_sync tests 1134s # Start of reuse tests 1134s ok 22 /socket/reuse/tcp 1134s ok 23 /socket/reuse/udp 1134s # End of reuse tests 1134s # Start of get_available tests 1134s # Executing: glib/socket.test 1134s ok 24 /socket/get_available/datagram 1134s ok 25 /socket/get_available/stream 1134s # End of get_available tests 1134s # Start of credentials tests 1134s # Supported on this OS: GCredentials:linux-ucred:pid=0 1134s ok 26 /socket/credentials/tcp_client 1134s # Supported on this OS: GCredentials:linux-ucred:pid=0 1134s ok 27 /socket/credentials/tcp_server 1134s # Supported on this OS: GCredentials:linux-ucred:pid=34808,uid=1000,gid=1000 1134s ok 28 /socket/credentials/unix_socketpair 1134s # End of credentials tests 1134s # Start of accept tests 1134s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1134s ok 29 /socket/accept/cancelled 1134s # End of accept tests 1134s # Start of connect tests 1134s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1134s ok 30 /socket/connect/cancelled 1134s # End of connect tests 1134s # End of socket tests 1134s ok - glib/socket.test 1134s # Running test: glib/permission.test 1134s TAP version 14 1134s # random seed: R02S5c3cb97687020311139b0e396bc61b25 1134s 1..1 1134s # Start of permission tests 1134s ok 1 /permission/simple 1134s # End of permission tests 1134s ok - glib/permission.test 1134s # Running test: glib/gio-tool.py.test 1134s TAP version 13 1134s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1134s # gio: /usr/bin/gio 1134s # tmpdir: /tmp/tmpzw7hsdu_ 1134s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpzw7hsdu_/folder/desktop.entry'] 1134s # Working Directory: /tmp/tmpzw7hsdu_/folder 1134s # Return code: 0 1134s # Output: 1134s # /tmp/tmpzw7hsdu_/folder/desktop.entry 1134s # Error: 1134s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1134s # gio: /usr/bin/gio 1134s # tmpdir: /tmp/tmpp47bqpue 1134s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpp47bqpue/folder/desktop.entry'] 1134s # Working Directory: /tmp/tmpp47bqpue 1134s # Return code: 0 1134s # Output: 1134s # /tmp/tmpp47bqpue/folder/desktop.entry 1134s # Error: 1135s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmpqq_xc9ep 1135s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpqq_xc9ep/folder/desktop.entry'] 1135s # Working Directory: /tmp/tmpqq_xc9ep/sibling 1135s # Return code: 0 1135s # Output: 1135s # /tmp/tmpqq_xc9ep/folder/desktop.entry 1135s # Error: 1135s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmpbachsh02 1135s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1135s # Working Directory: /tmp/tmpbachsh02/folder 1135s # Return code: 0 1135s # Output: 1135s # /tmp/tmpbachsh02/folder/desktop.entry 1135s # Error: 1135s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmp368206fw 1135s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1135s # Working Directory: /tmp/tmp368206fw 1135s # Return code: 0 1135s # Output: 1135s # /tmp/tmp368206fw/folder/desktop.entry 1135s # Error: 1135s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmpj7m8tkeh 1135s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1135s # Working Directory: /tmp/tmpj7m8tkeh/sibling 1135s # Return code: 0 1135s # Output: 1135s # /tmp/tmpj7m8tkeh/folder/desktop.entry 1135s # Error: 1135s ok 7 __main__.TestGioTool.test_help 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmp7yihz4eo 1135s # Running: ['/usr/bin/gio', '--help'] 1135s # Return code: 0 1135s # Output: 1135s # Usage: 1135s # gio COMMAND [ARGS…] 1135s # 1135s # Commands: 1135s # help Print help 1135s # version Print version 1135s # cat Concatenate files to standard output 1135s # copy Copy one or more files 1135s # info Show information about locations 1135s # launch Launch an application from a desktop file 1135s # list List the contents of locations 1135s # mime Get or set the handler for a mimetype 1135s # mkdir Create directories 1135s # monitor Monitor files and directories for changes 1135s # mount Mount or unmount the locations 1135s # move Move one or more files 1135s # open Open files with the default application 1135s # rename Rename a file 1135s # remove Delete one or more files 1135s # save Read from standard input and save 1135s # set Set a file attribute 1135s # trash Move files or directories to the trash 1135s # tree Lists the contents of locations in a tree 1135s # 1135s # Use “gio help COMMAND” to get detailed help. 1135s # Error: 1135s # 1135s # Running: ['/usr/bin/gio', 'help'] 1135s # Return code: 0 1135s # Output: 1135s # Usage: 1135s # gio COMMAND [ARGS…] 1135s # 1135s # Commands: 1135s # help Print help 1135s # version Print version 1135s # cat Concatenate files to standard output 1135s # copy Copy one or more files 1135s # info Show information about locations 1135s # launch Launch an application from a desktop file 1135s # list List the contents of locations 1135s # mime Get or set the handler for a mimetype 1135s # mkdir Create directories 1135s # monitor Monitor files and directories for changes 1135s # mount Mount or unmount the locations 1135s # move Move one or more files 1135s # open Open files with the default application 1135s # rename Rename a file 1135s # remove Delete one or more files 1135s # save Read from standard input and save 1135s # set Set a file attribute 1135s # trash Move files or directories to the trash 1135s # tree Lists the contents of locations in a tree 1135s # 1135s # Use “gio help COMMAND” to get detailed help. 1135s # Error: 1135s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmpocwyoxmh 1135s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpocwyoxmh/tmp2rnwbcx0'] 1135s # Return code: 0 1135s # Output: 1135s # uri: file:///tmp/tmpocwyoxmh/tmp2rnwbcx0 1135s # local path: /tmp/tmpocwyoxmh/tmp2rnwbcx0 1135s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-qemsgh/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=61819,subvol=/lxd/containers/autopkgtest-lxd-qemsgh 1135s # attributes: 1135s # standard::content-type: application/x-zerosize 1135s # Error: 1135s ok 9 __main__.TestGioTool.test_no_args 1135s # gio: /usr/bin/gio 1135s # tmpdir: /tmp/tmpw17yii0h 1135s # Running: ['/usr/bin/gio'] 1135s # Return code: 1 1135s # Output: 1135s # 1135s # Error: 1135s # Usage: 1135s # gio COMMAND [ARGS…] 1135s # 1135s # Commands: 1135s # help Print help 1135s # version Print version 1135s # cat Concatenate files to standard output 1135s # copy Copy one or more files 1135s # info Show information about locations 1135s # launch Launch an application from a desktop file 1135s # list List the contents of locations 1135s # mime Get or set the handler for a mimetype 1135s # mkdir Create directories 1135s # monitor Monitor files and directories for changes 1135s # mount Mount or unmount the locations 1135s # move Move one or more files 1135s # open Open files with the default application 1135s # rename Rename a file 1135s # remove Delete one or more files 1135s # save Read from standard input and save 1135s # set Set a file attribute 1135s # trash Move files or directories to the trash 1135s # tree Lists the contents of locations in a tree 1135s # 1135s # Use “gio help COMMAND” to get detailed help. 1135s 1..9 1135s ok - glib/gio-tool.py.test 1135s # Running test: glib/gdbus-subscribe.test 1135s TAP version 14 1135s # random seed: R02Sd9fd8c56debe99b06f12bea927079b97 1135s 1..24 1135s # Start of gdbus tests 1135s # Start of subscribe tests 1135s # Start of conn tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/simple/.dirs/runtime 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1135s # Step 0: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 1: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 2: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 2 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 1 /gdbus/subscribe/conn/simple 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1135s # Step 0: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: service 2 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 3: emitting signal 1135s # Sender: service 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 4: emitting signal 1135s # Sender: service 2 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 1 1135s # Signal received from service 2 :1.2 1135s # Signal received from service 2 :1.2 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 2 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 3 1135s # Signal received from service 2 :1.2 1135s # Signal received from service 2 :1.2 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1135s # Step 0: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 1: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: (any) 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 2: adding subscription 1135s # Sender: (any) 1135s # Path: (any) 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 3: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 4: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 3 /gdbus/subscribe/conn/match_twice 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1135s # Step 0: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 3: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 3 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1135s # Step 0: adding subscription 1135s # Sender: :0.this.had.better.not.exist 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /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 1135s # Step 0: claiming bus name 1135s # Name: org.gtk.Test.AlreadyOwned 1135s # Owner: service 1135s # Step 1: adding subscription 1135s # Sender: org.gtk.Test.AlreadyOwned 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 2: adding subscription 1135s # Sender: org.gtk.Test.OwnedLater 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 3: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 4: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 5: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 6: claiming bus name 1135s # Name: org.gtk.Test.OwnedLater 1135s # Owner: service 1135s # Step 7: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 5 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1135s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1135s # Step 0: adding subscription 1135s # Sender: org.freedesktop.DBus 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # String argument 0: would I lie to you? 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Waiting for signal to reach message bus 1135s # Step 3: claiming bus name 1135s # Name: org.gtk.Test.OwnedLater 1135s # Owner: service 1135s # Signal received from message bus org.freedesktop.DBus 1135s # Signal received from (unused) org.freedesktop.DBus via connection 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1135s # Step 0: claiming bus name 1135s # Name: org.gtk.Test.AlreadyOwned 1135s # Owner: service 1135s # Step 1: adding subscription 1135s # Sender: org.gtk.Test.AlreadyOwned 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Immediately unsubscribing 1135s # Waiting for AddMatch to be processed 1135s # Step 2: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1135s # End of conn tests 1135s # Start of proxy tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/simple/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1135s # Step 0: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 1: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 2: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 9 /gdbus/subscribe/proxy/simple 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1135s # Step 0: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: service 2 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 3: emitting signal 1135s # Sender: service 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 4: emitting signal 1135s # Sender: service 2 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1135s # Step 0: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: (any) 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 2: adding subscription 1135s # Sender: (any) 1135s # Path: (any) 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 3: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 4: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 11 /gdbus/subscribe/proxy/match_twice 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1135s # Step 0: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 3: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 3 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1135s # Step 0: adding subscription 1135s # Sender: :0.this.had.better.not.exist 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /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 1135s # Step 0: claiming bus name 1135s # Name: org.gtk.Test.AlreadyOwned 1135s # Owner: service 1135s # Step 1: adding subscription 1135s # Sender: org.gtk.Test.AlreadyOwned 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 2: adding subscription 1135s # Sender: org.gtk.Test.OwnedLater 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 3: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 4: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 5: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 6: claiming bus name 1135s # Name: org.gtk.Test.OwnedLater 1135s # Owner: service 1135s # Step 7: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 5 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1135s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1135s # Step 0: adding subscription 1135s # Sender: org.freedesktop.DBus 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # String argument 0: would I lie to you? 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Waiting for signal to reach message bus 1135s # Step 3: claiming bus name 1135s # Name: org.gtk.Test.OwnedLater 1135s # Owner: service 1135s # Signal received from message bus org.freedesktop.DBus 1135s # Signal received from (unused) org.freedesktop.DBus via proxy 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1135s # Step 0: claiming bus name 1135s # Name: org.gtk.Test.AlreadyOwned 1135s # Owner: service 1135s # Step 1: adding subscription 1135s # Sender: org.gtk.Test.AlreadyOwned 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 2: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 2 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1135s # End of proxy tests 1135s # Start of parallel tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/simple/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1135s # Step 0: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 1: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 2: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 2 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 17 /gdbus/subscribe/parallel/simple 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1135s # Step 0: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: service 2 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 3: emitting signal 1135s # Sender: service 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 4: emitting signal 1135s # Sender: service 2 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 1 1135s # Signal received from service 2 :1.2 1135s # Signal received from service 2 :1.2 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 2 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 3 1135s # Signal received from service 2 :1.2 1135s # Signal received from service 2 :1.2 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1135s # Step 0: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: adding subscription 1135s # Sender: (any) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: (any) 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 2: adding subscription 1135s # Sender: (any) 1135s # Path: (any) 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Cannot subscribe via proxy: no bus name 1135s # Waiting for AddMatch to be processed 1135s # Step 3: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 4: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 4 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1135s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 19 /gdbus/subscribe/parallel/match_twice 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1135s # Step 0: adding subscription 1135s # Sender: service :1.1 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 3: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 3 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 3 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1135s # Step 0: adding subscription 1135s # Sender: :0.this.had.better.not.exist 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /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 1135s # Step 0: claiming bus name 1135s # Name: org.gtk.Test.AlreadyOwned 1135s # Owner: service 1135s # Step 1: adding subscription 1135s # Sender: org.gtk.Test.AlreadyOwned 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 2: adding subscription 1135s # Sender: org.gtk.Test.OwnedLater 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 3: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 4: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 5: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Step 6: claiming bus name 1135s # Name: org.gtk.Test.OwnedLater 1135s # Owner: service 1135s # Step 7: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 5 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 5 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via connection 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 7 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1135s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1135s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1135s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1135s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1135s # Step 0: adding subscription 1135s # Sender: org.freedesktop.DBus 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 1: emitting signal 1135s # Sender: attacker 1135s # Destination: (broadcast) 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # String argument 0: would I lie to you? 1135s # Waiting for signal to reach message bus 1135s # Step 2: emitting signal 1135s # Sender: attacker 1135s # Destination: subscriber :1.0 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Waiting for signal to reach message bus 1135s # Step 3: claiming bus name 1135s # Name: org.gtk.Test.OwnedLater 1135s # Owner: service 1135s # Signal received from message bus org.freedesktop.DBus 1135s # Signal received from (unused) org.freedesktop.DBus via connection 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Signal received from message bus org.freedesktop.DBus 1135s # Signal received from (unused) org.freedesktop.DBus via proxy 1135s # Path: /org/freedesktop/DBus 1135s # Interface: org.freedesktop.DBus 1135s # Member: NameOwnerChanged 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1135s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1135s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_8EUFK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1135s # subscriber is :1.0 1135s # service is :1.1 1135s # service 2 is :1.2 1135s # attacker is :1.3 1135s # Waiting for AddMatch to be processed 1135s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1135s # Step 0: claiming bus name 1135s # Name: org.gtk.Test.AlreadyOwned 1135s # Owner: service 1135s # Step 1: adding subscription 1135s # Sender: org.gtk.Test.AlreadyOwned 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: (any) 1135s # String argument 0: (any) 1135s # Flags: 0 1135s # Subscribing via connection 1135s # Immediately unsubscribing 1135s # Subscribing via proxy 1135s # Waiting for AddMatch to be processed 1135s # Step 2: emitting signal 1135s # Sender: service 1135s # Destination: (broadcast) 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Waiting for signal to reach message bus 1135s # Signal received from service :1.1 1135s # Signal received from service :1.1 via proxy 1135s # Path: /org/gtk/GDBus/ExampleInterface 1135s # Interface: org.gtk.GDBus.ExampleInterface 1135s # Member: Foo 1135s # Argument 0: (not a string) 1135s # Sent in step: 2 1135s # Received Finished signal from subscriber :1.0 1135s # Received Finished signal from service :1.1 1135s # Received Finished signal from service 2 :1.2 1135s # Received Finished signal from attacker :1.3 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1135s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1135s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1135s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1135s # End of parallel tests 1135s # End of subscribe tests 1135s # End of gdbus tests 1135s ok - glib/gdbus-subscribe.test 1135s # Running test: glib/bindinggroup.test 1135s TAP version 14 1135s # random seed: R02S75d5ed90c3a24b17ba25610e136ce79a 1135s 1..11 1135s # Start of GObject tests 1135s # Start of BindingGroup tests 1135s ok 1 /GObject/BindingGroup/invalid 1135s ok 2 /GObject/BindingGroup/default 1135s ok 3 /GObject/BindingGroup/bidirectional 1135s ok 4 /GObject/BindingGroup/transform 1135s ok 5 /GObject/BindingGroup/transform-closures 1135s ok 6 /GObject/BindingGroup/same-object 1135s ok 7 /GObject/BindingGroup/weak-ref-source 1135s ok 8 /GObject/BindingGroup/weak-ref-target 1135s ok 9 /GObject/BindingGroup/properties 1135s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1135s ok 11 /GObject/BindingGroup/empty-closures 1135s # End of BindingGroup tests 1135s # End of GObject tests 1135s ok - glib/bindinggroup.test 1135s # Running test: glib/gi-compile-repository.py.test 1135s TAP version 13 1135s ok 1 __main__.TestGICompileRepository.test_open_failure 1135s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1135s # gi-compile-repository: /usr/bin/gi-compile-repository 1135s # tmpdir: /tmp/tmpjw6d2i3y 1135s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpjw6d2i3y/invalid.typelib'] 1135s # Return code: 1 1135s # Output: 1135s # 1135s # Error: 1135s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1135s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1135s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1135s # gi-compile-repository: /usr/bin/gi-compile-repository 1135s # tmpdir: /tmp/tmpz960srn2 1135s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpz960srn2/GLib-2.typelib'] 1135s # Return code: 0 1135s # Output: 1135s # 1135s # Error: 1135s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1135s # gi-compile-repository: /usr/bin/gi-compile-repository 1135s # tmpdir: /tmp/tmpdehoscei 1135s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 1135s # Return code: 1 1135s # Output: 1135s # 1135s # Error: 1135s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1135s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1135s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1135s # gi-compile-repository: /usr/bin/gi-compile-repository 1135s # tmpdir: /tmp/tmpwji1e40y 1135s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpwji1e40y/GObject-2.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1135s # Return code: 0 1135s # Output: 1135s # 1135s # Error: 1135s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1135s # gi-compile-repository: /usr/bin/gi-compile-repository 1135s # tmpdir: /tmp/tmp8jui_rq8 1135s # 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/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1135s # Return code: 1 1135s # Output: 1135s # 1135s # Error: 1135s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1136s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1136s # gir path set to [PosixPath('/usr/lib/arm-linux-gnueabihf/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1136s # gi-compile-repository: /usr/bin/gi-compile-repository 1136s # tmpdir: /tmp/tmp2ly01ehc 1136s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp2ly01ehc/Gio-2.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1136s # Return code: 0 1136s # Output: 1136s # 1136s # Error: 1136s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1136s # gi-compile-repository: /usr/bin/gi-compile-repository 1136s # tmpdir: /tmp/tmp7rucxoe0 1136s # 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/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1136s # Return code: 1 1136s # Output: 1136s # 1136s # Error: 1136s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1136s 1..7 1136s ok - glib/gi-compile-repository.py.test 1136s TAP version 14 1136s # random seed: R02S53b5501c839644539dd38f8d4724a0af 1136s 1..3 1136s # Start of static-proxy tests 1136s ok 1 /static-proxy/uri 1136s ok 2 /static-proxy/socks 1136s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1136s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1136s ok 3 /static-proxy/ignore 1136s # End of static-proxy tests 1136s # Running test: glib/simple-proxy.test 1136s ok - glib/simple-proxy.test 1136s # Running test: glib/file.test 1136s TAP version 14 1136s # random seed: R02Se315f79fa66495b54737590ec11f8116 1136s 1..55 1136s # Start of file tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/basic/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/basic/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/basic/.dirs/system-config1:/tmp/test_file_8UJAK3/file/basic/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/basic/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/basic/.dirs/system-data1:/tmp/test_file_8UJAK3/file/basic/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/basic/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/basic/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/basic/.dirs/runtime 1136s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1136s ok 1 /file/basic 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/build-filename/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/build-filename/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/build-filename/.dirs/system-config1:/tmp/test_file_8UJAK3/file/build-filename/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/build-filename/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/build-filename/.dirs/system-data1:/tmp/test_file_8UJAK3/file/build-filename/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/build-filename/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/build-filename/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/build-filename/.dirs/runtime 1136s ok 2 /file/build-filename 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_8UJAK3/file/build-filenamev/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_8UJAK3/file/build-filenamev/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/build-filenamev/.dirs/runtime 1136s ok 3 /file/build-filenamev 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/parent/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/parent/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/parent/.dirs/system-config1:/tmp/test_file_8UJAK3/file/parent/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/parent/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/parent/.dirs/system-data1:/tmp/test_file_8UJAK3/file/parent/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/parent/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/parent/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/parent/.dirs/runtime 1136s ok 4 /file/parent 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/child/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/child/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/child/.dirs/system-config1:/tmp/test_file_8UJAK3/file/child/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/child/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/child/.dirs/system-data1:/tmp/test_file_8UJAK3/file/child/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/child/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/child/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/child/.dirs/runtime 1136s ok 5 /file/child 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/empty-path/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/empty-path/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/empty-path/.dirs/system-config1:/tmp/test_file_8UJAK3/file/empty-path/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/empty-path/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/empty-path/.dirs/system-data1:/tmp/test_file_8UJAK3/file/empty-path/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/empty-path/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/empty-path/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/empty-path/.dirs/runtime 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1136s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1136s ok 6 /file/empty-path 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/type/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/type/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/type/.dirs/system-config1:/tmp/test_file_8UJAK3/file/type/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/type/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/type/.dirs/system-data1:/tmp/test_file_8UJAK3/file/type/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/type/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/type/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/type/.dirs/runtime 1136s ok 7 /file/type 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/parse-name/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/parse-name/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/parse-name/.dirs/system-config1:/tmp/test_file_8UJAK3/file/parse-name/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/parse-name/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/parse-name/.dirs/system-data1:/tmp/test_file_8UJAK3/file/parse-name/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/parse-name/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/parse-name/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/parse-name/.dirs/runtime 1136s ok 8 /file/parse-name 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/replace-load/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/replace-load/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/replace-load/.dirs/system-config1:/tmp/test_file_8UJAK3/file/replace-load/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/replace-load/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/replace-load/.dirs/system-data1:/tmp/test_file_8UJAK3/file/replace-load/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/replace-load/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/replace-load/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/replace-load/.dirs/runtime 1136s ok 9 /file/replace-load 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_8UJAK3/file/replace-cancel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_8UJAK3/file/replace-cancel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/replace-cancel/.dirs/runtime 1136s # Bug Reference: https://bugzilla.gnome.org/629301 1136s ok 10 /file/replace-cancel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_8UJAK3/file/replace-symlink/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_8UJAK3/file/replace-symlink/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/replace-symlink/.dirs/runtime 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1136s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1136s # Using temporary directory /tmp/test_file_8UJAK3/g_file_replace_symlink_DBXAK3 1136s ok 11 /file/replace-symlink 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-new-tmp/.dirs/runtime 1136s ok 12 /file/async-new-tmp 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-new-tmp-dir/.dirs/runtime 1136s ok 13 /file/async-new-tmp-dir 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-delete/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-delete/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-delete/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-delete/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-delete/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-delete/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-delete/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-delete/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-delete/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-delete/.dirs/runtime 1136s ok 14 /file/async-delete 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-make-symlink/.dirs/runtime 1136s ok 15 /file/async-make-symlink 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/copy-preserve-mode/.dirs/runtime 1136s # Current umask: 2 1136s # Vector 0 1136s # Vector 1 1136s # Vector 2 1136s # Vector 3 1136s # Vector 4 1136s # Vector 5 1136s # Vector 6 1136s # Vector 7 1136s # Vector 8 1136s # Vector 9 1136s # Vector 10 1136s ok 16 /file/copy-preserve-mode 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/copy-async-with-closures/.dirs/runtime 1136s ok 17 /file/copy-async-with-closures 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/measure/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/measure/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/measure/.dirs/system-config1:/tmp/test_file_8UJAK3/file/measure/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/measure/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/measure/.dirs/system-data1:/tmp/test_file_8UJAK3/file/measure/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/measure/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/measure/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/measure/.dirs/runtime 1136s ok 18 /file/measure 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/measure-async/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/measure-async/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/measure-async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/measure-async/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/measure-async/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/measure-async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/measure-async/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/measure-async/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/measure-async/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/measure-async/.dirs/runtime 1136s ok 19 /file/measure-async 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/system-config1:/tmp/test_file_8UJAK3/file/load-bytes/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/system-data1:/tmp/test_file_8UJAK3/file/load-bytes/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/load-bytes/.dirs/runtime 1136s ok 20 /file/load-bytes 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/load-bytes-async/.dirs/runtime 1136s ok 21 /file/load-bytes-async 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/load-bytes-4gb/.dirs/runtime 1136s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/load-contents-4gb/.dirs/runtime 1136s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/load-contents-4gb-async/.dirs/runtime 1136s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/.dirs/runtime 1136s ok 25 /file/writev 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/build-attribute-list-for-copy/.dirs/runtime 1136s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1136s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1136s # 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::* 1136s # 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::* 1136s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1136s # Attributes for copy: standard::size,xattr::* 1136s # Attributes for copy: standard::size,unix::mode,xattr::* 1136s ok 26 /file/build-attribute-list-for-copy 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/move_async/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/move_async/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/move_async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/move_async/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/move_async/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/move_async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/move_async/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/move_async/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/move_async/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/move_async/.dirs/runtime 1136s ok 27 /file/move_async 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/move-async-with-closures/.dirs/runtime 1136s ok 28 /file/move-async-with-closures 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/query-zero-length-content-type/.dirs/runtime 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1136s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1136s ok 29 /file/query-zero-length-content-type 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/runtime 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/data/applications 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/config 1136s ok 30 /file/query-default-handler-file 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/runtime 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/data/applications 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/config 1136s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8UJAK3/file/query-default-handler-file/.dirs/config to /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/config 1136s ok 31 /file/query-default-handler-file-async 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/runtime 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/data/applications 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/config 1136s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8UJAK3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/config 1136s ok 32 /file/query-default-handler-uri 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/runtime 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/data/applications 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/config 1136s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8UJAK3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/config 1136s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8UJAK3/file/query-default-handler-uri-async/.dirs/config 1136s ok 33 /file/query-default-handler-uri-async 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/enumerator-cancellation/.dirs/runtime 1136s ok 34 /file/enumerator-cancellation 1136s # Start of async-create-delete tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-create-delete/0/.dirs/runtime 1136s ok 35 /file/async-create-delete/0 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-create-delete/1/.dirs/runtime 1137s ok 36 /file/async-create-delete/1 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-create-delete/10/.dirs/runtime 1137s ok 37 /file/async-create-delete/10 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-create-delete/25/.dirs/runtime 1137s ok 38 /file/async-create-delete/25 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/async-create-delete/4096/.dirs/runtime 1137s ok 39 /file/async-create-delete/4096 1137s # End of async-create-delete tests 1137s # Start of replace-symlink tests 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/replace-symlink/using-etag/.dirs/runtime 1137s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1137s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1137s # Using temporary directory /tmp/test_file_8UJAK3/g_file_replace_symlink_using_etag_XXTEK3 1139s ok 40 /file/replace-symlink/using-etag 1139s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1139s # End of replace-symlink tests 1139s # Start of replace tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_8UJAK3/file/replace/write-only/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_8UJAK3/file/replace/write-only/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/replace/write-only/.dirs/runtime 1139s # /file/replace/write-only summary: Test various situations for g_file_replace() 1139s # Current umask: 2 1139s # Test 0, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_B3QEK3 1139s # Test 1, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_9UQEK3 1139s # Test 2, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_L3AFK3 1139s # Test 3, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_0VCFK3 1139s # Test 4, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_ZTCFK3 1139s # Test 5, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_ZMCFK3 1139s # Test 6, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_ZV7EK3 1139s # Test 7, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_IY5EK3 1139s # Test 8, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_CG5EK3 1139s # Test 9, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_EJ5EK3 1139s # Test 10, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_V16EK3 1139s # Test 11, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_D81EK3 1139s # Test 12, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_X51EK3 1139s # Test 13, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_VY1EK3 1139s # Test 14, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_5I3EK3 1139s # Test 15, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_NKTJK3 1139s # Test 16, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_JGSJK3 1139s # Test 17, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_3DQJK3 1139s # Test 18, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_K0RJK3 1139s # Test 19, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_GOQJK3 1139s # Test 20, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_QPOJK3 1139s # Test 21, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_B08JK3 1139s # Test 22, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_FTAKK3 1139s # Test 23, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_HNAKK3 1139s # Test 24, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_K35JK3 1139s # Test 25, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_VM7JK3 1139s # Test 26, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_S76JK3 1139s # Test 27, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_706JK3 1139s # Test 28, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_3K2JK3 1139s # Test 29, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_A23JK3 1139s # Test 30, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_7S3JK3 1139s # Test 31, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_EM3JK3 1139s # Test 32, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_S9YJK3 1139s # Test 33, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_DX0JK3 1139s # Test 34, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_9N0JK3 1139s # Test 35, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_OG0JK3 1139s # Test 36, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_6N6IK3 1139s # Test 37, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_4I8IK3 1139s # Test 38, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_GQ3IK3 1139s # Test 39, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_YL5IK3 1139s # Test 40, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_OS0IK3 1139s # Test 41, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_XK2IK3 1139s # Test 42, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_9A1IK3 1139s # Test 43, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_0SWIK3 1139s # Test 44, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_XFYIK3 1139s # Test 45, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_OGYIK3 1139s # Test 46, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_ERIJK3 1139s # Test 47, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_RQLJK3 1139s # Test 48, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_JKKJK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s # Test 49, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_CDKJK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s # Test 50, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_SYGJK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s # Test 51, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_UVGJK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s ok 41 /file/replace/write-only 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_8UJAK3/file/replace/read-write/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_8UJAK3/file/replace/read-write/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/replace/read-write/.dirs/runtime 1139s # /file/replace/read-write summary: Test various situations for g_file_replace() 1139s # Current umask: 2 1139s # Test 0, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_4WDJK3 1139s # Test 1, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_6QDJK3 1139s # Test 2, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_GHFJK3 1139s # Test 3, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_1NAJK3 1139s # Test 4, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_SGAJK3 1139s # Test 5, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_N89IK3 1139s # Test 6, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_EUBJK3 1139s # Test 7, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_WXHIK3 1139s # Test 8, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_2FHIK3 1139s # Test 9, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_ZIHIK3 1139s # Test 10, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_3UIIK3 1139s # Test 11, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_S3DIK3 1139s # Test 12, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_1VDIK3 1139s # Test 13, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_5NDIK3 1139s # Test 14, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_9PFIK3 1139s # Test 15, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_IBCIK3 1139s # Test 16, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_VR7HK3 1139s # Test 17, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_6N9HK3 1139s # Test 18, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_KDUIK3 1139s # Test 19, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_KPVIK3 1139s # Test 20, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_QYQIK3 1139s # Test 21, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_MXSIK3 1139s # Test 22, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_GEOIK3 1139s # Test 23, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_W6NIK3 1139s # Test 24, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_W9PIK3 1139s # Test 25, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_HWOIK3 1139s # Test 26, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_SILIK3 1139s # Test 27, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_DALIK3 1139s # Test 28, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_KQMIK3 1139s # Test 29, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_QWSHK3 1139s # Test 30, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_YDSHK3 1139s # Test 31, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_RGSHK3 1139s # Test 32, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_50THK3 1139s # Test 33, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_29OHK3 1139s # Test 34, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_A2OHK3 1139s # Test 35, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_CVOHK3 1139s # Test 36, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_IOQHK3 1139s # Test 37, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_23LHK3 1139s # Test 38, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_2WNHK3 1139s # Test 39, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_IFJHK3 1139s # Test 40, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_U7KHK3 1139s # Test 41, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_ROJHK3 1139s # Test 42, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_2F4HK3 1139s # Test 43, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_6E6HK3 1139s # Test 44, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_V71HK3 1139s # Test 45, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_I11HK3 1139s # Test 46, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_T03HK3 1139s # Test 47, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_3O3HK3 1139s # Test 48, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_HHZHK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s # Test 49, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_03YHK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s # Test 50, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_I1YHK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s # Test 51, using temporary directory /tmp/test_file_8UJAK3/g_file_replace_WKYHK3 1139s # We do not have CAP_DAC_OVERRIDE or equivalent 1139s ok 42 /file/replace/read-write 1139s # End of replace tests 1139s # Start of copy tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/system-config1:/tmp/test_file_8UJAK3/file/copy/progress/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/system-data1:/tmp/test_file_8UJAK3/file/copy/progress/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/copy/progress/.dirs/runtime 1139s ok 43 /file/copy/progress 1139s # End of copy tests 1139s # Start of writev tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/no-bytes-written/.dirs/runtime 1139s ok 44 /file/writev/no-bytes-written 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/no-vectors/.dirs/runtime 1139s ok 45 /file/writev/no-vectors 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/empty-vectors/.dirs/runtime 1139s ok 46 /file/writev/empty-vectors 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/too-big-vectors/.dirs/runtime 1139s ok 47 /file/writev/too-big-vectors 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/async/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/async/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/async/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/async/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/async/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/async/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/async/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/async/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/async/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/async/.dirs/runtime 1139s ok 48 /file/writev/async 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/async_all/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/async_all/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/async_all/.dirs/runtime 1139s ok 49 /file/writev/async_all 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/async_all-empty-vectors/.dirs/runtime 1139s ok 50 /file/writev/async_all-empty-vectors 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/async_all-no-vectors/.dirs/runtime 1139s ok 51 /file/writev/async_all-no-vectors 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/async_all-to-big-vectors/.dirs/runtime 1139s ok 52 /file/writev/async_all-to-big-vectors 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/writev/async_all-cancellation/.dirs/runtime 1139s ok 53 /file/writev/async_all-cancellation 1139s # End of writev tests 1139s # Start of from-uri tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/from-uri/ignores-query-string/.dirs/runtime 1139s ok 54 /file/from-uri/ignores-query-string 1139s ok - glib/file.test 1139s # Running test: glib/gdbus-export.test 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8UJAK3/file/from-uri/ignores-fragment/.dirs/runtime 1139s ok 55 /file/from-uri/ignores-fragment 1139s # End of from-uri tests 1139s # End of file tests 1139s TAP version 14 1139s # random seed: R02Sb94e9d4264ba801e296c3a712b0b575d 1139s 1..7 1139s # Start of gdbus tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration/.dirs/runtime 1139s ok 1 /gdbus/object-registration 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures/.dirs/runtime 1139s ok 2 /gdbus/object-registration-with-closures 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/object-registration-with-closures2/.dirs/runtime 1139s ok 3 /gdbus/object-registration-with-closures2 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/registered-interfaces/.dirs/runtime 1139s ok 4 /gdbus/registered-interfaces 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/async-properties/.dirs/runtime 1139s ok 5 /gdbus/async-properties 1139s # Start of threaded-unregistration tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/object/.dirs/runtime 1139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1139s # /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 1139s # Executing: glib/gdbus-export.test 1140s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (6 iterations with unregistration first, 994 with call first); skipping test 1140s # slow test /gdbus/threaded-unregistration/object executed in 1.52 secs 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_69IMK3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1140s # /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 1142s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (9 iterations with unregistration first, 991 with call first); skipping test 1142s # slow test /gdbus/threaded-unregistration/subtree executed in 1.59 secs 1142s # End of threaded-unregistration tests 1142s # End of gdbus tests 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s ok - glib/gdbus-export.test 1142s # Running test: glib/enums.test 1142s ok - glib/enums.test 1142s TAP version 14 1142s # random seed: R02Sb21b96709b7a3db3d2de9bbca8c908bb 1142s 1..4 1142s # Start of enum tests 1142s ok 1 /enum/basic 1142s ok 2 /enum/define-type 1142s # End of enum tests 1142s # Start of flags tests 1142s ok 3 /flags/basic 1142s ok 4 /flags/define-type 1142s # End of flags tests 1142s # Running test: glib/error.test 1142s TAP version 14 1142s # random seed: R02Sce21a0ed1af49adeb521564e21b27876 1142s 1..3 1142s # Start of error tests 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_26IOK3/error/from-errno/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_26IOK3/error/from-errno/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_26IOK3/error/from-errno/.dirs/system-config1:/tmp/test_error_26IOK3/error/from-errno/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_26IOK3/error/from-errno/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_26IOK3/error/from-errno/.dirs/system-data1:/tmp/test_error_26IOK3/error/from-errno/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_26IOK3/error/from-errno/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_26IOK3/error/from-errno/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_26IOK3/error/from-errno/.dirs/runtime 1142s ok 1 /error/from-errno 1142s ok - glib/error.test 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_26IOK3/error/from-file-error/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_26IOK3/error/from-file-error/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_26IOK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_26IOK3/error/from-file-error/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_26IOK3/error/from-file-error/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_26IOK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_26IOK3/error/from-file-error/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_26IOK3/error/from-file-error/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_26IOK3/error/from-file-error/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_26IOK3/error/from-file-error/.dirs/runtime 1142s ok 2 /error/from-file-error 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_26IOK3/error/from-win32-error/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_26IOK3/error/from-win32-error/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_26IOK3/error/from-win32-error/.dirs/runtime 1142s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1142s # End of error tests 1142s # Running test: glib/sequence.test 1142s TAP version 14 1142s # random seed: R02Sd12a9b3038aedcde079f88ccc6ec9db3 1142s 1..16 1142s # Start of sequence tests 1142s ok 1 /sequence/out-of-range-jump 1142s ok 2 /sequence/iter-move 1142s ok 3 /sequence/insert-sorted-non-pointer 1142s ok 4 /sequence/stable-sort 1142s ok 5 /sequence/is_empty 1142s # Start of random tests 1143s ok 6 /sequence/random/seed:825541564 1143s # slow test /sequence/random/seed:825541564 executed in 0.63 secs 1143s ok 7 /sequence/random/seed:801678400 1143s # slow test /sequence/random/seed:801678400 executed in 0.59 secs 1144s ok 8 /sequence/random/seed:1477639090 1144s # slow test /sequence/random/seed:1477639090 executed in 0.61 secs 1144s # Executing: glib/sequence.test 1145s ok 9 /sequence/random/seed:3369132895 1145s # slow test /sequence/random/seed:3369132895 executed in 0.56 secs 1145s ok 10 /sequence/random/seed:1192944867 1145s # slow test /sequence/random/seed:1192944867 executed in 0.59 secs 1146s ok 11 /sequence/random/seed:770458294 1146s # slow test /sequence/random/seed:770458294 executed in 0.62 secs 1146s ok 12 /sequence/random/seed:1099575817 1146s # slow test /sequence/random/seed:1099575817 executed in 0.59 secs 1147s ok 13 /sequence/random/seed:590523467 1147s # slow test /sequence/random/seed:590523467 executed in 0.61 secs 1148s ok 14 /sequence/random/seed:3583571454 1148s # slow test /sequence/random/seed:3583571454 executed in 0.62 secs 1148s ok 15 /sequence/random/seed:579241222 1148s # slow test /sequence/random/seed:579241222 executed in 0.61 secs 1149s ok 16 /sequence/random/seed:1300519325 1149s # slow test /sequence/random/seed:1300519325 executed in 0.57 secs 1149s # End of random tests 1149s # End of sequence tests 1149s ok - glib/sequence.test 1149s TAP version 14 1149s # random seed: R02Scdf4414743ff5200610d06253ad8377b 1149s 1..1 1149s # Start of completion tests 1149s ok 1 /completion/test-completion 1149s # End of completion tests 1149s # Running test: glib/completion.test 1149s ok - glib/completion.test 1149s # Running test: glib/trash.test 1149s TAP version 14 1149s # random seed: R02Sfa9afe8ca253a274ef770f03ec7acd8b 1149s 1..3 1149s # Start of trash tests 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1149s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1149s # File: /tmp/test-trash7NDJK3 (parent st_dev: 53) 1149s # Home: /home/ubuntu (st_dev: 53) 1149s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1149s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1149s ok 3 /trash/long-filename 1149s # End of trash tests 1149s ok - glib/trash.test 1149s # Running test: glib/module-test-library.test 1149s TAP version 14 1149s # random seed: R02S31725c2ee9f98e03d049730cb6b343c6 1149s 1..3 1149s # Start of module tests 1149s ok 1 /module/basics 1149s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1149s ok 2 /module/invalid-libtool-archive 1149s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1149s ok - glib/module-test-library.test 1149s # Running test: glib/signals-refcount1.test 1149s ok 3 /module/local-binding 1149s # End of module tests 1149s TAP version 14 1149s # random seed: R02S46f13d81ea43cd112599639b1b48f448 1149s 1..1 1149s # Start of gobject tests 1149s # Start of refcount tests 1149s # init 0xea38c90 1149s # 1149s # init 0xea3f3d8 1149s # 1149s # Executing: glib/signals-refcount1.test 1154s # dispose 0xea38c90! 1154s # 1154s # dispose 0xea3f3d8! 1154s # 1154s ok 1 /gobject/refcount/signals 1154s # slow test /gobject/refcount/signals executed in 5.00 secs 1154s # End of refcount tests 1154s # End of gobject tests 1154s ok - glib/signals-refcount1.test 1154s # Running test: glib/portal-support-flatpak-network-only.test 1154s TAP version 14 1154s # random seed: R02Sdd4987817bdc1d1d831ab803b989e139 1154s 1..1 1154s # Start of portal-support tests 1154s # Start of flatpak tests 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/runtime 1154s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_WGCIK3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1154s ok 1 /portal-support/flatpak/network 1154s # End of flatpak tests 1154s # End of portal-support tests 1154s ok - glib/portal-support-flatpak-network-only.test 1154s # Running test: glib/cxx-03.test 1154s TAP version 14 1154s # random seed: R02Seb1346cae4059ce9670a60c0fca89dea 1154s 1..2 1154s # Start of gtask tests 1154s # 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. 1154s ok 1 /gtask/name 1154s # Start of name tests 1154s # 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. 1154s ok 2 /gtask/name/macro-wrapper 1154s # End of name tests 1154s # End of gtask tests 1154s ok - glib/cxx-03.test 1154s # Running test: glib/asyncqueue.test 1154s TAP version 14 1154s # random seed: R02S0ea685dcfb0f94f9a5199c7100cf6afb 1154s 1..7 1154s # Start of asyncqueue tests 1154s ok 1 /asyncqueue/basics 1154s ok 2 /asyncqueue/sort 1154s ok 3 /asyncqueue/destroy 1154s ok 4 /asyncqueue/threads 1154s ok 5 /asyncqueue/timed 1154s ok 6 /asyncqueue/remove 1154s ok 7 /asyncqueue/push_front 1154s # End of asyncqueue tests 1154s ok - glib/asyncqueue.test 1154s # Running test: glib/portal-support-none.test 1154s TAP version 14 1154s # random seed: R02S52144928c0594bf1439a8bb6b22f4ad2 1154s 1..1 1154s # Start of portal-support tests 1154s ok 1 /portal-support/none 1154s # End of portal-support tests 1154s ok - glib/portal-support-none.test 1154s # Running test: glib/guuid.test 1154s TAP version 14 1154s # random seed: R02Sbb055e1fc0b8fc1d188b088d4509b3b3 1154s 1..2 1154s # Start of uuid tests 1154s ok 1 /uuid/string 1154s ok 2 /uuid/random 1154s # End of uuid tests 1154s ok - glib/guuid.test 1154s # Running test: glib/refstring.test 1154s TAP version 14 1154s # random seed: R02Saa7a6ca86c0faed7ca52ed15d1efde46 1154s 1..8 1154s # Start of refstring tests 1154s # s = 'hello, world' (0xc017e28) 1154s ok 1 /refstring/base 1154s ok 2 /refstring/length 1154s ok 3 /refstring/length-auto 1154s ok 4 /refstring/length-nuls 1154s # s = 'hello, world' (0xc017e78) 1154s # p = s = 'hello, world' (0xc017e78) 1154s # releasing p[0xc017e78] ('hello, world') 1154s # p = 'goodbye, world' (0xc017f68) 1154s # releasing p[0xc017f68] ('goodbye, world') 1154s # releasing s[0xc017e78] ('hello, world') 1154s ok 5 /refstring/intern 1154s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1154s ok 6 /refstring/hash_equal 1154s # /refstring/equal summary: Test g_ref_string_equal() standalone 1154s ok 7 /refstring/equal 1154s # Executing: glib/refstring.test 1155s ok 8 /refstring/intern-thread-safety 1155s # slow test /refstring/intern-thread-safety executed in 0.89 secs 1155s # End of refstring tests 1155s ok - glib/refstring.test 1155s # Running test: glib/collate.test 1155s TAP version 14 1155s # random seed: R02S4dbca20bcf22c616bafee23cc7e04a0c 1155s 1..9 1155s # Start of unicode tests 1155s # Start of collate tests 1155s ok 1 /unicode/collate/0 1155s ok 2 /unicode/collate/1 1155s ok 3 /unicode/collate/2 1155s # End of collate tests 1155s # Start of collate-key tests 1155s ok 4 /unicode/collate-key/0 1155s ok 5 /unicode/collate-key/1 1155s ok 6 /unicode/collate-key/2 1155s # End of collate-key tests 1155s # Start of collate-filename tests 1155s ok 7 /unicode/collate-filename/0 1155s ok 8 /unicode/collate-filename/1 1155s ok 9 /unicode/collate-filename/2 1155s # End of collate-filename tests 1155s # End of unicode tests 1155s ok - glib/collate.test 1155s # Running test: glib/spawn-test.test 1155s TAP version 14 1155s # random seed: R02S72c74e18ec8beb4cc23405adf83631d2 1155s 1..2 1155s # Start of spawn tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_EUX5J3/spawn/basics/.dirs/runtime 1155s ok - glib/spawn-test.test 1155s # Running test: glib/io-stream.test 1155s ok 1 /spawn/basics 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_EUX5J3/spawn/stdio-overwrite/.dirs/runtime 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1155s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1155s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1155s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1155s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1155s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1155s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1155s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1155s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1155s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1155s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1155s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1155s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1155s ok - glib/io-stream.test 1155s # Running test: glib/properties-introspection.test 1155s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1155s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1155s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1155s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1155s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1155s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1155s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1155s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1155s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1155s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1155s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1155s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1155s # Fetching GSpawn result with stdin open, stdout open, stderr open 1155s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1155s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1155s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1155s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1155s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1155s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1155s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1155s ok 2 /spawn/stdio-overwrite 1155s # End of spawn tests 1155s TAP version 14 1155s # random seed: R02Sf7f9c2e1094479907df5a2912d1d6194 1155s 1..3 1155s # Start of io-stream tests 1155s ok 1 /io-stream/copy-chunks 1155s # Start of close tests 1155s # Start of async tests 1155s ok 2 /io-stream/close/async/memory 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1155s ok 3 /io-stream/close/async/file 1155s # End of async tests 1155s # End of close tests 1155s # End of io-stream tests 1155s TAP version 14 1155s # random seed: R02S1719a39760563679545e32a5c563b71c 1155s 1..2 1155s # Start of properties tests 1155s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1155s ok 1 /properties/introspection 1155s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1155s ok 2 /properties/collision 1155s # End of properties tests 1155s ok - glib/properties-introspection.test 1155s # Running test: glib/objects-refcount1.test 1155s TAP version 14 1155s # random seed: R02S5ddb6607356ddfa6dfa837c9b4269e7f 1155s 1..1 1155s # Start of gobject tests 1155s # Start of refcount tests 1155s # init 0xad65da0 1155s # 1155s # init 0xad65e80 1155s # 1159s # Executing: glib/objects-refcount1.test 1160s ok - glib/objects-refcount1.test 1160s # dispose 0xad65da0! 1160s # 1160s # dispose 0xad65e80! 1160s # 1160s ok 1 /gobject/refcount/object-basics 1160s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1160s # End of refcount tests 1160s # End of gobject tests 1160s # Running test: glib/642026-ec.test 1160s TAP version 14 1160s # random seed: R02S03e899d22b161b08852ab7a1d0d20687 1160s 1..1 1160s # Start of glib tests 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1160s ok 1 /glib/642026 1160s # End of glib tests 1160s ok - glib/642026-ec.test 1160s # Running test: glib/string.test 1160s TAP version 14 1160s # random seed: R02Sa6895ecff9af245b423a0682360baebb 1160s 1..25 1160s # Start of string tests 1160s ok 1 /string/chunks 1160s ok 2 /string/chunk-insert 1160s ok 3 /string/new 1160s ok 4 /string/printf 1160s ok 5 /string/assign 1160s ok 6 /string/append-c 1160s ok 7 /string/append 1160s ok 8 /string/append-vprintf 1160s ok 9 /string/prepend-c 1160s ok 10 /string/prepend 1160s ok 11 /string/insert 1160s ok 12 /string/insert-unichar 1160s ok 13 /string/equal 1160s ok 14 /string/truncate 1160s ok 15 /string/overwrite 1160s ok 16 /string/nul-handling 1160s ok 17 /string/up-down 1160s ok 18 /string/set-size 1160s ok 19 /string/to-bytes 1160s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1160s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1160s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1160s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1160s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1160s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1160s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1160s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1160s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1160s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1160s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1160s # -> 4 replacements, "fd fr fals" 1160s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1160s # -> 3 replacements, "aaaaaaaaa" 1160s # 7: Replacing "a" with "" (limit 0) in "aaa" 1160s # -> 3 replacements, "" 1160s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1160s # -> 1 replacements, "bba" 1160s # 9: Replacing "" with "bar" (limit 0) in "foo" 1160s # -> 4 replacements, "barfbarobarobar" 1160s # 10: Replacing "" with "bar" (limit 1) in "foo" 1160s # -> 1 replacements, "barfoo" 1160s # 11: Replacing "" with "bar" (limit 2) in "foo" 1160s # -> 2 replacements, "barfbaroo" 1160s # 12: Replacing "" with "bar" (limit 3) in "foo" 1160s # -> 3 replacements, "barfbarobaro" 1160s # 13: Replacing "" with "bar" (limit 4) in "foo" 1160s # -> 4 replacements, "barfbarobarobar" 1160s # 14: Replacing "" with "bar" (limit 5) in "foo" 1160s # -> 4 replacements, "barfbarobarobar" 1160s # 15: Replacing "" with "x" (limit 0) in "" 1160s # -> 1 replacements, "x" 1160s # 16: Replacing "" with "" (limit 0) in "" 1160s # -> 1 replacements, "" 1160s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1160s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1160s ok 20 /string/replace 1160s ok 21 /string/steal 1160s ok 22 /string/new-take 1160s ok 23 /string/copy 1160s ok - glib/string.test 1160s ok 24 /string/sized-new 1160s # Start of new-take tests 1160s ok 25 /string/new-take/null 1160s # End of new-take tests 1160s # End of string tests 1160s # Running test: glib/gthash.test 1160s ok - glib/gthash.test 1160s # Running test: glib/refcount-macro.test 1160s ok - glib/refcount-macro.test 1160s # Running test: glib/fdo-notification-backend.test 1160s ok - glib/fdo-notification-backend.test 1160s # Running test: glib/vfs.test 1160s ok - glib/vfs.test 1160s # Running test: glib/gdbus-peer.test 1160s TAP version 14 1160s # random seed: R02S6959ff22365beedbc071f1e70e6afa5c 1160s 1..1 1160s # Start of gthash tests 1160s ok 1 /gthash/build-retrieve 1160s # End of gthash tests 1160s TAP version 14 1160s # random seed: R02Se99fb826a770dc0c389bea1fd2f49774 1160s 1..4 1160s # Start of refcount tests 1160s ok 1 /refcount/grefcount 1160s ok 2 /refcount/gatomicrefcount 1160s # Start of grefcount tests 1160s ok 3 /refcount/grefcount/saturation 1160s # End of grefcount tests 1160s # Start of gatomicrefcount tests 1160s ok 4 /refcount/gatomicrefcount/saturation 1160s # End of gatomicrefcount tests 1160s # End of refcount tests 1160s TAP version 14 1160s # random seed: R02Sa1681ed0fa6743b9d42d3df0f2c1b437 1160s 1..2 1160s # Start of fdo-notification-backend tests 1160s # Test constructing a GFdoNotificationBackend 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 1 /fdo-notification-backend/construction 1160s # Start of dbus tests 1160s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 2 /fdo-notification-backend/dbus/activate-action 1160s # End of dbus tests 1160s # End of fdo-notification-backend tests 1160s TAP version 14 1160s # random seed: R02S8695816f80bcb447874990076922279c 1160s 1..3 1160s # Start of gvfs tests 1160s ok 1 /gvfs/local 1160s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1160s ok 2 /gvfs/register-scheme 1160s # Start of resource tests 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1160s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1160s ok 3 /gvfs/resource/malformed-escaping 1160s # End of resource tests 1160s # End of gvfs tests 1160s TAP version 14 1160s # random seed: R02S1bd82ac9f5f05688e5cbecc74e4d7ec6 1160s 1..12 1160s # Start of gdbus tests 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/.dirs/runtime 1160s # Testing with unix:dir address 1160s # Testing with unix:tmpdir address 1160s # Testing with unix:path address 1160s ok 1 /gdbus/peer-to-peer 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/delayed-message-processing/.dirs/runtime 1160s # Testing with unix:dir address 1161s ok 2 /gdbus/delayed-message-processing 1161s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/nonce-tcp/.dirs/runtime 1161s ok 3 /gdbus/nonce-tcp 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/tcp-anonymous/.dirs/runtime 1161s ok 4 /gdbus/tcp-anonymous 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/credentials/.dirs/runtime 1161s ok 5 /gdbus/credentials 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/codegen-peer-to-peer/.dirs/runtime 1161s # Testing with unix:dir address 1161s # Machine ID: 9b8d8214e6734811a4ad1e3ee92fd80f 1162s ok 6 /gdbus/codegen-peer-to-peer 1162s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1162s # Start of peer-to-peer tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/signals/.dirs/runtime 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1162s # Testing with unix:dir address 1162s ok 7 /gdbus/peer-to-peer/signals 1162s # Start of invalid tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1162s ok 8 /gdbus/peer-to-peer/invalid/server 1162s # Start of conn tests 1162s # Start of stream tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1162s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1162s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1162s # End of stream tests 1162s # Start of addr tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1162s ok - glib/gdbus-peer.test 1162s # Running test: glib/stream-rw_all.test 1162s ok - glib/stream-rw_all.test 1162s # Running test: glib/cache.test 1162s ok - glib/cache.test 1162s # Running test: glib/dump.test 1162s ok - glib/dump.test 1162s # Running test: glib/callable-info.test 1162s ok - glib/callable-info.test 1162s # Running test: glib/credentials.test 1162s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_QVC7J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1162s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1162s # End of addr tests 1162s # End of conn tests 1162s # End of invalid tests 1162s # End of peer-to-peer tests 1162s # End of gdbus tests 1162s TAP version 14 1162s # random seed: R02S14504f073b8651cf383154a0fc440ff7 1162s 1..3 1162s # Start of stream tests 1162s # Start of read_all_async tests 1162s ok 1 /stream/read_all_async/memory 1162s # End of read_all_async tests 1162s # Start of write_all_async tests 1162s ok 2 /stream/write_all_async/memory 1162s # End of write_all_async tests 1162s # Start of read_write_all_async tests 1162s ok 3 /stream/read_write_all_async/pipe 1162s # End of read_write_all_async tests 1162s # End of stream tests 1162s TAP version 14 1162s # random seed: R02Sbb69c665a8c27dff752d45a67d663d36 1162s 1..1 1162s # Start of cache tests 1162s ok 1 /cache/basic 1162s # End of cache tests 1162s TAP version 14 1162s # random seed: R02S4160c29dc87f90255af387b6fa148ce8 1162s 1..5 1162s # Start of dump tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_L42NK3/dump/empty-file/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_L42NK3/dump/empty-file/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L42NK3/dump/empty-file/.dirs/runtime 1162s ok 1 /dump/empty-file 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L42NK3/dump/missing-get-type/.dirs/runtime 1162s Invalid GType function: 'does_not_exist_get_type' 1162s ok 2 /dump/missing-get-type 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_L42NK3/dump/missing-quark/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_L42NK3/dump/missing-quark/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L42NK3/dump/missing-quark/.dirs/runtime 1162s Invalid error quark function: 'does_not_exist_error' 1162s ok 3 /dump/missing-quark 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L42NK3/dump/basic/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L42NK3/dump/basic/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L42NK3/dump/basic/.dirs/system-config1:/tmp/test_dump_L42NK3/dump/basic/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L42NK3/dump/basic/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L42NK3/dump/basic/.dirs/system-data1:/tmp/test_dump_L42NK3/dump/basic/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L42NK3/dump/basic/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L42NK3/dump/basic/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L42NK3/dump/basic/.dirs/runtime 1162s ok 4 /dump/basic 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/system-config1:/tmp/test_dump_L42NK3/dump/empty-lines/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/system-data1:/tmp/test_dump_L42NK3/dump/empty-lines/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_L42NK3/dump/empty-lines/.dirs/runtime 1162s ok 5 /dump/empty-lines 1162s # End of dump tests 1162s TAP version 14 1162s # random seed: R02S773cdcee7deed34f30d82e84822211d7 1162s 1..7 1162s # Start of callable-info tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/sync-function/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 1 /callable-info/sync-function 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/async-function/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 2 /callable-info/async-function 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/is-method/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 3 /callable-info/is-method 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/static-method/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 4 /callable-info/static-method 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/static-vfunc/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1162s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/native-address/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s ok 6 /callable-info/native-address 1162s # Start of platform tests 1162s # Start of unix tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_V6WNK3/callable-info/platform/unix/is-method/.dirs/runtime 1162s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1162s # Checking DesktopAppInfo in Gio 1162s # Checking DesktopAppInfo in GioUnix 1162s ok 7 /callable-info/platform/unix/is-method 1162s # End of unix tests 1162s # End of platform tests 1162s # End of callable-info tests 1162s TAP version 14 1162s # random seed: R02S71fcbd4663bfb80694d940a61f957773 1162s 1..1 1162s # Start of credentials tests 1162s # GCredentials:linux-ucred:pid=38128,uid=1000,gid=1000 1162s # GCredentials:linux-ucred:pid=38128,uid=0,gid=1000 1162s ok 1 /credentials/basic 1162s # End of credentials tests 1162s TAP version 14 1162s # random seed: R02S03a14c012d8777c310ba98eb339fbac5 1162s 1..1 1162s # Start of srvtarget tests 1162s ok - glib/credentials.test 1162s # Running test: glib/srvtarget.test 1163s ok 1 /srvtarget/srv-target-ordering 1163s # slow test /srvtarget/srv-target-ordering executed in 0.56 secs 1163s # End of srvtarget tests 1163s ok - glib/srvtarget.test 1163s # Running test: glib/gdatetime.test 1163s TAP version 14 1163s # random seed: R02S1d08686c60e37261510cf9b65339ed7b 1163s 1..68 1163s # Start of GDateTime tests 1163s # Bug Reference: http://bugzilla.gnome.org/702674 1163s ok 1 /GDateTime/invalid 1163s ok 2 /GDateTime/add_days 1163s ok 3 /GDateTime/add_full 1163s ok 4 /GDateTime/add_hours 1163s ok 5 /GDateTime/add_minutes 1163s ok 6 /GDateTime/add_months 1163s ok 7 /GDateTime/add_seconds 1163s ok 8 /GDateTime/add_weeks 1163s ok 9 /GDateTime/add_years 1163s ok 10 /GDateTime/compare 1163s ok 11 /GDateTime/diff 1163s ok 12 /GDateTime/equal 1163s ok 13 /GDateTime/get_day_of_week 1163s ok 14 /GDateTime/get_day_of_month 1163s ok 15 /GDateTime/get_day_of_year 1163s ok 16 /GDateTime/get_hour 1163s ok 17 /GDateTime/get_microsecond 1163s ok 18 /GDateTime/get_minute 1163s ok 19 /GDateTime/get_month 1163s ok 20 /GDateTime/get_second 1163s ok 21 /GDateTime/get_utc_offset 1163s ok 22 /GDateTime/get_year 1163s ok 23 /GDateTime/hash 1163s ok 24 /GDateTime/new_from_unix 1163s ok 25 /GDateTime/new_from_unix_utc 1163s ok 26 /GDateTime/new_from_timeval 1163s ok 27 /GDateTime/new_from_timeval_utc 1163s ok 28 /GDateTime/new_from_iso8601 1163s ok 29 /GDateTime/new_full 1163s ok 30 /GDateTime/now 1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1163s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1163s # %a -> expected: Sat 1163s # %a -> actual: Sat 1163s # %A -> expected: Saturday 1163s # %A -> actual: Saturday 1163s # %b -> expected: Oct 1163s # %b -> actual: Oct 1163s # %B -> expected: October 1163s # %B -> actual: October 1163s # %d -> expected: 24 1163s # %d -> actual: 24 1163s # %d -> expected: 01 1163s # %d -> actual: 01 1163s # %e -> expected: 24 1163s # %e -> actual: 24 1163s # %e -> expected:  1 1163s # %e -> actual:  1 1163s # %f -> expected: 001000 1163s # %f -> actual: 001000 1163s # %h -> expected: Oct 1163s # %h -> actual: Oct 1163s # %H -> expected: 00 1163s # %H -> actual: 00 1163s # %H -> expected: 15 1163s # %H -> actual: 15 1163s # %I -> expected: 12 1163s # %I -> actual: 12 1163s # %I -> expected: 12 1163s # %I -> actual: 12 1163s # %I -> expected: 03 1163s # %I -> actual: 03 1163s # %j -> expected: 297 1163s # %j -> actual: 297 1163s # %k -> expected:  0 1163s # %k -> actual:  0 1163s # %k -> expected: 13 1163s # %k -> actual: 13 1163s # %l -> expected: 12 1163s # %l -> actual: 12 1163s # %I -> expected: 12 1163s # %I -> actual: 12 1163s # %l -> expected:  1 1163s # %l -> actual:  1 1163s # %l -> expected: 10 1163s # %l -> actual: 10 1163s # %m -> expected: 10 1163s # %m -> actual: 10 1163s # %M -> expected: 00 1163s # %M -> actual: 00 1163s # %p -> expected: AM 1163s # %p -> actual: AM 1163s # %p -> expected: PM 1163s # %p -> actual: PM 1163s # %P -> expected: am 1163s # %P -> actual: am 1163s # %P -> expected: pm 1163s # %P -> actual: pm 1163s # %r -> expected: 12:00:00 AM 1163s # %r -> actual: 12:00:00 AM 1163s # %r -> expected: 01:13:13 PM 1163s # %r -> actual: 01:13:13 PM 1163s # %R -> expected: 00:00 1163s # %R -> actual: 00:00 1163s # %R -> expected: 13:13 1163s # %R -> actual: 13:13 1163s # %S -> expected: 00 1163s # %S -> actual: 00 1163s # %t -> expected: 1163s # %t -> actual: 1163s # %u -> expected: 6 1163s # %u -> actual: 6 1163s # %x -> expected: 10/24/09 1163s # %x -> actual: 10/24/09 1163s # %X -> expected: 00:00:00 1163s # %X -> actual: 00:00:00 1163s # %X -> expected: 13:14:15 1163s # %X -> actual: 13:14:15 1163s # %y -> expected: 09 1163s # %y -> actual: 09 1163s # %Y -> expected: 2009 1163s # %Y -> actual: 2009 1163s # %% -> expected: % 1163s # %% -> actual: % 1163s # % -> expected: 1163s # % -> actual: 1163s # %9 -> expected: (null) 1163s # %9 -> actual: (null) 1163s # %Z -> expected: UTC 1163s # %Z -> actual: UTC 1163s # %#Z %Z -> expected: utc UTC 1163s # %#Z %Z -> actual: utc UTC 1163s ok 32 /GDateTime/printf 1163s # %a -> expected: 土 1163s # %a -> actual: 土 1163s # %A -> expected: 土曜日 1163s # %A -> actual: 土曜日 1163s # %b -> expected: 10月 1163s # %b -> actual: 10月 1163s # %B -> expected: 10月 1163s # %B -> actual: 10月 1163s # %c -> expected: 2009年10月24日 00時00分00秒 1163s # %c -> actual: 2009年10月24日 00時00分00秒 1163s # %C -> expected: 20 1163s # %C -> actual: 20 1163s # %d -> expected: 24 1163s # %d -> actual: 24 1163s # %d -> expected: 01 1163s # %d -> actual: 01 1163s # %e -> expected: 24 1163s # %e -> actual: 24 1163s # %h -> expected: 10月 1163s # %h -> actual: 10月 1163s # %H -> expected: 00 1163s # %H -> actual: 00 1163s # %H -> expected: 15 1163s # %H -> actual: 15 1163s # %I -> expected: 12 1163s # %I -> actual: 12 1163s # %I -> expected: 12 1163s # %I -> actual: 12 1163s # %I -> expected: 03 1163s # %I -> actual: 03 1163s # %j -> expected: 297 1163s # %j -> actual: 297 1163s # %k -> expected:  0 1163s # %k -> actual:  0 1163s # %k -> expected: 13 1163s # %k -> actual: 13 1163s # %l -> expected: 12 1163s # %l -> actual: 12 1163s # %I -> expected: 12 1163s # %I -> actual: 12 1163s # %l -> expected:  1 1163s # %l -> actual:  1 1163s # %l -> expected: 10 1163s # %l -> actual: 10 1163s # %m -> expected: 10 1163s # %m -> actual: 10 1163s # %M -> expected: 00 1163s # %M -> actual: 00 1163s # %p -> expected: 午前 1163s # %p -> actual: 午前 1163s # %p -> expected: 午後 1163s # %p -> actual: 午後 1163s # %P -> expected: 午前 1163s # %P -> actual: 午前 1163s # %P -> expected: 午後 1163s # %P -> actual: 午後 1163s # %r -> expected: 午前12時00分00秒 1163s # %r -> actual: 午前12時00分00秒 1163s # %r -> expected: 午後01時13分13秒 1163s # %r -> actual: 午後01時13分13秒 1163s # %R -> expected: 00:00 1163s # %R -> actual: 00:00 1163s # %R -> expected: 13:13 1163s # %R -> actual: 13:13 1163s # %S -> expected: 00 1163s # %S -> actual: 00 1163s # %t -> expected: 1163s # %t -> actual: 1163s # %u -> expected: 6 1163s # %u -> actual: 6 1163s # %x -> expected: 2009年10月24日 1163s # %x -> actual: 2009年10月24日 1163s # %X -> expected: 00時00分00秒 1163s # %X -> actual: 00時00分00秒 1163s # %X -> expected: 13時14分15秒 1163s # %X -> actual: 13時14分15秒 1163s # %y -> expected: 09 1163s # %y -> actual: 09 1163s # %Y -> expected: 2009 1163s # %Y -> actual: 2009 1163s # %% -> expected: % 1163s # %% -> actual: % 1163s # % -> expected: 1163s # % -> actual: 1163s # %9 -> expected: (null) 1163s # %9 -> actual: (null) 1163s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1163s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1163s # %EC -> expected: 平成 1163s # %EC -> actual: 平成 1163s # %Ex -> expected: 平成21年10月24日 1163s # %Ex -> actual: 平成21年10月24日 1163s # %EX -> expected: 00時00分00秒 1163s # %EX -> actual: 00時00分00秒 1163s # %Ey -> expected: 21 1163s # %Ey -> actual: 21 1163s # %EY -> expected: 平成21年 1163s # %EY -> actual: 平成21年 1163s ok 33 /GDateTime/non_utf8_printf 1163s # ąśćł -> expected: ąśćł 1163s # ąśćł -> actual: ąśćł 1163s # %H∶%M -> expected: 23∶15 1163s # %H∶%M -> actual: 23∶15 1163s # %H∶%M -> expected: 23∶15 1163s # %H∶%M -> actual: 23∶15 1163s ok 34 /GDateTime/format_unrepresentable 1163s ok 35 /GDateTime/format_iso8601 1163s ok 36 /GDateTime/strftime 1163s # %d -> expected: 01 1163s # %d -> actual: 01 1163s # %_d -> expected: 1 1163s # %_d -> actual: 1 1163s # %-d -> expected: 1 1163s # %-d -> actual: 1 1163s # %0d -> expected: 01 1163s # %0d -> actual: 01 1163s # %d -> expected: 21 1163s # %d -> actual: 21 1163s # %_d -> expected: 21 1163s # %_d -> actual: 21 1163s # %-d -> expected: 21 1163s # %-d -> actual: 21 1163s # %0d -> expected: 21 1163s # %0d -> actual: 21 1163s # %e -> expected:  1 1163s # %e -> actual:  1 1163s # %_e -> expected: 1 1163s # %_e -> actual: 1 1163s # %-e -> expected: 1 1163s # %-e -> actual: 1 1163s # %0e -> expected: 01 1163s # %0e -> actual: 01 1163s # %e -> expected: 21 1163s # %e -> actual: 21 1163s # %_e -> expected: 21 1163s # %_e -> actual: 21 1163s # %-e -> expected: 21 1163s # %-e -> actual: 21 1163s # %0e -> expected: 21 1163s # %0e -> actual: 21 1163s # %a -> expected: Thu 1163s # %a -> actual: Thu 1163s # %^a -> expected: THU 1163s # %^a -> actual: THU 1163s # %#a -> expected: THU 1163s # %#a -> actual: THU 1163s # %A -> expected: Thursday 1163s # %A -> actual: Thursday 1163s # %^A -> expected: THURSDAY 1163s # %^A -> actual: THURSDAY 1163s # %#A -> expected: THURSDAY 1163s # %#A -> actual: THURSDAY 1163s # %b -> expected: Jan 1163s # %b -> actual: Jan 1163s # %^b -> expected: JAN 1163s # %^b -> actual: JAN 1163s # %#b -> expected: JAN 1163s # %#b -> actual: JAN 1163s # %B -> expected: January 1163s # %B -> actual: January 1163s # %^B -> expected: JANUARY 1163s # %^B -> actual: JANUARY 1163s # %#B -> expected: JANUARY 1163s # %#B -> actual: JANUARY 1163s # %h -> expected: Jan 1163s # %h -> actual: Jan 1163s # %^h -> expected: JAN 1163s # %^h -> actual: JAN 1163s # %#h -> expected: JAN 1163s # %#h -> actual: JAN 1163s # %Z -> expected: UTC 1163s # %Z -> actual: UTC 1163s # %^Z -> expected: UTC 1163s # %^Z -> actual: UTC 1163s # %#Z -> expected: utc 1163s # %#Z -> actual: utc 1163s # %H -> expected: 01 1163s # %H -> actual: 01 1163s # %_H -> expected: 1 1163s # %_H -> actual: 1 1163s # %-H -> expected: 1 1163s # %-H -> actual: 1 1163s # %0H -> expected: 01 1163s # %0H -> actual: 01 1163s # %H -> expected: 21 1163s # %H -> actual: 21 1163s # %_H -> expected: 21 1163s # %_H -> actual: 21 1163s # %-H -> expected: 21 1163s # %-H -> actual: 21 1163s # %0H -> expected: 21 1163s # %0H -> actual: 21 1163s # %I -> expected: 01 1163s # %I -> actual: 01 1163s # %_I -> expected: 1 1163s # %_I -> actual: 1 1163s # %-I -> expected: 1 1163s # %-I -> actual: 1 1163s # %0I -> expected: 01 1163s # %0I -> actual: 01 1163s # %I -> expected: 11 1163s # %I -> actual: 11 1163s # %_I -> expected: 11 1163s # %_I -> actual: 11 1163s # %-I -> expected: 11 1163s # %-I -> actual: 11 1163s # %0I -> expected: 11 1163s # %0I -> actual: 11 1163s # %k -> expected:  1 1163s # %k -> actual:  1 1163s # %_k -> expected: 1 1163s # %_k -> actual: 1 1163s # %-k -> expected: 1 1163s # %-k -> actual: 1 1163s # %0k -> expected: 01 1163s # %0k -> actual: 01 1163s # %l -> expected:  1 1163s # %l -> actual:  1 1163s # %_l -> expected: 1 1163s # %_l -> actual: 1 1163s # %-l -> expected: 1 1163s # %-l -> actual: 1 1163s # %0l -> expected: 01 1163s # %0l -> actual: 01 1163s # %l -> expected: 11 1163s # %l -> actual: 11 1163s # %_l -> expected: 11 1163s # %_l -> actual: 11 1163s # %-l -> expected: 11 1163s # %-l -> actual: 11 1163s # %0l -> expected: 11 1163s # %0l -> actual: 11 1163s # %p -> expected: AM 1163s # %p -> actual: AM 1163s # %^p -> expected: AM 1163s # %^p -> actual: AM 1163s # %#p -> expected: am 1163s # %#p -> actual: am 1163s # %P -> expected: am 1163s # %P -> actual: am 1163s # %^P -> expected: AM 1163s # %^P -> actual: AM 1163s # %#P -> expected: am 1163s # %#P -> actual: am 1163s # %OH -> expected: ۲۳ 1163s # %OH -> actual: ۲۳ 1163s # %OI -> expected: ۱۱ 1163s # %OI -> actual: ۱۱ 1163s # %OM -> expected: ۰۰ 1163s # %OM -> actual: ۰۰ 1163s # %Om -> expected: ۰۷ 1163s # %Om -> actual: ۰۷ 1163s # %0Om -> expected: ۰۷ 1163s # %0Om -> actual: ۰۷ 1163s # %-Om -> expected: ۷ 1163s # %-Om -> actual: ۷ 1163s # %_Om -> expected: ۷ 1163s # %_Om -> actual: ۷ 1163s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1163s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1163s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1163s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1163s # %C -> expected: 20 1163s # %C -> actual: 20 1163s # %EC -> expected: 20 1163s # %EC -> actual: 20 1163s # %x -> expected: 02/01/09 1163s # %x -> actual: 02/01/09 1163s # %Ex -> expected: 02/01/09 1163s # %Ex -> actual: 02/01/09 1163s # %X -> expected: 01:02:03 1163s # %X -> actual: 01:02:03 1163s # %EX -> expected: 01:02:03 1163s # %EX -> actual: 01:02:03 1163s # %y -> expected: 09 1163s # %y -> actual: 09 1163s # %Ey -> expected: 09 1163s # %Ey -> actual: 09 1163s # %Y -> expected: 2009 1163s # %Y -> actual: 2009 1163s # %EY -> expected: 2009 1163s # %EY -> actual: 2009 1163s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1163s # Bug Reference: http://bugzilla.gnome.org/749206 1163s # %B -> expected: January 1163s # %B -> actual: January 1163s # %OB -> expected: February 1163s # %OB -> actual: February 1163s # %b -> expected: Mar 1163s # %b -> actual: Mar 1163s # %Ob -> expected: Apr 1163s # %Ob -> actual: Apr 1163s # %h -> expected: May 1163s # %h -> actual: May 1163s # %Oh -> expected: Jun 1163s # %Oh -> actual: Jun 1163s # %B -> expected: Juli 1163s # %B -> actual: Juli 1163s # %OB -> expected: August 1163s # %OB -> actual: August 1163s # %b -> expected: Sep 1163s # %b -> actual: Sep 1163s # %Ob -> expected: Okt 1163s # %Ob -> actual: Okt 1163s # %h -> expected: Nov 1163s # %h -> actual: Nov 1163s # %Oh -> expected: Dez 1163s # %Oh -> actual: Dez 1163s # %B -> expected: enero 1163s # %B -> actual: enero 1163s # %OB -> expected: febrero 1163s # %OB -> actual: febrero 1163s # %b -> expected: mar 1163s # %b -> actual: mar 1163s # %Ob -> expected: abr 1163s # %Ob -> actual: abr 1163s # %h -> expected: may 1163s # %h -> actual: may 1163s # %Oh -> expected: jun 1163s # %Oh -> actual: jun 1163s # %B -> expected: juillet 1163s # %B -> actual: juillet 1163s # %OB -> expected: août 1163s # %OB -> actual: août 1163s # %b -> expected: sept. 1163s # %b -> actual: sept. 1163s # %Ob -> expected: oct. 1163s # %Ob -> actual: oct. 1163s # %h -> expected: nov. 1163s # %h -> actual: nov. 1163s # %Oh -> expected: déc. 1163s # %Oh -> actual: déc. 1163s # %B -> expected: Ιανουαρίου 1163s # %B -> actual: Ιανουαρίου 1163s # %B -> expected: Φεβρουαρίου 1163s # %B -> actual: Φεβρουαρίου 1163s # %B -> expected: Μαρτίου 1163s # %B -> actual: Μαρτίου 1163s # %OB -> expected: Απρίλιος 1163s # %OB -> actual: Απρίλιος 1163s # %OB -> expected: Μάιος 1163s # %OB -> actual: Μάιος 1163s # %OB -> expected: Ιούνιος 1163s # %OB -> actual: Ιούνιος 1163s # %b -> expected: Ιουλ 1163s # %b -> actual: Ιουλ 1163s # %Ob -> expected: Αύγ 1163s # %Ob -> actual: Αύγ 1163s # %B -> expected: svibnja 1163s # %B -> actual: svibnja 1163s # %B -> expected: lipnja 1163s # %B -> actual: lipnja 1163s # %B -> expected: srpnja 1163s # %B -> actual: srpnja 1163s # %OB -> expected: Kolovoz 1163s # %OB -> actual: kolovoz 1163s # %OB -> expected: Rujan 1163s # %OB -> actual: rujan 1163s # %OB -> expected: Listopad 1163s # %OB -> actual: listopad 1163s # %b -> expected: Stu 1163s # %b -> actual: stu 1163s # %Ob -> expected: Pro 1163s # %Ob -> actual: pro 1163s # %B -> expected: sausio 1163s # %B -> actual: sausio 1163s # %B -> expected: vasario 1163s # %B -> actual: vasario 1163s # %B -> expected: kovo 1163s # %B -> actual: kovo 1163s # %OB -> expected: balandis 1163s # %OB -> actual: balandis 1163s # %OB -> expected: gegužė 1163s # %OB -> actual: gegužė 1163s # %OB -> expected: birželis 1163s # %OB -> actual: birželis 1163s # %b -> expected: liep. 1163s # %b -> actual: liep. 1163s # %Ob -> expected: rugp. 1163s # %Ob -> actual: rugp. 1163s # %B -> expected: maja 1163s # %B -> actual: maja 1163s # %B -> expected: czerwca 1163s # %B -> actual: czerwca 1163s # %B -> expected: lipca 1163s # %B -> actual: lipca 1163s # %OB -> expected: sierpień 1163s # %OB -> actual: sierpień 1163s # %OB -> expected: wrzesień 1163s # %OB -> actual: wrzesień 1163s # %OB -> expected: październik 1163s # %OB -> actual: październik 1163s # %b -> expected: lis 1163s # %b -> actual: lis 1163s # %Ob -> expected: gru 1163s # %Ob -> actual: gru 1163s # %B -> expected: января 1163s # %B -> actual: января 1163s # %B -> expected: февраля 1163s # %B -> actual: февраля 1163s # %B -> expected: марта 1163s # %B -> actual: марта 1163s # %OB -> expected: Апрель 1163s # %OB -> actual: Апрель 1163s # %OB -> expected: Май 1163s # %OB -> actual: Май 1163s # %OB -> expected: Июнь 1163s # %OB -> actual: Июнь 1163s # %b -> expected: июл 1163s # %b -> actual: июл 1163s # %Ob -> expected: авг 1163s # %Ob -> actual: авг 1163s # %b -> expected: мая 1163s # %b -> actual: мая 1163s # %Ob -> expected: май 1163s # %Ob -> actual: май 1163s ok 38 /GDateTime/month_names 1163s ok 39 /GDateTime/to_local 1163s ok 40 /GDateTime/to_unix 1163s ok 41 /GDateTime/to_timeval 1163s ok 42 /GDateTime/to_utc 1163s ok 43 /GDateTime/now_utc 1163s ok 44 /GDateTime/dst 1163s # Bug Reference: http://bugzilla.gnome.org/642935 1163s ok 45 /GDateTime/test_z 1164s # Executing: glib/gdatetime.test 1164s ok 46 /GDateTime/test-all-dates 1164s # slow test /GDateTime/test-all-dates executed in 1.63 secs 1164s ok 47 /GDateTime/unix_usec 1164s # Start of new_from_unix tests 1164s # Bug Reference: http://bugzilla.gnome.org/782089 1164s ok 48 /GDateTime/new_from_unix/overflow 1164s # End of new_from_unix tests 1164s # Start of new_from_timeval tests 1164s # Bug Reference: http://bugzilla.gnome.org/782089 1164s # Maximum supported GTimeVal.tv_sec = 2147483647 1164s ok 49 /GDateTime/new_from_timeval/overflow 1164s # End of new_from_timeval tests 1164s # Start of new_from_iso8601 tests 1164s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1164s # Vector 0: 1990-11-01T10:21:17Z 1164s # Vector 1: 19901101T102117Z 1164s # Vector 2: 1970-01-01T00:00:17.12Z 1164s # Vector 3: 1970-01-01T00:00:17.1234Z 1164s # Vector 4: 1970-01-01T00:00:17.123456Z 1164s # Vector 5: 1980-02-22T12:36:00+02:00 1164s # Vector 6: 1990-12-31T15:59:60-08:00 1164s # Vector 7: 1164s # Vector 8: x 1164s # Vector 9: 123x 1164s # Vector 10: 2001-10+x 1164s # Vector 11: 1980-02-22T 1164s # Vector 12: 2001-10-08Tx 1164s # Vector 13: 2001-10-08T10:11x 1164s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1164s # Vector 15: 1980-02-22T10:36:00Zulu 1164s # Vector 16: 2T0+819855292164632335 1164s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1164s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1164s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1164s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1164s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1164s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1164s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1164s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1164s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1164s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1164s # Vector 27: 20180803T140805.446178377+0100 1164s # Vector 28: 21474836480803T140805.446178377+0100 1164s # Vector 29: 20181303T140805.446178377+0100 1164s # Vector 30: 20180003T140805.446178377+0100 1164s # Vector 31: 20180800T140805.446178377+0100 1164s # Vector 32: 20180832T140805.446178377+0100 1164s # Vector 33: 20180803T240805.446178377+0100 1164s # Vector 34: 20180803T146005.446178377+0100 1164s # Vector 35: 20180803T140863.446178377+0100 1164s # Vector 36: 20180803T140805.446178377+10000 1164s # Vector 37: -0005-01-01T00:00:00Z 1164s # Vector 38: 2018-08-06 1164s # Vector 39: 20180803T140805,446178377+0100 1164s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1164s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1164s # Vector 42: 1990-11-01T10:21:17 1164s # Vector 43: 1719W462 407777-07 1164s # Vector 44: 4011090 260528Z 1164s # Vector 45: 0000W011 228214-22 1164s ok 50 /GDateTime/new_from_iso8601/2 1164s # End of new_from_iso8601 tests 1164s # Start of format_mixed tests 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1164s # %b -> expected: mar 1164s # %b -> actual: Mar 1164s # %B -> expected: march 1164s # %B -> actual: March 1164s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1164s # %b -> expected: mar 1164s # %b -> actual: Mar 1164s # %B -> expected: march 1164s # %B -> actual: March 1164s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1164s # %b -> expected: Mär 1164s # %b -> actual: Mär 1164s # %B -> expected: März 1164s # %B -> actual: März 1164s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1164s # %b -> expected: Mär 1164s # %b -> actual: Mär 1164s # %B -> expected: März 1164s # %B -> actual: März 1164s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1164s # End of format_mixed tests 1164s # Start of strftime tests 1164s # %r -> expected: (null) 1164s # %r -> actual: (null) 1164s ok 55 /GDateTime/strftime/error_handling 1164s # End of strftime tests 1164s # Start of eras tests 1164s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1164s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1164s # %EC -> expected: 令和 1164s # %EC -> actual: 令和 1164s # %Ex -> expected: 令和05年06月01日 1164s # %Ex -> actual: 令和05年06月01日 1164s # %EX -> expected: 00時00分00秒 1164s # %EX -> actual: 00時00分00秒 1164s # %Ey -> expected: 05 1164s # %Ey -> actual: 05 1164s # %EY -> expected: 令和05年 1164s # %EY -> actual: 令和05年 1164s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1164s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1164s # %EC -> expected: 平成 1164s # %EC -> actual: 平成 1164s # %Ex -> expected: 平成31年04月30日 1164s # %Ex -> actual: 平成31年04月30日 1164s # %EX -> expected: 00時00分00秒 1164s # %EX -> actual: 00時00分00秒 1164s # %Ey -> expected: 31 1164s # %Ey -> actual: 31 1164s # %EY -> expected: 平成31年 1164s # %EY -> actual: 平成31年 1164s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1164s ok - glib/gdatetime.test 1164s # Running test: glib/simple-async-result.test 1164s ok - glib/simple-async-result.test 1164s # Running test: glib/hostutils.test 1164s ok - glib/hostutils.test 1164s # Running test: glib/power-profile-monitor-portal.test 1164s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1164s # %EC -> expected: 昭和 1164s # %EC -> actual: 昭和 1164s # %Ex -> expected: 昭和元年12月25日 1164s # %Ex -> actual: 昭和元年12月25日 1164s # %EX -> expected: 00時00分00秒 1164s # %EX -> actual: 00時00分00秒 1164s # %Ey -> expected: 01 1164s # %Ey -> actual: 01 1164s # %EY -> expected: 昭和元年 1164s # %EY -> actual: 昭和元年 1164s ok 56 /GDateTime/eras/japan 1164s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1164s # Vector 0: 1164s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1164s # 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年 1164s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1164s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1164s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1164s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1164s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1164s # Vector 8: + 1164s # Vector 9: +: 1164s # Vector 10: +:: 1164s # Vector 11: +:200 1164s # Vector 12: +:2nonsense 1164s # Vector 13: +:2nonsense: 1164s # Vector 14: +:2: 1164s # Vector 15: +:2:: 1164s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1164s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1164s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1164s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1164s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1164s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1164s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1164s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1164s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1164s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1164s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1164s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1164s # Vector 28: +:2:2020/01/01 1164s # Vector 29: +:2:2020/01/01: 1164s # Vector 30: +:2:2020/01/01:: 1164s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1164s # Vector 32: +:2:2020/01/01:+* 1164s # Vector 33: +:2:2020/01/01:+*: 1164s # Vector 34: +:2:2020/01/01:+*:: 1164s # Vector 35: +:2:2020/01/01:+*:令和 1164s # Vector 36: +:2:2020/01/01:+*:令和: 1164s # Vector 37: +:2:2020/01/01:+*:令和:; 1164s ok 58 /GDateTime/eras/parsing 1164s # End of eras tests 1164s # End of GDateTime tests 1164s # Start of GTimeZone tests 1164s ok 59 /GTimeZone/find-interval 1164s ok 60 /GTimeZone/adjust-time 1164s ok 61 /GTimeZone/no-header 1164s ok 62 /GTimeZone/no-header-identifier 1164s ok 63 /GTimeZone/posix-parse 1164s # Bug Reference: http://bugzilla.gnome.org/697715 1164s ok 64 /GTimeZone/floating-point 1164s # System time zone identifier: Etc/UTC 1164s ok 65 /GTimeZone/identifier 1164s # Vector 0: -158400 1164s # Vector 1: -10000 1164s # Vector 2: -3600 1164s # Vector 3: -61 1164s # Vector 4: -60 1164s # Vector 5: -59 1164s # Vector 6: 0 1164s # Vector 7: 59 1164s # Vector 8: 60 1164s # Vector 9: 61 1164s # Vector 10: 3600 1164s # Vector 11: 10000 1164s # Vector 12: 158400 1164s ok 66 /GTimeZone/new-offset 1164s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1164s ok 67 /GTimeZone/parse-rfc8536 1164s # /GTimeZone/caching summary: GTimeZone instances are cached 1164s ok 68 /GTimeZone/caching 1164s # End of GTimeZone tests 1164s TAP version 14 1164s # random seed: R02S039ed583e2b328ccfed580bb5569ad7a 1164s 1..2 1164s # Start of gio tests 1164s # Start of simple-async-result tests 1164s ok 1 /gio/simple-async-result/test 1164s # GLib-GIO-DEBUG: GTask 0xe4eddd0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1164s ok 2 /gio/simple-async-result/valid 1164s # End of simple-async-result tests 1164s # End of gio tests 1164s TAP version 14 1164s # random seed: R02S82b118a2041d7e86a4a3ebbea2113a5f 1164s 1..4 1164s # Start of hostutils tests 1164s ok 1 /hostutils/hostname_is_non_ascii 1164s ok 2 /hostutils/to_ascii 1164s ok 3 /hostutils/to_unicode 1164s ok 4 /hostutils/is_ip_addr 1164s # End of hostutils tests 1165s TAP version 13 1165s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1165s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1165s 1..2 1165s ok - glib/power-profile-monitor-portal.test 1165s # Running test: glib/type-flags.test 1165s TAP version 14 1165s # random seed: R02Seff09a8148d871137da3ac40e051b5a1 1165s 1..4 1165s # Start of type tests 1165s # Start of flags tests 1165s ok 1 /type/flags/interface 1165s ok 2 /type/flags/final 1165s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1165s ok 3 /type/flags/deprecated 1165s # Start of final tests 1165s ok 4 /type/flags/final/instance-check 1165s # End of final tests 1165s # End of flags tests 1165s # End of type tests 1165s ok - glib/type-flags.test 1165s # Running test: glib/thumbnail-verification.test 1165s TAP version 14 1165s # random seed: R02Sb2cf4f549902ca22d31df18595798158 1165s 1..1 1165s # Start of png-thumbs tests 1165s ok 1 /png-thumbs/validity 1165s # End of png-thumbs tests 1165s ok - glib/thumbnail-verification.test 1165s # Running test: glib/network-monitor.test 1165s TAP version 14 1165s # random seed: R02Sddc98e0c35673a42d0b59d8445d3a17c 1165s 1..4 1165s # Start of network-monitor tests 1165s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1165s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1165s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1165s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1165s ok 1 /network-monitor/default 1165s ok 2 /network-monitor/remove_default 1165s ok 3 /network-monitor/add_networks 1165s ok 4 /network-monitor/remove_networks 1165s # End of network-monitor tests 1165s ok - glib/network-monitor.test 1165s # Running test: glib/performance.test 1169s # Executing: glib/performance.test 1173s simple-construction: Millions of constructed objects per second: 12.336 1174s # Executing: glib/performance.test 1176s simple-construction1: Millions of constructed objects per second: 61.554 1179s # Executing: glib/performance.test 1179s complex-construction: Millions of constructed objects per second: 4.421 1184s # Executing: glib/performance.test 1185s complex-construction1: Millions of constructed objects per second: 7.916 1189s # Executing: glib/performance.test 1192s complex-construction2: Millions of constructed objects per second: 8.805 1193s finalization: Millions of finalized objects per second: 2.034 1194s # Executing: glib/performance.test 1195s type-check: Million type checks per second: 40.79 1196s emit-unhandled: Emissions per second: 2434260 1197s emit-unhandled-empty: Emissions per second: 21209223 1198s emit-unhandled-generic: Emissions per second: 3223070 1199s # Executing: glib/performance.test 1200s emit-unhandled-generic-empty: Emissions per second: 21231959 1201s emit-unhandled-args: Emissions per second: 2187140 1202s emit-handled: Emissions per second: 1611598 1203s emit-handled-empty: Emissions per second: 1648716 1204s # Executing: glib/performance.test 1204s emit-handled-generic: Emissions per second: 1662871 1206s emit-handled-generic-empty: Emissions per second: 2736480 1207s emit-handled-args: Emissions per second: 1524168 1208s notify-unhandled: Notify (unhandled) per second: 10245922 1209s # Executing: glib/performance.test 1210s notify-by-pspec-unhandled: Notify (unhandled) per second: 73785008 1211s notify-handled: Notify per second: 1035956 1212s notify-by-pspec-handled: Notify per second: 1130903 1213s property-set: Property set per second: 10190661 1214s # Executing: glib/performance.test 1215s property-set-signaled: Property set per second: 2494841 1216s property-get: Property get per second: 10408943 1217s refcount: Million refs+unref per second: 16.40 1219s refcount-1: Million refs+unref per second: 41.37 1219s # Executing: glib/performance.test 1220s refcount-toggle: Million refs+unref per second: 30.57 1220s ok - glib/performance.test 1220s # Running test: glib/ir-parser.test 1220s TAP version 14 1220s # random seed: R02Seb77f1cdc89555130dd41b71928c353f 1220s 1..1 1220s # Start of ir-parser tests 1220s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1220s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: popping node 1 dummy 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1220s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: popping node 1 dummy 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: 1220s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1220s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error pushed new thread with id:30, number of threads:1, unprocessed:1 1239s # [unsorted] ===> pushed new thread with id:59, number of threads:2, unprocessed:2 1239s # [unsorted] ===> pushed new thread with id:19, number of threads:3, unprocessed:3 1239s # [unsorted] ===> pushed new thread with id:75, number of threads:4, unprocessed:3 1239s # [unsorted] ===> pushed new thread with id:97, number of threads:5, unprocessed:2 1239s # [unsorted] ===> pushed new thread with id:38, number of threads:6, unprocessed:3 1239s # [unsorted] ===> pushed new thread with id:32, number of threads:7, unprocessed:4 1239s # [unsorted] ===> pushed new thread with id:53, number of threads:8, unprocessed:5 1239s # [unsorted] ===> pushed new thread with id:79, number of threads:9, unprocessed:2 1239s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:1 1239s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:2 1239s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:3 1239s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:4 1239s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:5 1239s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:6 1239s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:7 1239s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:8 1239s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:9 1239s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:10 1239s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:11 1239s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:12 1239s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:13 1239s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:14 1239s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:15 1239s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:16 1239s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:17 1239s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:18 1239s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:19 1239s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:20 1239s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:21 1239s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:22 1239s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:23 1239s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:24 1239s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:25 1239s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:26 1239s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:27 1239s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:28 1239s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:29 1239s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:30 1239s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:31 1239s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:32 1239s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:33 1239s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:34 1239s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:35 1239s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:36 1239s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:37 1239s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:38 1239s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:39 1239s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:40 1239s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:41 1239s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:42 1239s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:43 1239s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:44 1239s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:45 1239s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:46 1239s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:47 1239s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:48 1239s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:49 1239s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:50 1239s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:51 1239s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:52 1239s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:53 1239s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:54 1239s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:55 1239s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:56 1239s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:57 1239s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:58 1239s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:59 1239s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:60 1239s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:61 1239s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:62 1239s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:63 1239s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:64 1239s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:65 1239s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:66 1239s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:67 1239s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:68 1239s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:69 1239s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:70 1239s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:71 1239s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:72 1239s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:73 1239s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:74 1239s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:75 1239s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:76 1239s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:77 1239s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:78 1239s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:79 1239s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:80 1239s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:81 1239s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:82 1239s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:83 1239s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:84 1239s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:85 1239s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:86 1239s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:87 1239s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:88 1239s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:89 1239s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:90 1239s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:91 1239s ok 4 /threadpool/no-sort 1239s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:1 1239s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:2 1239s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:3 1239s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:4 1239s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:5 1239s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:6 1239s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:7 1239s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:8 1239s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:9 1239s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:10 1239s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:11 1239s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:12 1239s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:13 1239s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:14 1239s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:15 1239s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:16 1239s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:17 1239s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:18 1239s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:19 1239s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:20 1239s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:21 1239s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:22 1239s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:23 1239s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:24 1239s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:25 1239s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:26 1239s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:27 1239s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:28 1239s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:29 1239s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:30 1239s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:31 1239s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:32 1239s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:33 1239s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:34 1239s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:35 1239s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:36 1239s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:37 1239s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:38 1239s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:39 1239s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:40 1239s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:41 1239s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:42 1239s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:43 1239s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:44 1239s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:45 1239s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:46 1239s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:47 1239s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:48 1239s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:49 1239s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:50 1239s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:51 1239s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:52 1239s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:53 1239s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:54 1239s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:55 1239s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:56 1239s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:57 1239s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:58 1239s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:59 1239s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:60 1239s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:61 1239s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:62 1239s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:63 1239s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:64 1239s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:65 1239s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:66 1239s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:67 1239s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:68 1239s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:69 1239s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:70 1239s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:71 1239s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:72 1239s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:73 1239s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:74 1239s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:75 1239s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:76 1239s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:77 1239s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:78 1239s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:79 1239s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:80 1239s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:81 1239s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:82 1239s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:83 1239s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:84 1239s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:85 1239s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:86 1239s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:87 1239s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:88 1239s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:89 1239s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:90 1239s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:91 1239s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:92 1239s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:93 1239s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:94 1239s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:95 1239s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:96 1239s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:97 1239s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:98 1239s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:99 1239s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:100 1239s # Starting thread pool processing 1239s ok 5 /threadpool/sort 1239s ok 6 /threadpool/stop-unused-multiple 1239s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1239s # Pool idle thread count: 0, unprocessed jobs: 45 1239s # Executing: glib/thread-pool-slow.test 1240s # Pool idle thread count: 0, unprocessed jobs: 0 1240s # Pool idle thread count: 0, unprocessed jobs: 0 1240s # Pool idle thread count: 10, unprocessed jobs: 0 1240s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Executing: glib/thread-pool-slow.test 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 2 1248s # Pool idle thread count: 9, unprocessed jobs: 0 1248s # Pool idle thread count: 8, unprocessed jobs: 0 1248s # Pool idle thread count: 8, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Executing: glib/thread-pool-slow.test 1250s # Pool idle thread count: 10, unprocessed jobs: 0 1250s # Pool idle thread count: 10, unprocessed jobs: 0 1250s # Pool idle thread count: 2, unprocessed jobs: 0 1250s # Pool idle thread count: 2, unprocessed jobs: 0 1251s # Pool idle thread count: 2, unprocessed jobs: 0 1251s # Pool idle thread count: 2, unprocessed jobs: 0 1251s # Pool idle thread count: 2, unprocessed jobs: 0 1251s # Pool idle thread count: 2, unprocessed jobs: 0 1252s # Pool idle thread count: 2, unprocessed jobs: 0 1252s # Pool idle thread count: 2, unprocessed jobs: 0 1252s # Pool idle thread count: 2, unprocessed jobs: 0 1252s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Executing: glib/thread-pool-slow.test 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1259s ok 7 /threadpool/idle-time 1259s # slow test /threadpool/idle-time executed in 19.52 secs 1259s # End of threadpool tests 1259s ok - glib/thread-pool-slow.test 1259s # Running test: glib/field-info.test 1259s TAP version 14 1259s # random seed: R02S14719d95fef27f4bfd046d4d7e977a6d 1259s 1..4 1259s # Start of field-info tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_F67JK3/field-info/basic-struct-field/.dirs/runtime 1259s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1259s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 1259s ok 1 /field-info/basic-struct-field 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_F67JK3/field-info/basic-union-field/.dirs/runtime 1259s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1259s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 1259s ok 2 /field-info/basic-union-field 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_F67JK3/field-info/read-write-struct-field/.dirs/runtime 1259s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1259s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 1259s ok 3 /field-info/read-write-struct-field 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_F67JK3/field-info/read-write-union-field/.dirs/runtime 1259s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1259s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 1259s ok - glib/field-info.test 1259s # Running test: glib/memchunk.test 1259s ok - glib/memchunk.test 1259s # Running test: glib/utils-c-23.test 1259s ok - glib/utils-c-23.test 1259s # Running test: glib/testfilemonitor.test 1259s ok - glib/testfilemonitor.test 1259s # Running test: glib/async-close-output-stream.test 1259s ok 4 /field-info/read-write-union-field 1259s # End of field-info tests 1259s TAP version 14 1259s # random seed: R02S2d8524b53d7d5ffb45b62f615dba3086 1259s 1..1 1259s # Start of memchunk tests 1259s ok 1 /memchunk/basic 1259s # End of memchunk tests 1259s TAP version 14 1259s # random seed: R02Sf137b4bab240615a3c03203c5c9fdda2 1259s 1..41 1259s # Start of utils tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/language-names/.dirs/runtime 1259s ok 1 /utils/language-names 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/locale-variants/.dirs/runtime 1259s ok - glib/async-close-output-stream.test 1259s # Running test: glib/cond.test 1259s # Testing locale ‘en’ 1259s # Testing locale ‘sr@latin’ 1259s # Testing locale ‘fr_BE’ 1259s # Testing locale ‘sr_SR@latin’ 1259s # Testing locale ‘sr_SR@latin.UTF-8’ 1259s # Testing locale ‘sr@latin_invalid’ 1259s # Testing locale ‘sr.UTF-8@latin’ 1259s # Testing locale ‘sr.UTF-8_latin’ 1259s # Testing locale ‘sr.UTF-8@latin_invalid’ 1259s ok 2 /utils/locale-variants 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/version/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/version/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/version/.dirs/runtime 1259s ok 3 /utils/version 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/appname/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/appname/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/appname/.dirs/runtime 1259s ok 4 /utils/appname 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/prgname-thread-safety/.dirs/runtime 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1259s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1259s ok 5 /utils/prgname-thread-safety 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/tmpdir/.dirs/runtime 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1259s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1259s Unable to clean up temporary directory /tmp/test_utils-c-23_422JK3/utils/tmpdir: No such file or directory 1259s ok 6 /utils/tmpdir 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/basic_bits/.dirs/runtime 1259s ok 7 /utils/basic_bits 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/bits/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/bits/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/bits/.dirs/runtime 1259s ok 8 /utils/bits 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/swap/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/swap/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/swap/.dirs/runtime 1259s ok 9 /utils/swap 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/find-program/.dirs/runtime 1259s ok 10 /utils/find-program 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/find-program-for-path/.dirs/runtime 1259s ok 11 /utils/find-program-for-path 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/debug/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/debug/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/debug/.dirs/runtime 1259s Unable to clean up temporary directory /tmp/test_utils-c-23_422JK3/utils/debug: No such file or directory 1259s ok 12 /utils/debug 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/codeset/.dirs/runtime 1259s ok 13 /utils/codeset 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/codeset2/.dirs/runtime 1259s Unable to clean up temporary directory /tmp/test_utils-c-23_422JK3/utils/codeset2: No such file or directory 1259s ok 14 /utils/codeset2 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/console-charset/.dirs/runtime 1259s ok 15 /utils/console-charset 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/gettext/.dirs/runtime 1259s ok 16 /utils/gettext 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/username/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/username/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/username/.dirs/runtime 1259s ok 17 /utils/username 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/realname/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/realname/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/realname/.dirs/runtime 1259s ok 18 /utils/realname 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/hostname/.dirs/runtime 1259s ok 19 /utils/hostname 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/os-info/.dirs/runtime 1259s # NAME: Ubuntu 1259s ok 20 /utils/os-info 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/.dirs/runtime 1259s ok 21 /utils/clear-pointer 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/clear-pointer-cast/.dirs/runtime 1259s ok 22 /utils/clear-pointer-cast 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/take-pointer/.dirs/runtime 1259s ok 23 /utils/take-pointer 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/clear-source/.dirs/runtime 1259s ok 24 /utils/clear-source 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/misc-mem/.dirs/runtime 1259s ok 25 /utils/misc-mem 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/.dirs/runtime 1259s # /utils/aligned-mem summary: Aligned memory allocator 1259s # Alignment must not be zero 1259s # Alignment must be a power of two 1259s # Alignment must be a multiple of sizeof(void*) 1259s ok 26 /utils/aligned-mem 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/free-sized/.dirs/runtime 1259s # /utils/free-sized summary: Check that g_free_sized() works 1259s ok 27 /utils/free-sized 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/nullify/.dirs/runtime 1259s ok 28 /utils/nullify 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/atexit/.dirs/runtime 1259s Unable to clean up temporary directory /tmp/test_utils-c-23_422JK3/utils/atexit: No such file or directory 1259s ok 29 /utils/atexit 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/check-setuid/.dirs/runtime 1259s ok 30 /utils/check-setuid 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/int-limits/.dirs/runtime 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1259s ok 31 /utils/int-limits 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/clear-list/.dirs/runtime 1259s ok 32 /utils/clear-list 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/clear-slist/.dirs/runtime 1259s ok 33 /utils/clear-slist 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/steal-handle-id/.dirs/runtime 1259s ok 34 /utils/steal-handle-id 1259s # Start of user-special-dirs tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/desktop/.dirs/runtime 1259s ok 35 /utils/user-special-dirs/desktop 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1259s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1259s Unable to clean up temporary directory /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/load-unlocked: No such file or directory 1259s ok 36 /utils/user-special-dirs/load-unlocked 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1259s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1259s Unable to clean up temporary directory /tmp/test_utils-c-23_422JK3/utils/user-special-dirs/reload-leaks: No such file or directory 1259s ok 37 /utils/user-special-dirs/reload-leaks 1259s # End of user-special-dirs tests 1259s # Start of clear-pointer tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/clear-pointer/side-effects/.dirs/runtime 1259s ok 38 /utils/clear-pointer/side-effects 1259s # End of clear-pointer tests 1259s # Start of aligned-mem tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/alignment/.dirs/runtime 1259s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1259s ok 39 /utils/aligned-mem/alignment 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/zeroed/.dirs/runtime 1259s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1259s ok 40 /utils/aligned-mem/zeroed 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_422JK3/utils/aligned-mem/free-sized/.dirs/runtime 1259s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1259s ok 41 /utils/aligned-mem/free-sized 1259s # Start of subprocess tests 1259s # End of subprocess tests 1259s # End of aligned-mem tests 1259s # End of utils tests 1259s TAP version 14 1259s # random seed: R02S781e1f2cacdcd8a1dda3870ce6be5bac 1259s 1..8 1259s # Start of monitor tests 1259s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1259s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1259s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s # Start of file tests 1259s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1259s # End of file tests 1259s # End of monitor tests 1259s TAP version 14 1259s # random seed: R02S3f20f28c38986d0139aa294bb87e9bdc 1259s 1..3 1259s # Start of close-async tests 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1259s ok 1 /close-async/without-flush 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1259s ok 2 /close-async/with-flush 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1259s ok 3 /close-async/with-async-flush 1259s # End of close-async tests 1259s TAP version 14 1259s # random seed: R02Sf3fb8f64bde2117a2ee0abc410b8ab75 1259s 1..4 1259s # Start of thread tests 1259s ok 1 /thread/cond1 1259s ok 2 /thread/cond2 1259s # Start of cond tests 1259s # Executing: glib/cond.test 1260s ok 3 /thread/cond/wait-until 1260s # slow test /thread/cond/wait-until executed in 1.02 secs 1260s # Start of wait-until tests 1260s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1260s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1261s ok - glib/cond.test 1261s # Running test: glib/gdbus-exit-on-close.test 1261s ok 4 /thread/cond/wait-until/contended-and-interrupted 1261s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1261s # End of wait-until tests 1261s # End of cond tests 1261s # End of thread tests 1261s TAP version 14 1261s # random seed: R02S2bd2953fa1f3ef2787a96fd87cd4786e 1261s 1..4 1261s # Start of gdbus tests 1261s # Start of exit-on-close tests 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/default/.dirs/runtime 1261s ok 1 /gdbus/exit-on-close/default 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/true/.dirs/runtime 1261s ok 2 /gdbus/exit-on-close/true 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/false/.dirs/runtime 1261s ok 3 /gdbus/exit-on-close/false 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QLTKK3/gdbus/exit-on-close/we-close/.dirs/runtime 1261s ok 4 /gdbus/exit-on-close/we-close 1261s # Start of default tests 1261s # End of default tests 1261s # Start of true tests 1261s # End of true tests 1261s # Start of false tests 1261s # End of false tests 1261s # Start of we-close tests 1261s # End of we-close tests 1261s # End of exit-on-close tests 1261s # End of gdbus tests 1261s ok - glib/gdbus-exit-on-close.test 1261s # Running test: glib/contenttype.test 1261s TAP version 14 1261s # random seed: R02Sbfdc7f566f04d97e4011b5575407f4fe 1261s 1..14 1261s # Start of contenttype tests 1261s ok 1 /contenttype/guess 1261s ok 2 /contenttype/guess_svg_from_data 1261s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1261s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1261s ok 5 /contenttype/unknown 1261s ok 6 /contenttype/subtype 1261s ok 7 /contenttype/list 1261s ok 8 /contenttype/executable 1261s ok 9 /contenttype/description 1261s ok 10 /contenttype/icon 1261s ok 11 /contenttype/symbolic-icon 1261s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1261s ok 12 /contenttype/tree 1261s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1261s ok 13 /contenttype/tree_invalid_encoding 1261s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1261s ok 14 /contenttype/test_type_is_a_special_case 1261s # End of contenttype tests 1261s ok - glib/contenttype.test 1261s # Running test: glib/filter-streams.test 1261s ok - glib/filter-streams.test 1261s # Running test: glib/macros-c-89.test 1261s ok - glib/macros-c-89.test 1261s # Running test: glib/gdbus-introspection.test 1261s ok - glib/gdbus-introspection.test 1261s # Running test: glib/data-input-stream.test 1261s TAP version 14 1261s # random seed: R02S84d300a4bfa019112ba72a294f682fa8 1261s 1..4 1261s # Start of filter-stream tests 1261s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1261s ok 1 /filter-stream/input 1261s ok 2 /filter-stream/output 1261s ok 3 /filter-stream/async-input 1261s ok 4 /filter-stream/async-output 1261s # End of filter-stream tests 1261s TAP version 14 1261s # random seed: R02S8e74db20818245fbe63824fe6666bf38 1261s 1..4 1261s # Start of C tests 1261s # G_C_STD_VERSION is 199000 1261s ok 1 /C/standard-89 1261s # End of C tests 1261s # Start of alignof tests 1261s ok 2 /alignof/fallback 1261s # End of alignof tests 1261s # Start of assert tests 1261s ok 3 /assert/static 1261s # End of assert tests 1261s # Start of struct tests 1261s ok 4 /struct/sizeof_member 1261s # End of struct tests 1261s TAP version 14 1261s # random seed: R02Sb4f02ae03bfc330283cc01078b8e9290 1261s 1..4 1261s # Start of gdbus tests 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-parser/.dirs/runtime 1261s ok 1 /gdbus/introspection-parser 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-generate/.dirs/runtime 1261s ok 2 /gdbus/introspection-generate 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-default-direction/.dirs/runtime 1261s ok 3 /gdbus/introspection-default-direction 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0BH6J3/gdbus/introspection-extra-data/.dirs/runtime 1261s ok 4 /gdbus/introspection-extra-data 1261s # End of gdbus tests 1261s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1261s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1261s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1261s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1261s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1261s TAP version 14 1261s # random seed: R02Sc8e0d44cd5811d6698538fd79750704e 1261s 1..10 1261s # Start of data-input-stream tests 1261s ok 1 /data-input-stream/basic 1261s ok 2 /data-input-stream/read-lines-LF 1261s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1261s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1261s ok 5 /data-input-stream/read-lines-CR 1261s ok 6 /data-input-stream/read-lines-CR-LF 1261s ok 7 /data-input-stream/read-lines-any 1261s ok 8 /data-input-stream/read-until 1261s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1261s # Test vector 1: {"key": "value"}? and ? 1261s ok 9 /data-input-stream/read-upto 1261s ok 10 /data-input-stream/read-int 1261s # End of data-input-stream tests 1261s ok - glib/data-input-stream.test 1261s # Running test: glib/atomic-c-17.test 1261s TAP version 14 1261s # random seed: R02Sf279ede891f25873886f9e48b7a6df4e 1261s 1..2 1261s # Start of atomic tests 1261s ok 1 /atomic/types 1262s ok 2 /atomic/threaded 1262s # End of atomic tests 1262s ok - glib/atomic-c-17.test 1262s # Running test: glib/memory-monitor.test 1262s TAP version 14 1262s # random seed: R02Sa0097aa1706a7224d9553ca3bea30307 1262s 1..1 1262s # Start of memory-monitor tests 1262s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1262s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1262s ok 1 /memory-monitor/default 1262s # End of memory-monitor tests 1262s ok - glib/memory-monitor.test 1262s # Running test: glib/keyfile.test 1262s TAP version 14 1262s # random seed: R02S091065e2b415d4a910c24cb0da733578 1262s 1..36 1262s # Start of keyfile tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/line-ends/.dirs/runtime 1262s ok 1 /keyfile/line-ends 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/whitespace/.dirs/runtime 1262s ok 2 /keyfile/whitespace 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/comments/.dirs/runtime 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1262s ok 3 /keyfile/comments 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/listing/.dirs/runtime 1262s ok 4 /keyfile/listing 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/string/.dirs/runtime 1262s ok 5 /keyfile/string 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/boolean/.dirs/runtime 1262s ok 6 /keyfile/boolean 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/number/.dirs/runtime 1262s ok 7 /keyfile/number 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/.dirs/runtime 1262s ok 8 /keyfile/locale-string 1262s ok - glib/keyfile.test 1262s # Running test: glib/option-context.test 1262s ok - glib/option-context.test 1262s # Running test: glib/utils-unisolated.test 1262s ok - glib/utils-unisolated.test 1262s # Running test: glib/autoptr-girepository.test 1262s ok - glib/autoptr-girepository.test 1262s # Running test: glib/node.test 1262s ok - glib/node.test 1262s # Running test: glib/win32-appinfo.test 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/lists/.dirs/runtime 1262s ok 9 /keyfile/lists 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/lists-set-get/.dirs/runtime 1262s ok 10 /keyfile/lists-set-get 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/group-remove/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1262s ok 11 /keyfile/group-remove 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/key-remove/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1262s ok 12 /keyfile/key-remove 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/groups/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1262s ok 13 /keyfile/groups 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-keys/.dirs/runtime 1262s ok 14 /keyfile/duplicate-keys 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1262s ok 15 /keyfile/duplicate-groups 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/duplicate-groups2/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1262s ok 16 /keyfile/duplicate-groups2 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/group-names/.dirs/runtime 1262s ok 17 /keyfile/group-names 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/key-names/.dirs/runtime 1262s ok 18 /keyfile/key-names 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/reload/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1262s ok 19 /keyfile/reload 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/int64/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1262s ok 20 /keyfile/int64 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/load/.dirs/runtime 1262s ok 21 /keyfile/load 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/save/.dirs/runtime 1262s ok 22 /keyfile/save 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/load-fail/.dirs/runtime 1262s ok 23 /keyfile/load-fail 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/non-utf8/.dirs/runtime 1262s ok 24 /keyfile/non-utf8 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/page-boundary/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1262s ok 25 /keyfile/page-boundary 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/ref/.dirs/runtime 1262s ok 26 /keyfile/ref 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/replace-value/.dirs/runtime 1262s ok 27 /keyfile/replace-value 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/list-separator/.dirs/runtime 1262s ok 28 /keyfile/list-separator 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/empty-string/.dirs/runtime 1262s ok 29 /keyfile/empty-string 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/limbo/.dirs/runtime 1262s ok 30 /keyfile/limbo 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/utf8/.dirs/runtime 1262s # Testing invalid encoding ‘non-UTF-8’ 1262s # Testing invalid encoding ‘UTF’ 1262s # Testing invalid encoding ‘UTF-9’ 1262s ok 31 /keyfile/utf8 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/roundtrip/.dirs/runtime 1262s ok 32 /keyfile/roundtrip 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/bytes/.dirs/runtime 1262s ok 33 /keyfile/bytes 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/get-locale/.dirs/runtime 1262s ok 34 /keyfile/get-locale 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/free-when-not-last-ref/.dirs/runtime 1262s ok 35 /keyfile/free-when-not-last-ref 1262s # Start of locale-string tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_CBDGK3/keyfile/locale-string/multiple-loads/.dirs/runtime 1262s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1262s ok 36 /keyfile/locale-string/multiple-loads 1262s # End of locale-string tests 1262s # End of keyfile tests 1262s TAP version 14 1262s # random seed: R02S3a919dfd00001e3f697741b5f2afe24e 1262s 1..61 1262s # Start of option tests 1262s ok 1 /option/basic 1262s ok 2 /option/translate 1262s ok 3 /option/strict-posix 1262s # Testing command: program --double abc 1262s # Testing command: program --double 2e309 1262s # Testing command: program --int abc 1262s # Testing command: program --int 99999999999999999999999999999999999 1262s # Testing command: program --int64 abc 1262s # Testing command: program --int64 99999999999999999999999999999999999 1262s ok 4 /option/parsing-errors 1262s # Start of help tests 1262s ok 5 /option/help/options 1262s ok 6 /option/help/no-options 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1262s ok 7 /option/help/no-help-options 1262s # Usage: 1262s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1262s # 1262s # Summary 1262s # 1262s # Help Options: 1262s # -h, --help Show help options 1262s # 1262s # Application Options: 1262s # -t, --test=Argument to use in test (deprecated) Test tests 1262s # --test2 Tests also 1262s # 1262s # Description 1262s # 1262s ok 8 /option/help/deprecated 1262s ok 9 /option/help/main-get_help-format 1262s ok 10 /option/help/group-get_help-format 1262s # End of help tests 1262s # Start of group tests 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1262s ok 11 /option/group/captions 1262s ok 12 /option/group/main 1262s ok 13 /option/group/error-hook 1262s ok 14 /option/group/parse 1262s # Start of captions tests 1262s # Start of subprocess tests 1262s # End of subprocess tests 1262s # End of captions tests 1262s # End of group tests 1262s # Start of restoration tests 1262s ok 15 /option/restoration/int 1262s ok 16 /option/restoration/string 1262s ok 17 /option/restoration/boolean 1262s # End of restoration tests 1262s # Start of arg tests 1262s ok 18 /option/arg/reverse-string 1262s ok 19 /option/arg/optional-int 1262s # Start of repetition tests 1262s ok 20 /option/arg/repetition/int 1262s ok 21 /option/arg/repetition/string 1262s ok 22 /option/arg/repetition/filename 1262s ok 23 /option/arg/repetition/double 1262s ok 24 /option/arg/repetition/locale 1262s ok 25 /option/arg/repetition/int64 1262s # End of repetition tests 1262s # Start of array tests 1262s ok 26 /option/arg/array/string 1262s # End of array tests 1262s # Start of callback tests 1262s ok 27 /option/arg/callback/string 1262s ok 28 /option/arg/callback/count 1262s ok 29 /option/arg/callback/optional1 1262s ok 30 /option/arg/callback/optional2 1262s ok 31 /option/arg/callback/optional3 1262s ok 32 /option/arg/callback/optional4 1262s ok 33 /option/arg/callback/optional5 1262s ok 34 /option/arg/callback/optional6 1262s ok 35 /option/arg/callback/optional7 1262s ok 36 /option/arg/callback/optional8 1262s # End of callback tests 1262s # Start of remaining tests 1262s ok 37 /option/arg/remaining/callback 1262s ok 38 /option/arg/remaining/callback-false 1262s ok 39 /option/arg/remaining/non-option 1262s ok 40 /option/arg/remaining/separator 1262s ok 41 /option/arg/remaining/array 1262s # End of remaining tests 1262s # Start of ignore tests 1262s ok 42 /option/arg/ignore/long 1262s ok 43 /option/arg/ignore/short 1262s ok 44 /option/arg/ignore/arg 1262s # End of ignore tests 1262s # Start of rest tests 1262s ok 45 /option/arg/rest/non-option 1262s ok 46 /option/arg/rest/separator1 1262s ok 47 /option/arg/rest/separator2 1262s ok 48 /option/arg/rest/separator3 1262s ok 49 /option/arg/rest/separator4 1262s ok 50 /option/arg/rest/separator5 1262s # End of rest tests 1262s # End of arg tests 1262s # Start of context tests 1262s ok 51 /option/context/add 1262s ok 52 /option/context/empty2 1262s ok 53 /option/context/empty3 1262s # End of context tests 1262s # Start of bug tests 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1262s ok 54 /option/bug/unknown-short 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1262s ok 55 /option/bug/lonely-dash 1262s ok 56 /option/bug/triple-dash 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1262s ok 57 /option/bug/missing-arg 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1262s ok 58 /option/bug/dash-arg 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1262s ok 59 /option/bug/short-remaining 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1262s ok 60 /option/bug/double-free 1262s ok 61 /option/bug/double-zero 1262s # End of bug tests 1262s # End of option tests 1262s TAP version 14 1262s # random seed: R02S2389106928cfb28922f0d9927fed44b7 1262s 1..1 1262s # Start of utils tests 1262s ok 1 /utils/xdgdirs 1262s # End of utils tests 1262s TAP version 14 1262s # random seed: R02S73a12013a5e92369ed3c8246b350c8b1 1262s 1..24 1262s # Start of autoptr tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/repository/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 1 /autoptr/repository 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/typelib/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 2 /autoptr/typelib 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/base-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 3 /autoptr/base-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/arg-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 4 /autoptr/arg-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callable-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 5 /autoptr/callable-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/callback-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 6 /autoptr/callback-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/constant-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 7 /autoptr/constant-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/enum-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 8 /autoptr/enum-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/field-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 9 /autoptr/field-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/flags-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 10 /autoptr/flags-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/function-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 11 /autoptr/function-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/interface-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 12 /autoptr/interface-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/object-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 13 /autoptr/object-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/property-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 14 /autoptr/property-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/registered-type-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 15 /autoptr/registered-type-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/signal-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 16 /autoptr/signal-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/struct-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 17 /autoptr/struct-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/type-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 18 /autoptr/type-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/union-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 19 /autoptr/union-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/value-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 20 /autoptr/value-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/autoptr/vfunc-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 21 /autoptr/vfunc-info 1262s # End of autoptr tests 1262s # Start of auto tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/auto/arg-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 22 /auto/arg-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/auto/type-info/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 23 /auto/type-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_OAIFK3/auto/function-invoker/.dirs/runtime 1262s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1262s ok 24 /auto/function-invoker 1262s # End of auto tests 1262s TAP version 14 1262s # random seed: R02Sccfe7848eec21129646fc5737b6fe035 1262s 1..6 1262s # Start of node tests 1262s ok 1 /node/allocation 1262s ok 2 /node/construction 1262s ok 3 /node/traversal 1262s ok 4 /node/misc 1262s ok 5 /node/unlink 1262s ok 6 /node/copy 1262s # End of node tests 1262s TAP version 14 1262s # random seed: R02S037e5fec106efb0b9b333bb02c3f2ea7 1262s 1..5 1262s # Start of appinfo tests 1262s ok 1 /appinfo/utf16-strfuncs 1262s ok 2 /appinfo/win32-extract-executable 1262s ok 3 /appinfo/win32-rundll32-fixup 1262s ok 4 /appinfo/win32-parse-filename 1262s ok 5 /appinfo/win32-utf16-conversion-fail 1262s # Start of subprocess tests 1262s # End of subprocess tests 1262s # End of appinfo tests 1262s TAP version 14 1262s # random seed: R02S6ca48730bdff31edfe6db995c55f55c7 1262s 1..36 1262s # Start of utf8 tests 1262s # Start of perf tests 1262s # Start of get_char tests 1262s # max perf: 7.2 MB/s 1262s ok 1 /utf8/perf/get_char/ascii 1262s # max perf: 67.0 MB/s 1262s ok 2 /utf8/perf/get_char/latin1 1262s # max perf: 160.0 MB/s 1262s ok 3 /utf8/perf/get_char/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 4 /utf8/perf/get_char/han 1262s # End of get_char tests 1262s # Start of get_char-backwards tests 1262s # max perf: 43.0 MB/s 1262s ok 5 /utf8/perf/get_char-backwards/ascii 1262s # max perf: 67.0 MB/s 1262s ok 6 /utf8/perf/get_char-backwards/latin1 1262s # max perf: 160.0 MB/s 1262s ok 7 /utf8/perf/get_char-backwards/cyrillic 1262s # max perf: inf MB/s 1262s ok 8 /utf8/perf/get_char-backwards/han 1262s # End of get_char-backwards tests 1262s # Start of get_char_validated tests 1262s # max perf: inf MB/s 1262s ok 9 /utf8/perf/get_char_validated/ascii 1262s # max perf: inf MB/s 1262s ok 10 /utf8/perf/get_char_validated/latin1 1262s # max perf: 160.0 MB/s 1262s ok 11 /utf8/perf/get_char_validated/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 12 /utf8/perf/get_char_validated/han 1262s # End of get_char_validated tests 1262s # Start of utf8_to_ucs4 tests 1262s # max perf: 43.0 MB/s 1262s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1262s # max perf: 67.0 MB/s 1262s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1262s ok - glib/win32-appinfo.test 1262s # Running test: glib/utf8-performance.test 1262s ok - glib/utf8-performance.test 1262s # Running test: glib/array-test.test 1262s # max perf: 53.3 MB/s 1262s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 16 /utf8/perf/utf8_to_ucs4/han 1262s # End of utf8_to_ucs4 tests 1262s # Start of utf8_to_ucs4-sized tests 1262s # max perf: inf MB/s 1262s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1262s # max perf: 67.0 MB/s 1262s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1262s # max perf: 160.0 MB/s 1262s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1262s # End of utf8_to_ucs4-sized tests 1262s # Start of utf8_to_ucs4_fast tests 1262s # max perf: inf MB/s 1262s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1262s # max perf: 67.0 MB/s 1262s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1262s # max perf: 160.0 MB/s 1262s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1262s # End of utf8_to_ucs4_fast tests 1262s # Start of utf8_to_ucs4_fast-sized tests 1262s # max perf: 43.0 MB/s 1262s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1262s # max perf: 67.0 MB/s 1262s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1262s # max perf: 160.0 MB/s 1262s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1262s # End of utf8_to_ucs4_fast-sized tests 1262s # Start of utf8_validate tests 1262s # max perf: 43.0 MB/s 1262s ok 29 /utf8/perf/utf8_validate/ascii 1262s # max perf: 67.0 MB/s 1262s ok 30 /utf8/perf/utf8_validate/latin1 1262s # max perf: 160.0 MB/s 1262s ok 31 /utf8/perf/utf8_validate/cyrillic 1262s # max perf: 156.0 MB/s 1262s ok 32 /utf8/perf/utf8_validate/han 1262s # End of utf8_validate tests 1262s # Start of utf8_validate-sized tests 1262s # max perf: inf MB/s 1262s ok 33 /utf8/perf/utf8_validate-sized/ascii 1262s # max perf: inf MB/s 1262s ok 34 /utf8/perf/utf8_validate-sized/latin1 1262s # max perf: 160.0 MB/s 1262s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1262s # max perf: inf MB/s 1262s ok 36 /utf8/perf/utf8_validate-sized/han 1262s # End of utf8_validate-sized tests 1262s # End of perf tests 1262s # End of utf8 tests 1262s TAP version 14 1262s # random seed: R02Sa422d6c47baeff4ca08b784f5bea2c3c 1262s 1..120 1262s # Start of array tests 1262s ok 1 /array/ref-count 1262s ok 2 /array/steal 1262s ok 3 /array/clear-func 1262s ok 4 /array/binary-search 1262s ok 5 /array/overflow-append-vals 1262s ok 6 /array/overflow-set-size 1262s # Start of new tests 1262s ok 7 /array/new/zero-terminated 1262s ok 8 /array/new/take 1262s ok 9 /array/new/take-zero-terminated 1262s # Start of take tests 1262s ok 10 /array/new/take/empty 1262s ok 11 /array/new/take/overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1262s ok 12 /array/new/take/zero-size 1262s # End of take tests 1262s # Start of take-zero-terminated tests 1262s ok 13 /array/new/take-zero-terminated/zero-size 1262s ok 14 /array/new/take-zero-terminated/null 1262s # End of take-zero-terminated tests 1262s # End of new tests 1262s # Start of copy tests 1262s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1262s ok 15 /array/copy/sized 1262s ok 16 /array/copy/zero-terminated 1262s ok 17 /array/copy/non-zero-terminated-no-clear 1262s ok 18 /array/copy/non-zero-terminated-clear 1262s ok 19 /array/copy/zero-terminated-no-clear 1262s ok 20 /array/copy/zero-terminated-clear 1262s # End of copy tests 1262s # Start of remove-range tests 1262s ok 21 /array/remove-range/zero-terminated-null 1262s ok 22 /array/remove-range/non-zero-terminated-no-clear 1262s ok 23 /array/remove-range/non-zero-terminated-clear 1262s ok 24 /array/remove-range/zero-terminated-no-clear 1262s ok 25 /array/remove-range/zero-terminated-clear 1262s # End of remove-range tests 1262s # Start of set-size tests 1262s ok 26 /array/set-size/zero-terminated-null 1262s ok 27 /array/set-size/non-zero-terminated-no-clear 1262s ok 28 /array/set-size/non-zero-terminated-clear 1262s ok 29 /array/set-size/zero-terminated-no-clear 1262s ok 30 /array/set-size/zero-terminated-clear 1262s # Start of sized tests 1262s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1262s ok 32 /array/set-size/sized/non-zero-terminated-clear 1262s ok 33 /array/set-size/sized/zero-terminated-no-clear 1262s ok 34 /array/set-size/sized/zero-terminated-clear 1262s # End of sized tests 1262s # End of set-size tests 1262s # Start of append-val tests 1262s ok 35 /array/append-val/non-zero-terminated-no-clear 1262s ok 36 /array/append-val/non-zero-terminated-clear 1262s ok 37 /array/append-val/zero-terminated-no-clear 1262s ok 38 /array/append-val/zero-terminated-clear 1262s # End of append-val tests 1262s # Start of prepend-val tests 1262s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1262s ok 40 /array/prepend-val/non-zero-terminated-clear 1262s ok 41 /array/prepend-val/zero-terminated-no-clear 1262s ok 42 /array/prepend-val/zero-terminated-clear 1262s # End of prepend-val tests 1262s # Start of prepend-vals tests 1262s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1262s ok 44 /array/prepend-vals/non-zero-terminated-clear 1262s ok 45 /array/prepend-vals/zero-terminated-no-clear 1262s ok 46 /array/prepend-vals/zero-terminated-clear 1262s # End of prepend-vals tests 1262s # Start of insert-vals tests 1262s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1262s ok 48 /array/insert-vals/non-zero-terminated-clear 1262s ok 49 /array/insert-vals/zero-terminated-no-clear 1262s ok 50 /array/insert-vals/zero-terminated-clear 1262s # End of insert-vals tests 1262s # Start of remove-index tests 1262s ok 51 /array/remove-index/non-zero-terminated-no-clear 1262s ok 52 /array/remove-index/non-zero-terminated-clear 1262s ok 53 /array/remove-index/zero-terminated-no-clear 1262s ok 54 /array/remove-index/zero-terminated-clear 1262s # End of remove-index tests 1262s # Start of remove-index-fast tests 1262s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1262s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1262s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1262s ok 58 /array/remove-index-fast/zero-terminated-clear 1262s # End of remove-index-fast tests 1262s # Start of sort tests 1262s ok 59 /array/sort/non-zero-terminated-no-clear 1262s ok 60 /array/sort/non-zero-terminated-clear 1262s ok 61 /array/sort/zero-terminated-no-clear 1262s ok 62 /array/sort/zero-terminated-clear 1262s # End of sort tests 1262s # Start of sort-with-data tests 1262s ok - glib/array-test.test 1262s # Running test: glib/dir.test 1262s ok - glib/dir.test 1262s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1262s ok 64 /array/sort-with-data/non-zero-terminated-clear 1262s ok 65 /array/sort-with-data/zero-terminated-no-clear 1262s ok 66 /array/sort-with-data/zero-terminated-clear 1262s # End of sort-with-data tests 1262s # End of array tests 1262s # Start of pointerarray tests 1262s ok 67 /pointerarray/add 1262s ok 68 /pointerarray/insert 1262s ok 69 /pointerarray/new-take 1262s ok 70 /pointerarray/new-take-null-terminated 1262s ok 71 /pointerarray/new-from-array 1262s ok 72 /pointerarray/new-from-null-terminated-array 1262s ok 73 /pointerarray/free-func 1262s ok 74 /pointerarray/array_extend_and_steal 1262s ok 75 /pointerarray/sort 1262s ok 76 /pointerarray/sort-with-data 1262s ok 77 /pointerarray/sort-values 1262s ok 78 /pointerarray/sort-values-with-data 1262s ok 79 /pointerarray/remove-range 1262s ok 80 /pointerarray/steal 1262s # Start of free tests 1262s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1262s ok 81 /pointerarray/free/null-terminated 1262s # End of free tests 1262s # Start of new-take tests 1262s ok 82 /pointerarray/new-take/empty 1262s ok 83 /pointerarray/new-take/overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1262s ok 84 /pointerarray/new-take/with-free-func 1262s # End of new-take tests 1262s # Start of new-take-null-terminated tests 1262s ok 85 /pointerarray/new-take-null-terminated/empty 1262s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1262s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1262s # End of new-take-null-terminated tests 1262s # Start of new-from-array tests 1262s ok 88 /pointerarray/new-from-array/empty 1262s ok 89 /pointerarray/new-from-array/overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1262s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1262s # End of new-from-array tests 1262s # Start of new-from-null-terminated-array tests 1262s ok 91 /pointerarray/new-from-null-terminated-array/empty 1262s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1262s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1262s # End of new-from-null-terminated-array tests 1262s # Start of ref-count tests 1262s ok 94 /pointerarray/ref-count/not-null-terminated 1262s ok 95 /pointerarray/ref-count/null-terminated 1262s # End of ref-count tests 1262s # Start of array_copy tests 1262s # /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 1262s ok 96 /pointerarray/array_copy/not-null-terminated 1262s # /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 1262s ok 97 /pointerarray/array_copy/null-terminated 1262s # End of array_copy tests 1262s # Start of array_extend tests 1262s ok 98 /pointerarray/array_extend/not-null-terminated 1262s ok 99 /pointerarray/array_extend/null-terminated 1262s # End of array_extend tests 1262s # Start of sort tests 1262s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1262s ok 100 /pointerarray/sort/example 1262s # End of sort tests 1262s # Start of sort-with-data tests 1262s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1262s ok 101 /pointerarray/sort-with-data/example 1262s # End of sort-with-data tests 1262s # Start of sort-values tests 1262s ok 102 /pointerarray/sort-values/example 1262s # End of sort-values tests 1262s # Start of sort-values-with-data tests 1262s ok 103 /pointerarray/sort-values-with-data/example 1262s # End of sort-values-with-data tests 1262s # Start of find tests 1262s ok 104 /pointerarray/find/empty 1262s ok 105 /pointerarray/find/non-empty 1262s # End of find tests 1262s # Start of steal_index tests 1262s ok 106 /pointerarray/steal_index/not-null-terminated 1262s ok 107 /pointerarray/steal_index/null-terminated 1262s # End of steal_index tests 1262s # End of pointerarray tests 1262s # Start of bytearray tests 1262s ok 108 /bytearray/steal 1262s ok 109 /bytearray/append 1262s ok 110 /bytearray/prepend 1262s ok 111 /bytearray/remove 1262s ok 112 /bytearray/remove-fast 1262s ok 113 /bytearray/remove-range 1262s ok 114 /bytearray/ref-count 1262s ok 115 /bytearray/set-size 1262s ok 116 /bytearray/sort 1262s ok 117 /bytearray/sort-with-data 1262s ok 118 /bytearray/new-take 1262s ok 119 /bytearray/new-take-overflow # SKIP Overflow test requires SIZE_WIDTH > UINT_WIDTH. 1262s ok 120 /bytearray/free-to-bytes 1262s # End of bytearray tests 1262s TAP version 14 1262s # random seed: R02Scbfb9f829c6f08b64c73dca320250c15 1262s 1..3 1262s # Start of dir tests 1262s ok 1 /dir/read 1262s ok 2 /dir/nonexisting 1262s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1262s ok 3 /dir/refcounting 1262s # End of dir tests 1262s # Running test: glib/contexts.test 1262s TAP version 14 1262s # random seed: R02Sae7a82ad8741d70a6ae5bbc19bdb56a8 1262s 1..5 1262s # Start of gio tests 1262s # Start of contexts tests 1262s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1262s ok 1 /gio/contexts/thread-independence 1262s ok 2 /gio/contexts/context-independence 1262s # Start of context-specific tests 1262s ok 3 /gio/contexts/context-specific/identity 1262s ok 4 /gio/contexts/context-specific/emit 1262s ok 5 /gio/contexts/context-specific/emit-and-unref 1262s # End of context-specific tests 1262s # End of contexts tests 1262s # End of gio tests 1262s ok - glib/contexts.test 1262s # Running test: glib/assert-msg-test.py.test 1262s TAP version 13 1262s ok 1 __main__.TestAssertMessage.test_gassert 1262s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1262s # tmpdir: /tmp/tmp9d5wi_xc 1262s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1262s # Return code: -6 1262s # Output: 1262s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1262s # Error: 1262s # ** 1262s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1262s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1262s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1262s # tmpdir: /tmp/tmpkt_yjsk_ 1262s 1..2 1262s ok - glib/assert-msg-test.py.test 1262s TAP version 14 1262s # random seed: R02Sa0ba0cbb6eb7d44f5bd1a0c7bb964c39 1262s 1..41 1262s # Start of utils tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/language-names/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/language-names/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/language-names/.dirs/runtime 1262s ok 1 /utils/language-names 1262s # Running test: glib/utils.test 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/locale-variants/.dirs/runtime 1262s # Testing locale ‘en’ 1262s # Testing locale ‘sr@latin’ 1262s # Testing locale ‘fr_BE’ 1262s # Testing locale ‘sr_SR@latin’ 1262s # Testing locale ‘sr_SR@latin.UTF-8’ 1262s # Testing locale ‘sr@latin_invalid’ 1262s # Testing locale ‘sr.UTF-8@latin’ 1262s # Testing locale ‘sr.UTF-8_latin’ 1262s # Testing locale ‘sr.UTF-8@latin_invalid’ 1262s ok 2 /utils/locale-variants 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/version/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/version/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/version/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/version/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/version/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/version/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/version/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/version/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/version/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/version/.dirs/runtime 1262s ok 3 /utils/version 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/appname/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/appname/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/appname/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/appname/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/appname/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/appname/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/appname/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/appname/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/appname/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/appname/.dirs/runtime 1262s ok 4 /utils/appname 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/prgname-thread-safety/.dirs/runtime 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1262s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1262s ok 5 /utils/prgname-thread-safety 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/tmpdir/.dirs/runtime 1262s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1262s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1262s Unable to clean up temporary directory /tmp/test_utils_3DIKK3/utils/tmpdir: No such file or directory 1262s ok 6 /utils/tmpdir 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/basic_bits/.dirs/runtime 1262s ok 7 /utils/basic_bits 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/bits/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/bits/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/bits/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/bits/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/bits/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/bits/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/bits/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/bits/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/bits/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/bits/.dirs/runtime 1262s ok 8 /utils/bits 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/swap/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/swap/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/swap/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/swap/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/swap/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/swap/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/swap/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/swap/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/swap/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/swap/.dirs/runtime 1262s ok 9 /utils/swap 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/find-program/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/find-program/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/find-program/.dirs/runtime 1262s ok 10 /utils/find-program 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/find-program-for-path/.dirs/runtime 1262s ok 11 /utils/find-program-for-path 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/debug/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/debug/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/debug/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/debug/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/debug/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/debug/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/debug/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/debug/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/debug/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/debug/.dirs/runtime 1262s Unable to clean up temporary directory /tmp/test_utils_3DIKK3/utils/debug: No such file or directory 1262s ok 12 /utils/debug 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/codeset/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/codeset/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/codeset/.dirs/runtime 1262s ok 13 /utils/codeset 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/codeset2/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/codeset2/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/codeset2/.dirs/runtime 1262s Unable to clean up temporary directory /tmp/test_utils_3DIKK3/utils/codeset2: No such file or directory 1262s ok 14 /utils/codeset2 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/console-charset/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/console-charset/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/console-charset/.dirs/runtime 1262s ok 15 /utils/console-charset 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/gettext/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/gettext/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/gettext/.dirs/runtime 1262s ok 16 /utils/gettext 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/username/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/username/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/username/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/username/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/username/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/username/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/username/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/username/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/username/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/username/.dirs/runtime 1262s ok 17 /utils/username 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/realname/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/realname/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/realname/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/realname/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/realname/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/realname/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/realname/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/realname/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/realname/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/realname/.dirs/runtime 1262s ok 18 /utils/realname 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/hostname/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/hostname/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/hostname/.dirs/runtime 1262s ok 19 /utils/hostname 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/os-info/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/os-info/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/os-info/.dirs/runtime 1262s # NAME: Ubuntu 1262s ok 20 /utils/os-info 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/clear-pointer/.dirs/runtime 1262s ok 21 /utils/clear-pointer 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/clear-pointer-cast/.dirs/runtime 1262s ok 22 /utils/clear-pointer-cast 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/take-pointer/.dirs/runtime 1262s ok 23 /utils/take-pointer 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/clear-source/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/clear-source/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/clear-source/.dirs/runtime 1262s ok 24 /utils/clear-source 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/misc-mem/.dirs/runtime 1262s ok 25 /utils/misc-mem 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/aligned-mem/.dirs/runtime 1262s # /utils/aligned-mem summary: Aligned memory allocator 1262s # Alignment must not be zero 1262s # Alignment must be a power of two 1262s # Alignment must be a multiple of sizeof(void*) 1262s ok 26 /utils/aligned-mem 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/free-sized/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/free-sized/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/free-sized/.dirs/runtime 1262s # /utils/free-sized summary: Check that g_free_sized() works 1262s ok 27 /utils/free-sized 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/nullify/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/nullify/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/nullify/.dirs/runtime 1262s ok 28 /utils/nullify 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/atexit/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/atexit/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/atexit/.dirs/runtime 1262s Unable to clean up temporary directory /tmp/test_utils_3DIKK3/utils/atexit: No such file or directory 1262s ok 29 /utils/atexit 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/check-setuid/.dirs/runtime 1262s ok 30 /utils/check-setuid 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/int-limits/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/int-limits/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/int-limits/.dirs/runtime 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1262s ok 31 /utils/int-limits 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/clear-list/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/clear-list/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/clear-list/.dirs/runtime 1262s ok 32 /utils/clear-list 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/clear-slist/.dirs/runtime 1262s ok 33 /utils/clear-slist 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/steal-handle-id/.dirs/runtime 1262s ok 34 /utils/steal-handle-id 1262s # Start of user-special-dirs tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/user-special-dirs/desktop/.dirs/runtime 1262s ok 35 /utils/user-special-dirs/desktop 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1262s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1262s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1262s Unable to clean up temporary directory /tmp/test_utils_3DIKK3/utils/user-special-dirs/load-unlocked: No such file or directory 1262s ok 36 /utils/user-special-dirs/load-unlocked 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1262s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1262s ok - glib/utils.test 1262s # Running test: glib/inet-address.test 1262s Unable to clean up temporary directory /tmp/test_utils_3DIKK3/utils/user-special-dirs/reload-leaks: No such file or directory 1262s ok 37 /utils/user-special-dirs/reload-leaks 1262s # End of user-special-dirs tests 1262s # Start of clear-pointer tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/clear-pointer/side-effects/.dirs/runtime 1262s ok 38 /utils/clear-pointer/side-effects 1262s # End of clear-pointer tests 1262s # Start of aligned-mem tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/aligned-mem/alignment/.dirs/runtime 1262s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1262s ok 39 /utils/aligned-mem/alignment 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/aligned-mem/zeroed/.dirs/runtime 1262s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1262s ok 40 /utils/aligned-mem/zeroed 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_3DIKK3/utils/aligned-mem/free-sized/.dirs/runtime 1262s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1262s ok 41 /utils/aligned-mem/free-sized 1262s # Start of subprocess tests 1262s # End of subprocess tests 1262s # End of aligned-mem tests 1262s # End of utils tests 1262s ok - glib/inet-address.test 1262s TAP version 14 1262s # random seed: R02S122454c254502e5eaaab92d6f0791da4 1262s 1..11 1262s # Start of inet-address tests 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1262s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1262s ok 1 /inet-address/parse 1262s ok 2 /inet-address/any 1262s ok 3 /inet-address/loopback 1262s ok 4 /inet-address/bytes 1262s ok 5 /inet-address/property 1262s # End of inet-address tests 1262s # Start of socket-address tests 1262s ok 6 /socket-address/basic 1262s ok 7 /socket-address/to-string 1262s # End of socket-address tests 1262s # Start of address-mask tests 1262s ok 8 /address-mask/parse 1262s ok 9 /address-mask/property 1262s ok 10 /address-mask/equal 1262s ok 11 /address-mask/match 1262s # End of address-mask tests 1262s # Running test: glib/io-channel.test 1262s TAP version 14 1262s # random seed: R02S8b27934aa8db58c7be1d8cea5593caeb 1262s 1..2 1262s # Start of io-channel tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_POAPK3/io-channel/read-write/.dirs/runtime 1262s # Line one 1262s # 1262s # Line two 1262s # 1262s # Line three 1262s # 1262s # /* Hello */ 1262s # 1262s # \x1234\x567890\x6666 1262s # 1262s # read 62 bytes, wrote 62 bytes 1262s ok 1 /io-channel/read-write 1262s # Start of read-line tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_POAPK3/io-channel/read-line/embedded-nuls/.dirs/runtime 1262s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1262s ok 2 /io-channel/read-line/embedded-nuls 1262s # End of read-line tests 1262s # End of io-channel tests 1262s ok - glib/io-channel.test 1262s # Running test: glib/testing.test 1262s TAP version 14 1262s # random seed: R02S968812cd77c90c204181348cf4073dd9 1262s 1..1 1262s # Start of assert tests 1262s ok 1 /assert/finalize_object 1262s # Start of finalize_object tests 1262s # Start of subprocess tests 1262s # End of subprocess tests 1262s # End of finalize_object tests 1262s # End of assert tests 1262s ok - glib/testing.test 1262s # Running test: glib/utf8-pointer.test 1262s TAP version 14 1262s # random seed: R02Sf1740f0d3e3bf28eb3d32a58a3ee1984 1262s 1..3 1262s # Start of utf8 tests 1263s ok 1 /utf8/offsets 1263s # slow test /utf8/offsets executed in 1.01 secs 1263s ok 2 /utf8/lengths 1263s ok 3 /utf8/find 1263s # End of utf8 tests 1263s ok - glib/utf8-pointer.test 1263s # Running test: glib/uri.test 1263s TAP version 14 1263s # random seed: R02Sb354b03bd0dc0fe4f1572ef5d8b3ec29 1263s 1..24 1263s # Start of uri tests 1263s ok 1 /uri/file-to-uri 1263s ok 2 /uri/file-from-uri 1263s ok 3 /uri/file-roundtrip 1263s ok 4 /uri/list 1263s # Test 0: %2Babc %4F 1263s # Test 1: %2Babc %4F 1263s # Test 2: %00abc %4F 1263s # Test 3: /cursors/none.png 1263s # Test 4: /cursors%2fbad-subdir/none.png 1263s # Test 5: %0 1263s # Test 6: %ra 1263s # Test 7: %2r 1263s # Test 8: Timm Bäder 1263s # Test 9: (null) 1263s ok 5 /uri/unescape-string 1263s ok 6 /uri/unescape-segment 1263s # Test 0: abcdefgABCDEFG._~ 1263s # Test 1: :+ \\?# 1263s # Test 2: a+b:c 1263s # Test 3: a+b:c\303\234 1263s # Test 4: \374;\322 1263s # Test 5: \303\261\303( 1263s ok 7 /uri/escape-string 1263s ok 8 /uri/escape-bytes 1263s ok 9 /uri/scheme 1263s ok 10 /uri/build 1263s ok 11 /uri/split 1263s ok 12 /uri/is_valid 1263s ok 13 /uri/to-string 1263s ok 14 /uri/join 1263s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1263s # Combination 0 1263s # Combination 1 1263s # Combination 2 1263s # Combination 3 1263s # Combination 4 1263s # Combination 5 1263s # Combination 6 1263s # Combination 7 1263s # Combination 8 1263s # Combination 9 1263s # Combination 10 1263s # Combination 11 1263s # Combination 12 1263s # Combination 13 1263s # Combination 14 1263s # Combination 15 1263s # Combination 16 1263s # Combination 17 1263s # Combination 18 1263s # Combination 19 1263s # Combination 20 1263s # Combination 21 1263s # Combination 22 1263s # Combination 23 1263s # Combination 24 1263s # Combination 25 1263s # Combination 26 1263s # Combination 27 1263s # Combination 28 1263s # Combination 29 1263s # Combination 30 1263s # Combination 31 1263s # Combination 32 1263s # Combination 33 1263s # Combination 34 1263s # Combination 35 1263s # Combination 36 1263s # Combination 37 1263s # Combination 38 1263s # Combination 39 1263s # Combination 40 1263s # Combination 41 1263s # Combination 42 1263s # Combination 43 1263s # Combination 44 1263s # Combination 45 1263s # Combination 46 1263s # Combination 47 1263s # Combination 48 1263s # Combination 49 1263s # Combination 50 1263s # Combination 51 1263s # Combination 52 1263s # Combination 53 1263s # Combination 54 1263s # Combination 55 1263s # Combination 56 1263s # Combination 57 1263s # Combination 58 1263s # Combination 59 1263s # Combination 60 1263s # Combination 61 1263s # Combination 62 1263s # Combination 63 1263s # Combination 64 1263s # Combination 65 1263s # Combination 66 1263s # Combination 67 1263s # Combination 68 1263s # Combination 69 1263s # Combination 70 1263s # Combination 71 1263s # Combination 72 1263s # Combination 73 1263s # Combination 74 1263s # Combination 75 1263s # Combination 76 1263s # Combination 77 1263s # Combination 78 1263s # Combination 79 1263s # Combination 80 1263s # Combination 81 1263s # Combination 82 1263s # Combination 83 1263s # Combination 84 1263s # Combination 85 1263s # Combination 86 1263s # Combination 87 1263s # Combination 88 1263s # Combination 89 1263s # Combination 90 1263s # Combination 91 1263s # Combination 92 1263s # Combination 93 1263s # Combination 94 1263s # Combination 95 1263s # Combination 96 1263s # Combination 97 1263s # Combination 98 1263s # Combination 99 1263s # Combination 100 1263s # Combination 101 1263s # Combination 102 1263s # Combination 103 1263s # Combination 104 1263s # Combination 105 1263s # Combination 106 1263s # Combination 107 1263s # Combination 108 1263s # Combination 109 1263s # Combination 110 1263s # Combination 111 1263s # Combination 112 1263s # Combination 113 1263s # Combination 114 1263s # Combination 115 1263s # Combination 116 1263s # Combination 117 1263s # Combination 118 1263s # Combination 119 1263s # Combination 120 1263s # Combination 121 1263s # Combination 122 1263s # Combination 123 1263s # Combination 124 1263s # Combination 125 1263s # Combination 126 1263s # Combination 127 1263s # Combination 128 1263s # Combination 129 1263s # Combination 130 1263s # Combination 131 1263s # Combination 132 1263s # Combination 133 1263s # Combination 134 1263s # Combination 135 1263s # Combination 136 1263s # Combination 137 1263s # Combination 138 1263s # Combination 139 1263s # Combination 140 1263s # Combination 141 1263s # Combination 142 1263s # Combination 143 1263s # Combination 144 1263s # Combination 145 1263s # Combination 146 1263s # Combination 147 1263s # Combination 148 1263s # Combination 149 1263s # Combination 150 1263s # Combination 151 1263s # Combination 152 1263s # Combination 153 1263s # Combination 154 1263s # Combination 155 1263s # Combination 156 1263s # Combination 157 1263s # Combination 158 1263s # Combination 159 1263s # Combination 160 1263s # Combination 161 1263s # Combination 162 1263s # Combination 163 1263s # Combination 164 1263s # Combination 165 1263s # Combination 166 1263s # Combination 167 1263s # Combination 168 1263s # Combination 169 1263s # Combination 170 1263s # Combination 171 1263s # Combination 172 1263s # Combination 173 1263s # Combination 174 1263s # Combination 175 1263s # Combination 176 1263s # Combination 177 1263s # Combination 178 1263s # Combination 179 1263s # Combination 180 1263s # Combination 181 1263s # Combination 182 1263s # Combination 183 1263s # Combination 184 1263s # Combination 185 1263s # Combination 186 1263s # Combination 187 1263s # Combination 188 1263s # Combination 189 1263s # Combination 190 1263s # Combination 191 1263s # Combination 192 1263s # Combination 193 1263s # Combination 194 1263s # Combination 195 1263s # Combination 196 1263s # Combination 197 1263s # Combination 198 1263s # Combination 199 1263s # Combination 200 1263s # Combination 201 1263s # Combination 202 1263s # Combination 203 1263s # Combination 204 1263s # Combination 205 1263s # Combination 206 1263s # Combination 207 1263s # Combination 208 1263s # Combination 209 1263s # Combination 210 1263s # Combination 211 1263s # Combination 212 1263s # Combination 213 1263s # Combination 214 1263s # Combination 215 1263s # Combination 216 1263s # Combination 217 1263s # Combination 218 1263s # Combination 219 1263s # Combination 220 1263s # Combination 221 1263s # Combination 222 1263s # Combination 223 1263s # Combination 224 1263s # Combination 225 1263s # Combination 226 1263s # Combination 227 1263s # Combination 228 1263s # Combination 229 1263s # Combination 230 1263s # Combination 231 1263s # Combination 232 1263s # Combination 233 1263s # Combination 234 1263s # Combination 235 1263s # Combination 236 1263s # Combination 237 1263s # Combination 238 1263s # Combination 239 1263s # Combination 240 1263s # Combination 241 1263s # Combination 242 1263s # Combination 243 1263s # Combination 244 1263s # Combination 245 1263s # Combination 246 1263s # Combination 247 1263s # Combination 248 1263s # Combination 249 1263s # Combination 250 1263s # Combination 251 1263s # Combination 252 1263s # Combination 253 1263s # Combination 254 1263s # Combination 255 1263s ok 15 /uri/join-split-round-trip 1263s ok 16 /uri/normalize 1263s # Start of unescape-bytes tests 1263s # Test 0: %00%00 1263s # Test 1: /cursors/none.png 1263s # Test 2: /cursors%2fbad-subdir/none.png 1263s # Test 3: %% 1263s # Test 4: % 1263s ok 17 /uri/unescape-bytes/nul-terminated 1263s # Test 0: %00%00 1263s # Test 1: /cursors/none.png 1263s # Test 2: /cursors%2fbad-subdir/none.png 1263s # Test 3: %% 1263s # Test 4: % 1263s ok 18 /uri/unescape-bytes/length 1263s # End of unescape-bytes tests 1263s # Start of parsing tests 1263s # Test 0: foo: 1263s # Test 1: file:/dev/null 1263s # Test 2: file:///dev/null 1263s # Test 3: ftp://user@host/path 1263s # Test 4: ftp://user@host:9999/path 1263s # Test 5: ftp://user:password@host/path 1263s # Test 6: ftp://user:password@host:9999/path 1263s # Test 7: ftp://user:password@host 1263s # Test 8: http://us%65r@host 1263s # Test 9: http://us%40r@host 1263s # Test 10: http://us%3ar@host 1263s # Test 11: http://us%2fr@host 1263s # Test 12: http://us%3fr@host 1263s # Test 13: http://host?query 1263s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1263s # 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 1263s # Test 16: http://space/%20 1263s # Test 17: http://delims/%3C%3E%23%25%22 1263s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1263s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1263s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1263s # Test 21: http://[3ffe:2a00:100:7031::1] 1263s # Test 22: http://[1080::8:800:200C:417A]/foo 1263s # Test 23: http://[::192.9.5.5]/ipng 1263s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1263s # Test 25: http://[2010:836B:4179::836B:4179] 1263s # Test 26: http://host/path with spaces 1263s # Test 27: http://host/path 1263s # Test 28: http://host/path 1263s # Test 29: http://host 1263s # Test 30: http://host:999 1263s # Test 31: http://host/pa 1263s # th 1263s # Test 32: http: 1263s # //host/path 1263s # Test 33: http:// host/path 1263s # Test 34: http://host/path? 1263s # Test 35: http://host/path# 1263s # Test 36: http://host/path% 1263s # Test 37: http://h%ost/path 1263s # Test 38: http://host/path%% 1263s # Test 39: http://host/path%%% 1263s # Test 40: http://host/path%/x/ 1263s # Test 41: http://host/path%0x/ 1263s # Test 42: http://host/path%ax 1263s # Test 43: http://host/päth/ 1263s # Test 44: HTTP://////////////// 1263s # Test 45: http://@host 1263s # Test 46: http://:@host 1263s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1263s # Test 48: http://example.com/.. 1263s # Test 49: foo0://host/path 1263s # Test 50: f0.o://host/path 1263s # Test 51: http++://host/path 1263s # Test 52: http-ish://host/path 1263s # Test 53: http://[fe80::dead:beef%]/ 1263s # Test 54: http://[fe80::dead:beef%em1]/ 1263s # Test 55: http://[fe80::dead:beef%em1]/ 1263s # Test 56: http://[fe80::dead:beef%25em1]/ 1263s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1263s # Test 58: http://[fe80::dead:beef%25em%31]/ 1263s # Test 59: http://[fe80::dead:beef%10]/ 1263s # Test 60: http://[fe80::dead:beef%10]/ 1263s # Test 61: http://[fe80::dead:beef%25]/ 1263s # Test 62: http://[fe80::dead:beef%25]/ 1263s # Test 63: http://[192.168.0.1%25em1]/ 1263s # Test 64: http://[fe80::dead:beef%2em1]/ 1263s # Test 65: http://[fe80::dead:beef%2em1]/ 1263s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1263s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1263s # Test 68: http://xn--mixed-üp/ 1263s # Test 69: data:./// 1263s # Test 70: data:/.// 1263s ok 19 /uri/parsing/absolute 1263s ok - glib/uri.test 1263s # Running test: glib/timeout.test 1263s ok 20 /uri/parsing/relative 1263s # End of parsing tests 1263s # Start of iter-params tests 1263s # URI 0: p1=foo&p2=bar;p3=baz 1263s # URI 1: p1=foo&p2=bar 1263s # URI 2: p1=foo&&P1=bar 1263s # URI 3: %00=foo 1263s # URI 4: p1=%00 1263s # URI 5: p1=foo&p1=bar 1263s # URI 6: p1=foo&P1=bar 1263s # URI 7: =% 1263s # URI 8: = 1263s # URI 9: foo 1263s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1263s ok 21 /uri/iter-params/nul-terminated 1263s # URI 0: p1=foo&p2=bar;p3=baz 1263s # URI 1: p1=foo&p2=bar 1263s # URI 2: p1=foo&&P1=bar 1263s # URI 3: %00=foo 1263s # URI 4: p1=%00 1263s # URI 5: p1=foo&p1=bar 1263s # URI 6: p1=foo&P1=bar 1263s # URI 7: =% 1263s # URI 8: = 1263s # URI 9: foo 1263s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1263s ok 22 /uri/iter-params/length 1263s # End of iter-params tests 1263s # Start of parse-params tests 1263s # URI 0: p1=foo&p2=bar;p3=baz 1263s # URI 1: p1=foo&p2=bar 1263s # URI 2: p1=foo&&P1=bar 1263s # URI 3: %00=foo 1263s # URI 4: p1=%00 1263s # URI 5: p1=foo&p1=bar 1263s # URI 6: p1=foo&P1=bar 1263s # URI 7: =% 1263s # URI 8: = 1263s # URI 9: foo 1263s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1263s ok 23 /uri/parse-params/nul-terminated 1263s # URI 0: p1=foo&p2=bar;p3=baz 1263s # URI 1: p1=foo&p2=bar 1263s # URI 2: p1=foo&&P1=bar 1263s # URI 3: %00=foo 1263s # URI 4: p1=%00 1263s # URI 5: p1=foo&p1=bar 1263s # URI 6: p1=foo&P1=bar 1263s # URI 7: =% 1263s # URI 8: = 1263s # URI 9: foo 1263s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1263s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1263s ok 24 /uri/parse-params/length 1263s # End of parse-params tests 1263s # End of uri tests 1263s TAP version 14 1263s # random seed: R02S2f4f4d2b4b92fdfd3a15b90c60a32334 1263s 1..5 1263s # Start of timeout tests 1263s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1264s # Executing: glib/timeout.test 1265s ok 1 /timeout/seconds 1265s # slow test /timeout/seconds executed in 2.10 secs 1267s ok 2 /timeout/seconds-once 1267s # slow test /timeout/seconds-once executed in 2.10 secs 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1269s ok 3 /timeout/weeks-overflow 1269s # slow test /timeout/weeks-overflow executed in 2.10 secs 1269s ok 4 /timeout/far-future-ready-time 1269s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 1269s # End of timeout tests 1269s TAP version 14 1269s # random seed: R02S1a40490724af2383f57047622927784f 1269s 1..1 1269s # Start of gobject tests 1269s # Start of refcount tests 1269s # init 0x11ddfda0 1269s # 1269s ok - glib/timeout.test 1269s # Running test: glib/objects-refcount2.test 1269s # . 1269s # . 1269s # . 1269s # Executing: glib/objects-refcount2.test 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # Executing: glib/objects-refcount2.test 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # Executing: glib/objects-refcount2.test 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s ok - glib/objects-refcount2.test 1281s # Running test: glib/filenamecompleter.test 1281s # . 1281s # dispose 0x11ddfda0! 1281s # 1281s ok 1 /gobject/refcount/object-advanced 1281s # slow test /gobject/refcount/object-advanced executed in 12.12 secs 1281s # End of refcount tests 1281s # End of gobject tests 1281s TAP version 14 1281s # random seed: R02S6ae582637f3cb3e218f71fe72ed49113 1281s 1..1 1281s # Start of filenamecompleter tests 1281s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/home 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/cache 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/system-config2 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/config 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/system-data2 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/data 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/state 1281s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_DP79J3/filenamecompleter/basic/.dirs/runtime 1281s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1281s ok 1 /filenamecompleter/basic 1281s # End of filenamecompleter tests 1281s ok - glib/filenamecompleter.test 1281s # Running test: glib/singleton.test 1281s TAP version 14 1281s # random seed: R02S542d42513ed6f23a55b7ae113fd434d3 1281s 1..2 1281s # Start of gobject tests 1281s # Start of singleton tests 1281s ok 1 /gobject/singleton/construction 1281s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1281s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1281s ok 2 /gobject/singleton/construct-property 1281s # End of singleton tests 1281s # End of gobject tests 1281s ok - glib/singleton.test 1281s # Running test: glib/macros-c-11.test 1281s TAP version 14 1281s # random seed: R02Sf002749f297fab8521b83243baa571ec 1281s 1..4 1281s # Start of C tests 1281s # G_C_STD_VERSION is 201112 1281s ok 1 /C/standard-11 1281s # End of C tests 1281s # Start of alignof tests 1281s ok 2 /alignof/fallback 1281s # End of alignof tests 1281s # Start of assert tests 1281s ok 3 /assert/static 1281s # End of assert tests 1281s # Start of struct tests 1281s ok 4 /struct/sizeof_member 1281s # End of struct tests 1281s ok - glib/macros-c-11.test 1281s # Running test: glib/option-argv0.test 1281s TAP version 14 1281s # random seed: R02Sb1e327511d688fe6c91722a53a1a7951 1281s 1..1 1281s # Start of option tests 1281s ok 1 /option/argv0 1281s # End of option tests 1281s ok - glib/option-argv0.test 1281s # Running test: glib/memory-monitor-dbus.test 1282s TAP version 13 1282s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1282s 1..1 1282s ok - glib/memory-monitor-dbus.test 1282s # Running test: glib/macros-c-99.test 1282s ok - glib/macros-c-99.test 1282s # Running test: glib/markup-escape.test 1282s ok - glib/markup-escape.test 1282s TAP version 14 1282s # random seed: R02S3acdd7bb729d501a44e82ef9b7009661 1282s 1..4 1282s # Start of C tests 1282s # G_C_STD_VERSION is 199901 1282s ok 1 /C/standard-99 1282s # End of C tests 1282s # Start of alignof tests 1282s ok 2 /alignof/fallback 1282s # End of alignof tests 1282s # Start of assert tests 1282s ok 3 /assert/static 1282s # End of assert tests 1282s # Start of struct tests 1282s ok 4 /struct/sizeof_member 1282s # End of struct tests 1282s TAP version 14 1282s # random seed: R02Sbc3957426d41c513d167f2ad7d5aa4b3 1282s 1..41 1282s # Start of markup tests 1282s ok 1 /markup/format 1282s # Start of escape-text tests 1282s ok 2 /markup/escape-text/0 1282s ok 3 /markup/escape-text/1 1282s ok 4 /markup/escape-text/2 1282s ok 5 /markup/escape-text/3 1282s ok 6 /markup/escape-text/4 1282s ok 7 /markup/escape-text/5 1282s ok 8 /markup/escape-text/6 1282s ok 9 /markup/escape-text/7 1282s ok 10 /markup/escape-text/8 1282s ok 11 /markup/escape-text/9 1282s ok 12 /markup/escape-text/10 1282s ok 13 /markup/escape-text/11 1282s ok 14 /markup/escape-text/12 1282s ok 15 /markup/escape-text/13 1282s ok 16 /markup/escape-text/14 1282s ok 17 /markup/escape-text/15 1282s ok 18 /markup/escape-text/16 1282s ok 19 /markup/escape-text/17 1282s ok 20 /markup/escape-text/18 1282s ok 21 /markup/escape-text/19 1282s ok 22 /markup/escape-text/20 1282s ok 23 /markup/escape-text/21 1282s ok 24 /markup/escape-text/22 1282s # End of escape-text tests 1282s # Start of escape-unichar tests 1282s ok 25 /markup/escape-unichar/0 1282s ok 26 /markup/escape-unichar/1 1282s ok 27 /markup/escape-unichar/2 1282s ok 28 /markup/escape-unichar/3 1282s ok 29 /markup/escape-unichar/4 1282s ok 30 /markup/escape-unichar/5 1282s ok 31 /markup/escape-unichar/6 1282s ok 32 /markup/escape-unichar/7 1282s # Running test: glib/cmph-bdz.test 1282s ok - glib/cmph-bdz.test 1282s # Running test: glib/proxy-test.test 1282s ok - glib/proxy-test.test 1282s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1282s ok 33 /markup/escape-unichar/8 1282s ok 34 /markup/escape-unichar/9 1282s ok 35 /markup/escape-unichar/10 1282s ok 36 /markup/escape-unichar/11 1282s ok 37 /markup/escape-unichar/12 1282s ok 38 /markup/escape-unichar/13 1282s ok 39 /markup/escape-unichar/14 1282s ok 40 /markup/escape-unichar/15 1282s ok 41 /markup/escape-unichar/16 1282s # End of escape-unichar tests 1282s # End of markup tests 1282s TAP version 14 1282s # random seed: R02Sc25cc60340d56cb4621239c15987804f 1282s 1..2 1282s # Start of cmph-bdz tests 1282s ok 1 /cmph-bdz/search 1282s ok 2 /cmph-bdz/search-packed 1282s # End of cmph-bdz tests 1282s TAP version 14 1282s # random seed: R02S9058184a67ef82049b1a15c66e6ba47e 1282s 1..11 1282s # Start of proxy tests 1282s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1282s ok 1 /proxy/direct_sync 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba08d8 and GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba1640 for GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s ok 2 /proxy/direct_async 1282s ok 3 /proxy/single_sync 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba11b8 and GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s ok 4 /proxy/single_async 1282s ok 5 /proxy/multiple_sync 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba13c8 and GSocketClientAsyncConnectData 0x2ba14d8 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2ba14d8 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba1488 for GSocketClientAsyncConnectData 0x2ba14d8 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s ok 6 /proxy/multiple_async 1282s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1282s ok 7 /proxy/invalid-uris-sync 1282s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba1120 and GSocketClientAsyncConnectData 0x2ba1258 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1282s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1282s ok - glib/gdbus-test-codegen-min-required-2-64.test 1282s # Running test: glib/once.test 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba11b8 and GSocketClientAsyncConnectData 0x2ba2530 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1282s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba1120 and GSocketClientAsyncConnectData 0x2ba1258 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2ba1258 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba11b8 and GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s ok 8 /proxy/invalid-uris-async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba08d8 and GSocketClientAsyncConnectData 0x2ba1448 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1282s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1282s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba2838 and GSocketClientAsyncConnectData 0x2ba1258 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba22c8 for GSocketClientAsyncConnectData 0x2ba1258 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1282s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba1120 and GSocketClientAsyncConnectData 0x2ba1448 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba22c8 for GSocketClientAsyncConnectData 0x2ba1448 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s ok 9 /proxy/dns 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba1120 and GSocketClientAsyncConnectData 0x2ba1448 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2ba1448 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1282s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba2838 and GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2ba1120 and GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2ba2308 for GSocketClientAsyncConnectData 0x2b9f288 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1282s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1282s ok 10 /proxy/override 1282s ok 11 /proxy/enumerator-ports 1282s # End of proxy tests 1282s TAP version 14 1282s # random seed: R02Sc1044e76c9fae5f7461045c27877d8da 1282s 1..8 1282s # Start of gdbus tests 1282s # Start of codegen tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/annotations/.dirs/runtime 1282s ok 1 /gdbus/codegen/annotations 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/interface_stability/.dirs/runtime 1282s ok 2 /gdbus/codegen/interface_stability 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/object-manager/.dirs/runtime 1282s ok 3 /gdbus/codegen/object-manager 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/property-naming/.dirs/runtime 1282s ok 4 /gdbus/codegen/property-naming 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/autocleanups/.dirs/runtime 1282s ok 5 /gdbus/codegen/autocleanups 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/deprecations/.dirs/runtime 1282s ok 6 /gdbus/codegen/deprecations 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1282s ok 7 /gdbus/codegen/standalone-interface-info 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6EZFK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1282s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1282s ok 8 /gdbus/codegen/unix-fd-list 1282s # End of codegen tests 1282s # End of gdbus tests 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s TAP version 14 1282s # random seed: R02Sd98263dbb54e57bce738b38b14f20136 1282s 1..5 1282s # Start of once tests 1282s # /once/single-threaded summary: Test g_once() usage from a single thread 1282s ok 1 /once/single-threaded 1282s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1282s ok 2 /once/multi-threaded 1282s # End of once tests 1282s # Start of once-init tests 1282s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1282s ok 3 /once-init/single-threaded 1282s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1282s ok 4 /once-init/multi-threaded 1282s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1282s ok 5 /once-init/string 1282s # End of once-init tests 1282s TAP version 14 1282s # random seed: R02S4fb2eb3ca1962493fbe64cb8910d5e67 1282s 1..34 1282s # Start of hash tests 1282s ok - glib/once.test 1282s # Running test: glib/hash.test 1282s ok 1 /hash/misc 1282s ok 2 /hash/one 1282s ok 3 /hash/honeyman 1282s ok 4 /hash/direct 1282s ok 5 /hash/direct2 1282s ok 6 /hash/int 1282s ok 7 /hash/int64 1282s ok 8 /hash/double 1282s ok 9 /hash/string 1282s ok 10 /hash/set 1282s ok 11 /hash/set-ref 1282s ok 12 /hash/ref 1282s ok 13 /hash/remove-all 1282s ok 14 /hash/recursive-remove-all 1282s ok 15 /hash/find 1282s ok 16 /hash/foreach 1282s ok 17 /hash/foreach-steal 1282s ok 18 /hash/steal-extended 1282s ok 19 /hash/steal-all-keys 1282s ok 20 /hash/steal-all-values 1282s ok 21 /hash/lookup-extended 1282s ok 22 /hash/new-similar 1282s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1282s ok 23 /hash/lookup-null-key 1282s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1282s ok 24 /hash/destroy-modify 1282s ok 25 /hash/consistency 1282s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1282s ok 26 /hash/iter-replace 1282s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1282s ok 27 /hash/set-insert-corruption 1282s ok 28 /hash/set-to-strv 1282s ok 29 /hash/get-keys-as-ptr-array 1282s ok 30 /hash/get-values-as-ptr-array 1282s ok 31 /hash/primes 1282s # Start of int64 tests 1282s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1282s ok 32 /hash/int64/collisions 1282s # End of int64 tests 1282s # Start of double tests 1282s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1282s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1282s ok 33 /hash/double/collisions 1282s # End of double tests 1282s # Start of recursive-remove-all tests 1282s # End of recursive-remove-all tests 1282s # Start of steal-extended tests 1282s ok 34 /hash/steal-extended/optional 1282s # End of steal-extended tests 1282s # End of hash tests 1282s ok - glib/hash.test 1282s # Running test: glib/deftype.test 1282s ok - glib/deftype.test 1282s # Running test: glib/defaultiface.test 1282s TAP version 14 1282s # random seed: R02Sb65cf6c61d9f3793fe48d59cfc9ce8b0 1282s 1..2 1282s # Start of gobject tests 1282s ok 1 /gobject/static-iface 1282s ok 2 /gobject/dynamic-iface 1282s # End of gobject tests 1282s ok - glib/defaultiface.test 1282s # Running test: glib/gdbus-proxy-well-known-name.test 1282s TAP version 14 1282s # random seed: R02Sea2d2a59d1856a628c414084fbf9260e 1282s 1..1 1282s # Start of gdbus tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_DZ3IK3/gdbus/proxy-well-known-name/.dirs/runtime 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s ok 1 /gdbus/proxy-well-known-name 1282s # End of gdbus tests 1282s ok - glib/gdbus-proxy-well-known-name.test 1282s # Running test: glib/gdbus-bz627724.test 1282s TAP version 14 1282s # random seed: R02Sb9d6063d9d13908d4843b80c0fdb2f34 1282s 1..1 1282s # Start of gdbus tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_KIHIK3/gdbus/bz627724/.dirs/runtime 1282s ok - glib/gdbus-bz627724.test 1282s # Running test: glib/g-icon.test 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s ok 1 /gdbus/bz627724 1282s # End of gdbus tests 1282s ok - glib/g-icon.test 1282s # Running test: glib/slist.test 1282s ok - glib/slist.test 1282s TAP version 14 1282s # random seed: R02S96cdd9e87a8c3720bd1bb78a8c0c2b53 1282s 1..7 1282s # Start of icons tests 1282s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1282s ok 1 /icons/to-string 1282s ok 2 /icons/serialize 1282s ok 3 /icons/themed 1282s ok 4 /icons/emblemed 1282s # Running test: glib/autoptr-gio.test 1282s ok 5 /icons/file 1282s ok 6 /icons/bytes 1282s # Start of emblem tests 1282s ok 7 /icons/emblem/parsing 1282s # End of emblem tests 1282s # End of icons tests 1282s TAP version 14 1282s # random seed: R02S2b37a0e94d66c7a04a48e92e9ac6b797 1282s 1..14 1282s # Start of slist tests 1282s ok 1 /slist/sort 1282s ok 2 /slist/sort-with-data 1282s ok 3 /slist/insert-sorted 1282s ok 4 /slist/insert-sorted-with-data 1282s ok 5 /slist/reverse 1282s ok 6 /slist/nth 1282s ok 7 /slist/remove 1282s ok 8 /slist/remove-all 1282s ok 9 /slist/insert 1282s ok 10 /slist/position 1282s ok 11 /slist/concat 1282s ok 12 /slist/copy 1282s # Start of sort tests 1282s ok 13 /slist/sort/stable 1282s # End of sort tests 1282s # Start of copy tests 1282s ok 14 /slist/copy/deep 1282s # End of copy tests 1282s # End of slist tests 1282s ok - glib/autoptr-gio.test 1282s # Running test: glib/include.test 1282s ok - glib/include.test 1282s TAP version 14 1282s # random seed: R02S5b128468ae0869a7e48acc8d5f39471b 1282s 1..1 1282s # Start of autoptr tests 1282s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1282s ok 1 /autoptr/autoptr 1282s # End of autoptr tests 1282s # Running test: glib/autoptr.test 1282s ok - glib/autoptr.test 1282s TAP version 14 1282s # random seed: R02S34fceaebb223098a64debe0f03153f60 1282s 1..1 1282s # Start of include tests 1282s ok 1 /include/rwlock 1282s # End of include tests 1282s # Running test: glib/gdbus-peer-object-manager.test 1282s TAP version 14 1282s # random seed: R02Saf106c5962c1f34a4c6767e013fbd209 1282s 1..6 1282s # Start of autoptr tests 1282s ok 1 /autoptr/autoptr 1282s ok 2 /autoptr/autoptr_steal 1282s ok 3 /autoptr/autolist 1282s ok 4 /autoptr/autoslist 1282s ok 5 /autoptr/autoqueue 1282s ok 6 /autoptr/autoclass 1282s # End of autoptr tests 1282s TAP version 14 1282s # random seed: R02S674a313fff783ebc9056ee0164dd7d1c 1282s 1..2 1282s # Start of gdbus tests 1282s # Start of peer-object-manager tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/normal/.dirs/runtime 1282s ok 1 /gdbus/peer-object-manager/normal 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_A8SHK3/gdbus/peer-object-manager/root/.dirs/runtime 1282s ok - glib/gdbus-peer-object-manager.test 1282s # Running test: glib/basics-gobject.test 1282s ok 2 /gdbus/peer-object-manager/root 1282s # End of peer-object-manager tests 1282s # End of gdbus tests 1282s ok - glib/basics-gobject.test 1282s TAP version 14 1282s # random seed: R02S825cf6e4b6d937b901e3b7cd1f4df175 1282s 1..1 1282s # Start of gobject tests 1282s # private data during initialization: 54321 == 54321 1282s # MAIN: emit test-signal: 1282s # ::test_signal default_handler called 1282s # ::test_signal default_handler called 1282s # ::test_signal default_handler called 1282s # signal return: "" 1282s # MAIN: call iface print-string on test and derived object: 1282s # Iface-FOO: "iface-string-from-test-type" from 0x73a6498 1282s # Iface-BAR: "iface-string-from-derived-type" from 0x73a6370 1282s # chaining: 1282s # Iface-FOO: "iface-string-from-derived-type" from 0x73a6370 1282s # private data after initialization: 54321 == 54321 1282s ok 1 /gobject/basics 1282s # End of gobject tests 1282s # Running test: glib/test-printf.test 1282s TAP version 14 1282s # random seed: R02Se3ae682cefe5434248bd6120696e80d1 1282s 1..24 1282s # Start of snprintf tests 1282s ok 1 /snprintf/retval-and-trunc 1282s ok 2 /snprintf/%d 1282s ok 3 /snprintf/%d-invalid 1282s ok 4 /snprintf/%o 1282s ok 5 /snprintf/%u 1282s ok 6 /snprintf/%x 1282s ok 7 /snprintf/%X 1282s ok 8 /snprintf/%f 1282s ok 9 /snprintf/%e 1282s ok 10 /snprintf/%c 1282s ok 11 /snprintf/%s 1282s ok 12 /snprintf/%n 1282s ok 13 /snprintf/test-percent 1282s ok 14 /snprintf/test-positional-params 1282s ok 15 /snprintf/test-64bit 1282s ok 16 /snprintf/produce-embedded-nulls 1282s # End of snprintf tests 1282s # Start of printf tests 1282s ok 17 /printf/test-percent 1282s ok 18 /printf/test-positional-params 1282s ok 19 /printf/test-64bit 1282s # Start of test-64bit tests 1282s # Start of subprocess tests 1282s # End of subprocess tests 1282s # End of test-64bit tests 1282s # End of printf tests 1282s # Start of fprintf tests 1282s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1282s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1282s ok 20 /fprintf/produce-embedded-nulls 1282s # End of fprintf tests 1282s # Start of sprintf tests 1282s ok 21 /sprintf/test-positional-params 1282s ok 22 /sprintf/upper-bound 1282s # End of sprintf tests 1282s # Start of vasprintf tests 1282s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1282s ok 23 /vasprintf/invalid-format-placeholder 1282s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1282s ok 24 /vasprintf/invalid-wide-string 1282s # End of vasprintf tests 1282s ok - glib/test-printf.test 1282s # Running test: glib/pollable.test 1282s TAP version 14 1282s # random seed: R02S1ae592cc149611ec8a8b0c4ef0c97082 1282s 1..6 1282s # Start of pollable tests 1282s ok 1 /pollable/converter 1282s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1282s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5b8618 and GSocketClientAsyncConnectData 0xc5b5870 1282s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1282s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1282s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5bc1f0 for GSocketClientAsyncConnectData 0xc5b5870 1282s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1282s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1282s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1282s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1282s ok 2 /pollable/socket 1282s # Start of unix tests 1282s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1282s ok 3 /pollable/unix/pipe 1282s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1282s ok - glib/pollable.test 1282s ok 4 /pollable/unix/pty 1282s # /pollable/unix/file summary: Test that regular files are not considered pollable 1282s ok 5 /pollable/unix/file 1282s # /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 1282s ok 6 /pollable/unix/nulldev 1282s # End of unix tests 1282s # End of pollable tests 1282s # Running test: glib/resolver-parsing.test 1282s TAP version 14 1282s # random seed: R02S5e8b5f68a877a66edc7973e7926322c1 1282s 1..21 1282s # Start of gresolver tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/invalid-header/.dirs/runtime 1282s ok 1 /gresolver/invalid-header 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/record-ownership/.dirs/runtime 1282s ok 2 /gresolver/record-ownership 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/unknown-record-type/.dirs/runtime 1282s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1282s ok 3 /gresolver/unknown-record-type 1282s # Start of mx tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/valid/.dirs/runtime 1282s ok 4 /gresolver/mx/valid 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/.dirs/runtime 1282s ok 5 /gresolver/mx/invalid 1282s # Start of invalid tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short/.dirs/runtime 1282s ok 6 /gresolver/mx/invalid/too-short 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/mx/invalid/too-short2/.dirs/runtime 1282s ok 7 /gresolver/mx/invalid/too-short2 1282s # End of invalid tests 1282s # End of mx tests 1282s # Start of ns tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/valid/.dirs/runtime 1282s ok 8 /gresolver/ns/valid 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/ns/invalid/.dirs/runtime 1282s ok 9 /gresolver/ns/invalid 1282s # End of ns tests 1282s # Start of soa tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/valid/.dirs/runtime 1282s ok 10 /gresolver/soa/valid 1282s # Start of invalid tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/mname/.dirs/runtime 1282s ok - glib/resolver-parsing.test 1282s # Running test: glib/properties-refcount3.test 1282s ok 11 /gresolver/soa/invalid/mname 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/rname/.dirs/runtime 1282s ok 12 /gresolver/soa/invalid/rname 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/soa/invalid/too-short/.dirs/runtime 1282s ok 13 /gresolver/soa/invalid/too-short 1282s # End of invalid tests 1282s # End of soa tests 1282s # Start of srv tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/valid/.dirs/runtime 1282s ok 14 /gresolver/srv/valid 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/.dirs/runtime 1282s ok 15 /gresolver/srv/invalid 1282s # Start of invalid tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short/.dirs/runtime 1282s ok 16 /gresolver/srv/invalid/too-short 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/srv/invalid/too-short2/.dirs/runtime 1282s ok 17 /gresolver/srv/invalid/too-short2 1282s # End of invalid tests 1282s # End of srv tests 1282s # Start of txt tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/.dirs/runtime 1282s ok 18 /gresolver/txt/valid 1282s # Start of valid tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1282s ok 19 /gresolver/txt/valid/multiple-strings 1282s # End of valid tests 1282s # Start of invalid tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/empty/.dirs/runtime 1282s ok 20 /gresolver/txt/invalid/empty 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RKPMK3/gresolver/txt/invalid/overflow/.dirs/runtime 1282s ok 21 /gresolver/txt/invalid/overflow 1282s # End of invalid tests 1282s # End of txt tests 1282s # End of gresolver tests 1282s TAP version 14 1282s # random seed: R02S61fccd36d3a510486c44a5f2936e6eb7 1282s 1..1 1282s # Start of gobject tests 1282s # Start of refcount tests 1284s # Executing: glib/properties-refcount3.test 1289s # Executing: glib/properties-refcount3.test 1294s # Executing: glib/properties-refcount3.test 1299s # Executing: glib/properties-refcount3.test 1304s # Executing: glib/properties-refcount3.test 1309s # Executing: glib/properties-refcount3.test 1312s # 1312s # stopping 1312s # 1312s # stopped 1312s # 1312s # 12671205 312171 1312s # 1312s ok 1 /gobject/refcount/properties-3 1312s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1312s # End of refcount tests 1312s # End of gobject tests 1312s ok - glib/properties-refcount3.test 1312s # Running test: glib/file-enumerator.test 1312s TAP version 14 1312s # random seed: R02Scc6ab40fabe9a0ed683b73275b0cedfb 1312s 1..1 1312s # Start of file-enumerator tests 1312s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1312s ok 1 /file-enumerator/close-on-dispose 1312s # End of file-enumerator tests 1312s ok - glib/file-enumerator.test 1312s # Running test: glib/shell.test 1312s TAP version 14 1312s # random seed: R02S55b4a8d02bc70c3f9dd26a66239d09b5 1312s 1..52 1312s # Start of shell tests 1312s # Start of cmdline tests 1312s test cmdline: foo bar 1312s ok 1 /shell/cmdline/0 1312s test cmdline: foo 'bar' 1312s ok 2 /shell/cmdline/1 1312s test cmdline: foo "bar" 1312s ok 3 /shell/cmdline/2 1312s test cmdline: foo '' 'bar' 1312s ok 4 /shell/cmdline/3 1312s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1312s ok 5 /shell/cmdline/4 1312s test cmdline: foo blah foo bar baz 1312s ok 6 /shell/cmdline/5 1312s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1312s ok 7 /shell/cmdline/6 1312s test cmdline: foo \ 1312s bar 1312s ok 8 /shell/cmdline/7 1312s test cmdline: foo '' '' 1312s ok 9 /shell/cmdline/8 1312s test cmdline: foo \" la la la 1312s ok 10 /shell/cmdline/9 1312s test cmdline: foo \ foo woo woo\ 1312s ok 11 /shell/cmdline/10 1312s test cmdline: foo "yada yada \$\"" 1312s ok 12 /shell/cmdline/11 1312s test cmdline: foo "c:\\" 1312s ok 13 /shell/cmdline/12 1312s test cmdline: foo # bla bla bla 1312s bar 1312s ok 14 /shell/cmdline/13 1312s test cmdline: foo a#b 1312s ok 15 /shell/cmdline/14 1312s test cmdline: #foo 1312s ok 16 /shell/cmdline/15 1312s test cmdline: foo bar \ 1312s ok 17 /shell/cmdline/16 1312s test cmdline: foo 'bar baz 1312s ok 18 /shell/cmdline/17 1312s test cmdline: foo '"bar" baz 1312s ok 19 /shell/cmdline/18 1312s test cmdline: 1312s ok 20 /shell/cmdline/19 1312s test cmdline: 1312s ok 21 /shell/cmdline/20 1312s test cmdline: # foo bar 1312s ok 22 /shell/cmdline/21 1312s test cmdline: # 1312s ok 23 /shell/cmdline/22 1312s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1312s ok 24 /shell/cmdline/23 1312s # End of cmdline tests 1312s # Start of quote tests 1312s ok 25 /shell/quote/0 1312s ok 26 /shell/quote/1 1312s ok 27 /shell/quote/2 1312s ok 28 /shell/quote/3 1312s ok 29 /shell/quote/4 1312s ok 30 /shell/quote/5 1312s ok - glib/shell.test 1312s # Running test: glib/checksum.test 1312s ok 31 /shell/quote/6 1312s # End of quote tests 1312s # Start of unquote tests 1312s ok 32 /shell/unquote/0 1312s ok 33 /shell/unquote/1 1312s ok 34 /shell/unquote/2 1312s ok 35 /shell/unquote/3 1312s ok 36 /shell/unquote/4 1312s ok 37 /shell/unquote/5 1312s ok 38 /shell/unquote/6 1312s ok 39 /shell/unquote/7 1312s ok 40 /shell/unquote/8 1312s ok 41 /shell/unquote/9 1312s ok 42 /shell/unquote/10 1312s ok 43 /shell/unquote/11 1312s ok 44 /shell/unquote/12 1312s ok 45 /shell/unquote/13 1312s ok 46 /shell/unquote/14 1312s ok 47 /shell/unquote/15 1312s ok 48 /shell/unquote/16 1312s ok 49 /shell/unquote/17 1312s ok 50 /shell/unquote/18 1312s ok 51 /shell/unquote/19 1312s ok 52 /shell/unquote/20 1312s # End of unquote tests 1312s # End of shell tests 1312s TAP version 14 1312s # random seed: R02Se2b29d09b6b9b0c378e2521fc776085d 1312s 1..1851 1312s # Start of checksum tests 1312s ok 1 /checksum/unsupported 1312s # Start of MD5 tests 1312s ok 2 /checksum/MD5/0 1312s ok 3 /checksum/MD5/1 1312s ok 4 /checksum/MD5/2 1312s ok 5 /checksum/MD5/3 1312s ok 6 /checksum/MD5/4 1312s ok 7 /checksum/MD5/5 1312s ok 8 /checksum/MD5/6 1312s ok 9 /checksum/MD5/7 1312s ok 10 /checksum/MD5/8 1312s ok 11 /checksum/MD5/9 1312s ok 12 /checksum/MD5/10 1312s ok 13 /checksum/MD5/11 1312s ok 14 /checksum/MD5/12 1312s ok 15 /checksum/MD5/13 1312s ok 16 /checksum/MD5/14 1312s ok 17 /checksum/MD5/15 1312s ok 18 /checksum/MD5/16 1312s ok 19 /checksum/MD5/17 1312s ok 20 /checksum/MD5/18 1312s ok 21 /checksum/MD5/19 1312s ok 22 /checksum/MD5/20 1312s ok 23 /checksum/MD5/21 1312s ok 24 /checksum/MD5/22 1312s ok 25 /checksum/MD5/23 1312s ok 26 /checksum/MD5/24 1312s ok 27 /checksum/MD5/25 1312s ok 28 /checksum/MD5/26 1312s ok 29 /checksum/MD5/27 1312s ok 30 /checksum/MD5/28 1312s ok 31 /checksum/MD5/29 1312s ok 32 /checksum/MD5/30 1312s ok 33 /checksum/MD5/31 1312s ok 34 /checksum/MD5/32 1312s ok 35 /checksum/MD5/33 1312s ok 36 /checksum/MD5/34 1312s ok 37 /checksum/MD5/35 1312s ok 38 /checksum/MD5/36 1312s ok 39 /checksum/MD5/37 1312s ok 40 /checksum/MD5/38 1312s ok 41 /checksum/MD5/39 1312s ok 42 /checksum/MD5/40 1312s ok 43 /checksum/MD5/41 1312s ok 44 /checksum/MD5/42 1312s ok 45 /checksum/MD5/43 1312s ok 46 /checksum/MD5/44 1312s ok 47 /checksum/MD5/45 1312s ok 48 /checksum/MD5/46 1312s ok 49 /checksum/MD5/47 1312s ok 50 /checksum/MD5/48 1312s ok 51 /checksum/MD5/49 1312s ok 52 /checksum/MD5/50 1312s ok 53 /checksum/MD5/51 1312s ok 54 /checksum/MD5/52 1312s ok 55 /checksum/MD5/53 1312s ok 56 /checksum/MD5/54 1312s ok 57 /checksum/MD5/55 1312s ok 58 /checksum/MD5/56 1312s ok 59 /checksum/MD5/57 1312s ok 60 /checksum/MD5/58 1312s ok 61 /checksum/MD5/59 1312s ok 62 /checksum/MD5/60 1312s ok 63 /checksum/MD5/61 1312s ok 64 /checksum/MD5/62 1312s ok 65 /checksum/MD5/63 1312s ok 66 /checksum/MD5/64 1312s ok 67 /checksum/MD5/65 1312s ok 68 /checksum/MD5/66 1312s ok 69 /checksum/MD5/67 1312s ok 70 /checksum/MD5/68 1312s ok 71 /checksum/MD5/69 1312s ok 72 /checksum/MD5/70 1312s ok 73 /checksum/MD5/71 1312s ok 74 /checksum/MD5/72 1312s ok 75 /checksum/MD5/73 1312s ok 76 /checksum/MD5/74 1312s ok 77 /checksum/MD5/75 1312s ok 78 /checksum/MD5/76 1312s ok 79 /checksum/MD5/77 1312s ok 80 /checksum/MD5/78 1312s ok 81 /checksum/MD5/79 1312s ok 82 /checksum/MD5/80 1312s ok 83 /checksum/MD5/81 1312s ok 84 /checksum/MD5/82 1312s ok 85 /checksum/MD5/83 1312s ok 86 /checksum/MD5/84 1312s ok 87 /checksum/MD5/85 1312s ok 88 /checksum/MD5/86 1312s ok 89 /checksum/MD5/87 1312s ok 90 /checksum/MD5/88 1312s ok 91 /checksum/MD5/89 1312s ok 92 /checksum/MD5/90 1312s ok 93 /checksum/MD5/91 1312s ok 94 /checksum/MD5/92 1312s ok 95 /checksum/MD5/93 1312s ok 96 /checksum/MD5/94 1312s ok 97 /checksum/MD5/95 1312s ok 98 /checksum/MD5/96 1312s ok 99 /checksum/MD5/97 1312s ok 100 /checksum/MD5/98 1312s ok 101 /checksum/MD5/99 1312s ok 102 /checksum/MD5/100 1312s ok 103 /checksum/MD5/101 1312s ok 104 /checksum/MD5/102 1312s ok 105 /checksum/MD5/103 1312s ok 106 /checksum/MD5/104 1312s ok 107 /checksum/MD5/105 1312s ok 108 /checksum/MD5/106 1312s ok 109 /checksum/MD5/107 1312s ok 110 /checksum/MD5/108 1312s ok 111 /checksum/MD5/109 1312s ok 112 /checksum/MD5/110 1312s ok 113 /checksum/MD5/111 1312s ok 114 /checksum/MD5/112 1312s ok 115 /checksum/MD5/113 1312s ok 116 /checksum/MD5/114 1312s ok 117 /checksum/MD5/115 1312s ok 118 /checksum/MD5/116 1312s ok 119 /checksum/MD5/117 1312s ok 120 /checksum/MD5/118 1312s ok 121 /checksum/MD5/119 1312s ok 122 /checksum/MD5/120 1312s ok 123 /checksum/MD5/121 1312s ok 124 /checksum/MD5/122 1312s ok 125 /checksum/MD5/123 1312s ok 126 /checksum/MD5/124 1312s ok 127 /checksum/MD5/125 1312s ok 128 /checksum/MD5/126 1312s ok 129 /checksum/MD5/127 1312s ok 130 /checksum/MD5/128 1312s ok 131 /checksum/MD5/129 1312s ok 132 /checksum/MD5/130 1312s ok 133 /checksum/MD5/131 1312s ok 134 /checksum/MD5/132 1312s ok 135 /checksum/MD5/133 1312s ok 136 /checksum/MD5/134 1312s ok 137 /checksum/MD5/135 1312s ok 138 /checksum/MD5/136 1312s ok 139 /checksum/MD5/137 1312s ok 140 /checksum/MD5/138 1312s ok 141 /checksum/MD5/139 1312s ok 142 /checksum/MD5/140 1312s ok 143 /checksum/MD5/141 1312s ok 144 /checksum/MD5/142 1312s ok 145 /checksum/MD5/143 1312s ok 146 /checksum/MD5/144 1312s ok 147 /checksum/MD5/145 1312s ok 148 /checksum/MD5/146 1312s ok 149 /checksum/MD5/147 1312s ok 150 /checksum/MD5/148 1312s ok 151 /checksum/MD5/149 1312s ok 152 /checksum/MD5/150 1312s ok 153 /checksum/MD5/151 1312s ok 154 /checksum/MD5/152 1312s ok 155 /checksum/MD5/153 1312s ok 156 /checksum/MD5/154 1312s ok 157 /checksum/MD5/155 1312s ok 158 /checksum/MD5/156 1312s ok 159 /checksum/MD5/157 1312s ok 160 /checksum/MD5/158 1312s ok 161 /checksum/MD5/159 1312s ok 162 /checksum/MD5/160 1312s ok 163 /checksum/MD5/161 1312s ok 164 /checksum/MD5/162 1312s ok 165 /checksum/MD5/163 1312s ok 166 /checksum/MD5/164 1312s ok 167 /checksum/MD5/165 1312s ok 168 /checksum/MD5/166 1312s ok 169 /checksum/MD5/167 1312s ok 170 /checksum/MD5/168 1312s ok 171 /checksum/MD5/169 1312s ok 172 /checksum/MD5/170 1312s ok 173 /checksum/MD5/171 1312s ok 174 /checksum/MD5/172 1312s ok 175 /checksum/MD5/173 1312s ok 176 /checksum/MD5/174 1312s ok 177 /checksum/MD5/175 1312s ok 178 /checksum/MD5/176 1312s ok 179 /checksum/MD5/177 1312s ok 180 /checksum/MD5/178 1312s ok 181 /checksum/MD5/179 1312s ok 182 /checksum/MD5/180 1312s ok 183 /checksum/MD5/181 1312s ok 184 /checksum/MD5/182 1312s ok 185 /checksum/MD5/183 1312s ok 186 /checksum/MD5/string 1312s ok 187 /checksum/MD5/bytes 1312s # Start of reset tests 1312s ok 188 /checksum/MD5/reset/0 1312s ok 189 /checksum/MD5/reset/1 1312s ok 190 /checksum/MD5/reset/2 1312s ok 191 /checksum/MD5/reset/3 1312s ok 192 /checksum/MD5/reset/4 1312s ok 193 /checksum/MD5/reset/5 1312s ok 194 /checksum/MD5/reset/6 1312s ok 195 /checksum/MD5/reset/7 1312s ok 196 /checksum/MD5/reset/8 1312s ok 197 /checksum/MD5/reset/9 1312s ok 198 /checksum/MD5/reset/10 1312s ok 199 /checksum/MD5/reset/11 1312s ok 200 /checksum/MD5/reset/12 1312s ok 201 /checksum/MD5/reset/13 1312s ok 202 /checksum/MD5/reset/14 1312s ok 203 /checksum/MD5/reset/15 1312s ok 204 /checksum/MD5/reset/16 1312s ok 205 /checksum/MD5/reset/17 1312s ok 206 /checksum/MD5/reset/18 1312s ok 207 /checksum/MD5/reset/19 1312s ok 208 /checksum/MD5/reset/20 1312s ok 209 /checksum/MD5/reset/21 1312s ok 210 /checksum/MD5/reset/22 1312s ok 211 /checksum/MD5/reset/23 1312s ok 212 /checksum/MD5/reset/24 1312s ok 213 /checksum/MD5/reset/25 1312s ok 214 /checksum/MD5/reset/26 1312s ok 215 /checksum/MD5/reset/27 1312s ok 216 /checksum/MD5/reset/28 1312s ok 217 /checksum/MD5/reset/29 1312s ok 218 /checksum/MD5/reset/30 1312s ok 219 /checksum/MD5/reset/31 1312s ok 220 /checksum/MD5/reset/32 1312s ok 221 /checksum/MD5/reset/33 1312s ok 222 /checksum/MD5/reset/34 1312s ok 223 /checksum/MD5/reset/35 1312s ok 224 /checksum/MD5/reset/36 1312s ok 225 /checksum/MD5/reset/37 1312s ok 226 /checksum/MD5/reset/38 1312s ok 227 /checksum/MD5/reset/39 1312s ok 228 /checksum/MD5/reset/40 1312s ok 229 /checksum/MD5/reset/41 1312s ok 230 /checksum/MD5/reset/42 1312s ok 231 /checksum/MD5/reset/43 1312s ok 232 /checksum/MD5/reset/44 1312s ok 233 /checksum/MD5/reset/45 1312s ok 234 /checksum/MD5/reset/46 1312s ok 235 /checksum/MD5/reset/47 1312s ok 236 /checksum/MD5/reset/48 1312s ok 237 /checksum/MD5/reset/49 1312s ok 238 /checksum/MD5/reset/50 1312s ok 239 /checksum/MD5/reset/51 1312s ok 240 /checksum/MD5/reset/52 1312s ok 241 /checksum/MD5/reset/53 1312s ok 242 /checksum/MD5/reset/54 1312s ok 243 /checksum/MD5/reset/55 1312s ok 244 /checksum/MD5/reset/56 1312s ok 245 /checksum/MD5/reset/57 1312s ok 246 /checksum/MD5/reset/58 1312s ok 247 /checksum/MD5/reset/59 1312s ok 248 /checksum/MD5/reset/60 1312s ok 249 /checksum/MD5/reset/61 1312s ok 250 /checksum/MD5/reset/62 1312s ok 251 /checksum/MD5/reset/63 1312s ok 252 /checksum/MD5/reset/64 1312s ok 253 /checksum/MD5/reset/65 1312s ok 254 /checksum/MD5/reset/66 1312s ok 255 /checksum/MD5/reset/67 1312s ok 256 /checksum/MD5/reset/68 1312s ok 257 /checksum/MD5/reset/69 1312s ok 258 /checksum/MD5/reset/70 1312s ok 259 /checksum/MD5/reset/71 1312s ok 260 /checksum/MD5/reset/72 1312s ok 261 /checksum/MD5/reset/73 1312s ok 262 /checksum/MD5/reset/74 1312s ok 263 /checksum/MD5/reset/75 1312s ok 264 /checksum/MD5/reset/76 1312s ok 265 /checksum/MD5/reset/77 1312s ok 266 /checksum/MD5/reset/78 1312s ok 267 /checksum/MD5/reset/79 1312s ok 268 /checksum/MD5/reset/80 1312s ok 269 /checksum/MD5/reset/81 1312s ok 270 /checksum/MD5/reset/82 1312s ok 271 /checksum/MD5/reset/83 1312s ok 272 /checksum/MD5/reset/84 1312s ok 273 /checksum/MD5/reset/85 1312s ok 274 /checksum/MD5/reset/86 1312s ok 275 /checksum/MD5/reset/87 1312s ok 276 /checksum/MD5/reset/88 1312s ok 277 /checksum/MD5/reset/89 1312s ok 278 /checksum/MD5/reset/90 1312s ok 279 /checksum/MD5/reset/91 1312s ok 280 /checksum/MD5/reset/92 1312s ok 281 /checksum/MD5/reset/93 1312s ok 282 /checksum/MD5/reset/94 1312s ok 283 /checksum/MD5/reset/95 1312s ok 284 /checksum/MD5/reset/96 1312s ok 285 /checksum/MD5/reset/97 1312s ok 286 /checksum/MD5/reset/98 1312s ok 287 /checksum/MD5/reset/99 1312s ok 288 /checksum/MD5/reset/100 1312s ok 289 /checksum/MD5/reset/101 1312s ok 290 /checksum/MD5/reset/102 1312s ok 291 /checksum/MD5/reset/103 1312s ok 292 /checksum/MD5/reset/104 1312s ok 293 /checksum/MD5/reset/105 1312s ok 294 /checksum/MD5/reset/106 1312s ok 295 /checksum/MD5/reset/107 1312s ok 296 /checksum/MD5/reset/108 1312s ok 297 /checksum/MD5/reset/109 1312s ok 298 /checksum/MD5/reset/110 1312s ok 299 /checksum/MD5/reset/111 1312s ok 300 /checksum/MD5/reset/112 1312s ok 301 /checksum/MD5/reset/113 1312s ok 302 /checksum/MD5/reset/114 1312s ok 303 /checksum/MD5/reset/115 1312s ok 304 /checksum/MD5/reset/116 1312s ok 305 /checksum/MD5/reset/117 1312s ok 306 /checksum/MD5/reset/118 1312s ok 307 /checksum/MD5/reset/119 1312s ok 308 /checksum/MD5/reset/120 1312s ok 309 /checksum/MD5/reset/121 1312s ok 310 /checksum/MD5/reset/122 1312s ok 311 /checksum/MD5/reset/123 1312s ok 312 /checksum/MD5/reset/124 1312s ok 313 /checksum/MD5/reset/125 1312s ok 314 /checksum/MD5/reset/126 1312s ok 315 /checksum/MD5/reset/127 1312s ok 316 /checksum/MD5/reset/128 1312s ok 317 /checksum/MD5/reset/129 1312s ok 318 /checksum/MD5/reset/130 1312s ok 319 /checksum/MD5/reset/131 1312s ok 320 /checksum/MD5/reset/132 1312s ok 321 /checksum/MD5/reset/133 1312s ok 322 /checksum/MD5/reset/134 1312s ok 323 /checksum/MD5/reset/135 1312s ok 324 /checksum/MD5/reset/136 1312s ok 325 /checksum/MD5/reset/137 1312s ok 326 /checksum/MD5/reset/138 1312s ok 327 /checksum/MD5/reset/139 1312s ok 328 /checksum/MD5/reset/140 1312s ok 329 /checksum/MD5/reset/141 1312s ok 330 /checksum/MD5/reset/142 1312s ok 331 /checksum/MD5/reset/143 1312s ok 332 /checksum/MD5/reset/144 1312s ok 333 /checksum/MD5/reset/145 1312s ok 334 /checksum/MD5/reset/146 1312s ok 335 /checksum/MD5/reset/147 1312s ok 336 /checksum/MD5/reset/148 1312s ok 337 /checksum/MD5/reset/149 1312s ok 338 /checksum/MD5/reset/150 1312s ok 339 /checksum/MD5/reset/151 1312s ok 340 /checksum/MD5/reset/152 1312s ok 341 /checksum/MD5/reset/153 1312s ok 342 /checksum/MD5/reset/154 1312s ok 343 /checksum/MD5/reset/155 1312s ok 344 /checksum/MD5/reset/156 1312s ok 345 /checksum/MD5/reset/157 1312s ok 346 /checksum/MD5/reset/158 1312s ok 347 /checksum/MD5/reset/159 1312s ok 348 /checksum/MD5/reset/160 1312s ok 349 /checksum/MD5/reset/161 1312s ok 350 /checksum/MD5/reset/162 1312s ok 351 /checksum/MD5/reset/163 1312s ok 352 /checksum/MD5/reset/164 1312s ok 353 /checksum/MD5/reset/165 1312s ok 354 /checksum/MD5/reset/166 1312s ok 355 /checksum/MD5/reset/167 1312s ok 356 /checksum/MD5/reset/168 1312s ok 357 /checksum/MD5/reset/169 1312s ok 358 /checksum/MD5/reset/170 1312s ok 359 /checksum/MD5/reset/171 1312s ok 360 /checksum/MD5/reset/172 1312s ok 361 /checksum/MD5/reset/173 1312s ok 362 /checksum/MD5/reset/174 1312s ok 363 /checksum/MD5/reset/175 1312s ok 364 /checksum/MD5/reset/176 1312s ok 365 /checksum/MD5/reset/177 1312s ok 366 /checksum/MD5/reset/178 1312s ok 367 /checksum/MD5/reset/179 1312s ok 368 /checksum/MD5/reset/180 1312s ok 369 /checksum/MD5/reset/181 1312s ok 370 /checksum/MD5/reset/182 1312s ok 371 /checksum/MD5/reset/183 1312s # End of reset tests 1312s # End of MD5 tests 1312s # Start of SHA1 tests 1312s ok 372 /checksum/SHA1/0 1312s ok 373 /checksum/SHA1/1 1312s ok 374 /checksum/SHA1/2 1312s ok 375 /checksum/SHA1/3 1312s ok 376 /checksum/SHA1/4 1312s ok 377 /checksum/SHA1/5 1312s ok 378 /checksum/SHA1/6 1312s ok 379 /checksum/SHA1/7 1312s ok 380 /checksum/SHA1/8 1312s ok 381 /checksum/SHA1/9 1312s ok 382 /checksum/SHA1/10 1312s ok 383 /checksum/SHA1/11 1312s ok 384 /checksum/SHA1/12 1312s ok 385 /checksum/SHA1/13 1312s ok 386 /checksum/SHA1/14 1312s ok 387 /checksum/SHA1/15 1312s ok 388 /checksum/SHA1/16 1312s ok 389 /checksum/SHA1/17 1312s ok 390 /checksum/SHA1/18 1312s ok 391 /checksum/SHA1/19 1312s ok 392 /checksum/SHA1/20 1312s ok 393 /checksum/SHA1/21 1312s ok 394 /checksum/SHA1/22 1312s ok 395 /checksum/SHA1/23 1312s ok 396 /checksum/SHA1/24 1312s ok 397 /checksum/SHA1/25 1312s ok 398 /checksum/SHA1/26 1312s ok 399 /checksum/SHA1/27 1312s ok 400 /checksum/SHA1/28 1312s ok 401 /checksum/SHA1/29 1312s ok 402 /checksum/SHA1/30 1312s ok 403 /checksum/SHA1/31 1312s ok 404 /checksum/SHA1/32 1312s ok 405 /checksum/SHA1/33 1312s ok 406 /checksum/SHA1/34 1312s ok 407 /checksum/SHA1/35 1312s ok 408 /checksum/SHA1/36 1312s ok 409 /checksum/SHA1/37 1312s ok 410 /checksum/SHA1/38 1312s ok 411 /checksum/SHA1/39 1312s ok 412 /checksum/SHA1/40 1312s ok 413 /checksum/SHA1/41 1312s ok 414 /checksum/SHA1/42 1312s ok 415 /checksum/SHA1/43 1312s ok 416 /checksum/SHA1/44 1312s ok 417 /checksum/SHA1/45 1312s ok 418 /checksum/SHA1/46 1312s ok 419 /checksum/SHA1/47 1312s ok 420 /checksum/SHA1/48 1312s ok 421 /checksum/SHA1/49 1312s ok 422 /checksum/SHA1/50 1312s ok 423 /checksum/SHA1/51 1312s ok 424 /checksum/SHA1/52 1312s ok 425 /checksum/SHA1/53 1312s ok 426 /checksum/SHA1/54 1312s ok 427 /checksum/SHA1/55 1312s ok 428 /checksum/SHA1/56 1312s ok 429 /checksum/SHA1/57 1312s ok 430 /checksum/SHA1/58 1312s ok 431 /checksum/SHA1/59 1312s ok 432 /checksum/SHA1/60 1312s ok 433 /checksum/SHA1/61 1312s ok 434 /checksum/SHA1/62 1312s ok 435 /checksum/SHA1/63 1312s ok 436 /checksum/SHA1/64 1312s ok 437 /checksum/SHA1/65 1312s ok 438 /checksum/SHA1/66 1312s ok 439 /checksum/SHA1/67 1312s ok 440 /checksum/SHA1/68 1312s ok 441 /checksum/SHA1/69 1312s ok 442 /checksum/SHA1/70 1312s ok 443 /checksum/SHA1/71 1312s ok 444 /checksum/SHA1/72 1312s ok 445 /checksum/SHA1/73 1312s ok 446 /checksum/SHA1/74 1312s ok 447 /checksum/SHA1/75 1312s ok 448 /checksum/SHA1/76 1312s ok 449 /checksum/SHA1/77 1312s ok 450 /checksum/SHA1/78 1312s ok 451 /checksum/SHA1/79 1312s ok 452 /checksum/SHA1/80 1312s ok 453 /checksum/SHA1/81 1312s ok 454 /checksum/SHA1/82 1312s ok 455 /checksum/SHA1/83 1312s ok 456 /checksum/SHA1/84 1312s ok 457 /checksum/SHA1/85 1312s ok 458 /checksum/SHA1/86 1312s ok 459 /checksum/SHA1/87 1312s ok 460 /checksum/SHA1/88 1312s ok 461 /checksum/SHA1/89 1312s ok 462 /checksum/SHA1/90 1312s ok 463 /checksum/SHA1/91 1312s ok 464 /checksum/SHA1/92 1312s ok 465 /checksum/SHA1/93 1312s ok 466 /checksum/SHA1/94 1312s ok 467 /checksum/SHA1/95 1312s ok 468 /checksum/SHA1/96 1312s ok 469 /checksum/SHA1/97 1312s ok 470 /checksum/SHA1/98 1312s ok 471 /checksum/SHA1/99 1312s ok 472 /checksum/SHA1/100 1312s ok 473 /checksum/SHA1/101 1312s ok 474 /checksum/SHA1/102 1312s ok 475 /checksum/SHA1/103 1312s ok 476 /checksum/SHA1/104 1312s ok 477 /checksum/SHA1/105 1312s ok 478 /checksum/SHA1/106 1312s ok 479 /checksum/SHA1/107 1312s ok 480 /checksum/SHA1/108 1312s ok 481 /checksum/SHA1/109 1312s ok 482 /checksum/SHA1/110 1312s ok 483 /checksum/SHA1/111 1312s ok 484 /checksum/SHA1/112 1312s ok 485 /checksum/SHA1/113 1312s ok 486 /checksum/SHA1/114 1312s ok 487 /checksum/SHA1/115 1312s ok 488 /checksum/SHA1/116 1312s ok 489 /checksum/SHA1/117 1312s ok 490 /checksum/SHA1/118 1312s ok 491 /checksum/SHA1/119 1312s ok 492 /checksum/SHA1/120 1312s ok 493 /checksum/SHA1/121 1312s ok 494 /checksum/SHA1/122 1312s ok 495 /checksum/SHA1/123 1312s ok 496 /checksum/SHA1/124 1312s ok 497 /checksum/SHA1/125 1312s ok 498 /checksum/SHA1/126 1312s ok 499 /checksum/SHA1/127 1312s ok 500 /checksum/SHA1/128 1312s ok 501 /checksum/SHA1/129 1312s ok 502 /checksum/SHA1/130 1312s ok 503 /checksum/SHA1/131 1312s ok 504 /checksum/SHA1/132 1312s ok 505 /checksum/SHA1/133 1312s ok 506 /checksum/SHA1/134 1312s ok 507 /checksum/SHA1/135 1312s ok 508 /checksum/SHA1/136 1312s ok 509 /checksum/SHA1/137 1312s ok 510 /checksum/SHA1/138 1312s ok 511 /checksum/SHA1/139 1312s ok 512 /checksum/SHA1/140 1312s ok 513 /checksum/SHA1/141 1312s ok 514 /checksum/SHA1/142 1312s ok 515 /checksum/SHA1/143 1312s ok 516 /checksum/SHA1/144 1312s ok 517 /checksum/SHA1/145 1312s ok 518 /checksum/SHA1/146 1312s ok 519 /checksum/SHA1/147 1312s ok 520 /checksum/SHA1/148 1312s ok 521 /checksum/SHA1/149 1312s ok 522 /checksum/SHA1/150 1312s ok 523 /checksum/SHA1/151 1312s ok 524 /checksum/SHA1/152 1312s ok 525 /checksum/SHA1/153 1312s ok 526 /checksum/SHA1/154 1312s ok 527 /checksum/SHA1/155 1312s ok 528 /checksum/SHA1/156 1312s ok 529 /checksum/SHA1/157 1312s ok 530 /checksum/SHA1/158 1312s ok 531 /checksum/SHA1/159 1312s ok 532 /checksum/SHA1/160 1312s ok 533 /checksum/SHA1/161 1312s ok 534 /checksum/SHA1/162 1312s ok 535 /checksum/SHA1/163 1312s ok 536 /checksum/SHA1/164 1312s ok 537 /checksum/SHA1/165 1312s ok 538 /checksum/SHA1/166 1312s ok 539 /checksum/SHA1/167 1312s ok 540 /checksum/SHA1/168 1312s ok 541 /checksum/SHA1/169 1312s ok 542 /checksum/SHA1/170 1312s ok 543 /checksum/SHA1/171 1312s ok 544 /checksum/SHA1/172 1312s ok 545 /checksum/SHA1/173 1312s ok 546 /checksum/SHA1/174 1312s ok 547 /checksum/SHA1/175 1312s ok 548 /checksum/SHA1/176 1312s ok 549 /checksum/SHA1/177 1312s ok 550 /checksum/SHA1/178 1312s ok 551 /checksum/SHA1/179 1312s ok 552 /checksum/SHA1/180 1312s ok 553 /checksum/SHA1/181 1312s ok 554 /checksum/SHA1/182 1312s ok 555 /checksum/SHA1/183 1312s ok 556 /checksum/SHA1/string 1312s ok 557 /checksum/SHA1/bytes 1312s # Start of reset tests 1312s ok 558 /checksum/SHA1/reset/0 1312s ok 559 /checksum/SHA1/reset/1 1312s ok 560 /checksum/SHA1/reset/2 1312s ok 561 /checksum/SHA1/reset/3 1312s ok 562 /checksum/SHA1/reset/4 1312s ok 563 /checksum/SHA1/reset/5 1312s ok 564 /checksum/SHA1/reset/6 1312s ok 565 /checksum/SHA1/reset/7 1312s ok 566 /checksum/SHA1/reset/8 1312s ok 567 /checksum/SHA1/reset/9 1312s ok 568 /checksum/SHA1/reset/10 1312s ok 569 /checksum/SHA1/reset/11 1312s ok 570 /checksum/SHA1/reset/12 1312s ok 571 /checksum/SHA1/reset/13 1312s ok 572 /checksum/SHA1/reset/14 1312s ok 573 /checksum/SHA1/reset/15 1312s ok 574 /checksum/SHA1/reset/16 1312s ok 575 /checksum/SHA1/reset/17 1312s ok 576 /checksum/SHA1/reset/18 1312s ok 577 /checksum/SHA1/reset/19 1312s ok 578 /checksum/SHA1/reset/20 1312s ok 579 /checksum/SHA1/reset/21 1312s ok 580 /checksum/SHA1/reset/22 1312s ok 581 /checksum/SHA1/reset/23 1312s ok 582 /checksum/SHA1/reset/24 1312s ok 583 /checksum/SHA1/reset/25 1312s ok 584 /checksum/SHA1/reset/26 1312s ok 585 /checksum/SHA1/reset/27 1312s ok 586 /checksum/SHA1/reset/28 1312s ok 587 /checksum/SHA1/reset/29 1312s ok 588 /checksum/SHA1/reset/30 1312s ok 589 /checksum/SHA1/reset/31 1312s ok 590 /checksum/SHA1/reset/32 1312s ok 591 /checksum/SHA1/reset/33 1312s ok 592 /checksum/SHA1/reset/34 1312s ok 593 /checksum/SHA1/reset/35 1312s ok 594 /checksum/SHA1/reset/36 1312s ok 595 /checksum/SHA1/reset/37 1312s ok 596 /checksum/SHA1/reset/38 1312s ok 597 /checksum/SHA1/reset/39 1312s ok 598 /checksum/SHA1/reset/40 1312s ok 599 /checksum/SHA1/reset/41 1312s ok 600 /checksum/SHA1/reset/42 1312s ok 601 /checksum/SHA1/reset/43 1312s ok 602 /checksum/SHA1/reset/44 1312s ok 603 /checksum/SHA1/reset/45 1312s ok 604 /checksum/SHA1/reset/46 1312s ok 605 /checksum/SHA1/reset/47 1312s ok 606 /checksum/SHA1/reset/48 1312s ok 607 /checksum/SHA1/reset/49 1312s ok 608 /checksum/SHA1/reset/50 1312s ok 609 /checksum/SHA1/reset/51 1312s ok 610 /checksum/SHA1/reset/52 1312s ok 611 /checksum/SHA1/reset/53 1312s ok 612 /checksum/SHA1/reset/54 1312s ok 613 /checksum/SHA1/reset/55 1312s ok 614 /checksum/SHA1/reset/56 1312s ok 615 /checksum/SHA1/reset/57 1312s ok 616 /checksum/SHA1/reset/58 1312s ok 617 /checksum/SHA1/reset/59 1312s ok 618 /checksum/SHA1/reset/60 1312s ok 619 /checksum/SHA1/reset/61 1312s ok 620 /checksum/SHA1/reset/62 1312s ok 621 /checksum/SHA1/reset/63 1312s ok 622 /checksum/SHA1/reset/64 1312s ok 623 /checksum/SHA1/reset/65 1312s ok 624 /checksum/SHA1/reset/66 1312s ok 625 /checksum/SHA1/reset/67 1312s ok 626 /checksum/SHA1/reset/68 1312s ok 627 /checksum/SHA1/reset/69 1312s ok 628 /checksum/SHA1/reset/70 1312s ok 629 /checksum/SHA1/reset/71 1312s ok 630 /checksum/SHA1/reset/72 1312s ok 631 /checksum/SHA1/reset/73 1312s ok 632 /checksum/SHA1/reset/74 1312s ok 633 /checksum/SHA1/reset/75 1312s ok 634 /checksum/SHA1/reset/76 1312s ok 635 /checksum/SHA1/reset/77 1312s ok 636 /checksum/SHA1/reset/78 1312s ok 637 /checksum/SHA1/reset/79 1312s ok 638 /checksum/SHA1/reset/80 1312s ok 639 /checksum/SHA1/reset/81 1312s ok 640 /checksum/SHA1/reset/82 1312s ok 641 /checksum/SHA1/reset/83 1312s ok 642 /checksum/SHA1/reset/84 1312s ok 643 /checksum/SHA1/reset/85 1312s ok 644 /checksum/SHA1/reset/86 1312s ok 645 /checksum/SHA1/reset/87 1312s ok 646 /checksum/SHA1/reset/88 1312s ok 647 /checksum/SHA1/reset/89 1312s ok 648 /checksum/SHA1/reset/90 1312s ok 649 /checksum/SHA1/reset/91 1312s ok 650 /checksum/SHA1/reset/92 1312s ok 651 /checksum/SHA1/reset/93 1312s ok 652 /checksum/SHA1/reset/94 1312s ok 653 /checksum/SHA1/reset/95 1312s ok 654 /checksum/SHA1/reset/96 1312s ok 655 /checksum/SHA1/reset/97 1312s ok 656 /checksum/SHA1/reset/98 1312s ok 657 /checksum/SHA1/reset/99 1312s ok 658 /checksum/SHA1/reset/100 1312s ok 659 /checksum/SHA1/reset/101 1312s ok 660 /checksum/SHA1/reset/102 1312s ok 661 /checksum/SHA1/reset/103 1312s ok 662 /checksum/SHA1/reset/104 1312s ok 663 /checksum/SHA1/reset/105 1312s ok 664 /checksum/SHA1/reset/106 1312s ok 665 /checksum/SHA1/reset/107 1312s ok 666 /checksum/SHA1/reset/108 1312s ok 667 /checksum/SHA1/reset/109 1312s ok 668 /checksum/SHA1/reset/110 1312s ok 669 /checksum/SHA1/reset/111 1312s ok 670 /checksum/SHA1/reset/112 1312s ok 671 /checksum/SHA1/reset/113 1312s ok 672 /checksum/SHA1/reset/114 1312s ok 673 /checksum/SHA1/reset/115 1312s ok 674 /checksum/SHA1/reset/116 1312s ok 675 /checksum/SHA1/reset/117 1312s ok 676 /checksum/SHA1/reset/118 1312s ok 677 /checksum/SHA1/reset/119 1312s ok 678 /checksum/SHA1/reset/120 1312s ok 679 /checksum/SHA1/reset/121 1312s ok 680 /checksum/SHA1/reset/122 1312s ok 681 /checksum/SHA1/reset/123 1312s ok 682 /checksum/SHA1/reset/124 1312s ok 683 /checksum/SHA1/reset/125 1312s ok 684 /checksum/SHA1/reset/126 1312s ok 685 /checksum/SHA1/reset/127 1312s ok 686 /checksum/SHA1/reset/128 1312s ok 687 /checksum/SHA1/reset/129 1312s ok 688 /checksum/SHA1/reset/130 1312s ok 689 /checksum/SHA1/reset/131 1312s ok 690 /checksum/SHA1/reset/132 1312s ok 691 /checksum/SHA1/reset/133 1312s ok 692 /checksum/SHA1/reset/134 1312s ok 693 /checksum/SHA1/reset/135 1312s ok 694 /checksum/SHA1/reset/136 1312s ok 695 /checksum/SHA1/reset/137 1312s ok 696 /checksum/SHA1/reset/138 1312s ok 697 /checksum/SHA1/reset/139 1312s ok 698 /checksum/SHA1/reset/140 1312s ok 699 /checksum/SHA1/reset/141 1312s ok 700 /checksum/SHA1/reset/142 1312s ok 701 /checksum/SHA1/reset/143 1312s ok 702 /checksum/SHA1/reset/144 1312s ok 703 /checksum/SHA1/reset/145 1312s ok 704 /checksum/SHA1/reset/146 1312s ok 705 /checksum/SHA1/reset/147 1312s ok 706 /checksum/SHA1/reset/148 1312s ok 707 /checksum/SHA1/reset/149 1312s ok 708 /checksum/SHA1/reset/150 1312s ok 709 /checksum/SHA1/reset/151 1312s ok 710 /checksum/SHA1/reset/152 1312s ok 711 /checksum/SHA1/reset/153 1312s ok 712 /checksum/SHA1/reset/154 1312s ok 713 /checksum/SHA1/reset/155 1312s ok 714 /checksum/SHA1/reset/156 1312s ok 715 /checksum/SHA1/reset/157 1312s ok 716 /checksum/SHA1/reset/158 1312s ok 717 /checksum/SHA1/reset/159 1312s ok 718 /checksum/SHA1/reset/160 1312s ok 719 /checksum/SHA1/reset/161 1312s ok 720 /checksum/SHA1/reset/162 1312s ok 721 /checksum/SHA1/reset/163 1312s ok 722 /checksum/SHA1/reset/164 1312s ok 723 /checksum/SHA1/reset/165 1312s ok 724 /checksum/SHA1/reset/166 1312s ok 725 /checksum/SHA1/reset/167 1312s ok 726 /checksum/SHA1/reset/168 1312s ok 727 /checksum/SHA1/reset/169 1312s ok 728 /checksum/SHA1/reset/170 1312s ok 729 /checksum/SHA1/reset/171 1312s ok 730 /checksum/SHA1/reset/172 1312s ok 731 /checksum/SHA1/reset/173 1312s ok 732 /checksum/SHA1/reset/174 1312s ok 733 /checksum/SHA1/reset/175 1312s ok 734 /checksum/SHA1/reset/176 1312s ok 735 /checksum/SHA1/reset/177 1312s ok 736 /checksum/SHA1/reset/178 1312s ok 737 /checksum/SHA1/reset/179 1312s ok 738 /checksum/SHA1/reset/180 1312s ok 739 /checksum/SHA1/reset/181 1312s ok 740 /checksum/SHA1/reset/182 1312s ok 741 /checksum/SHA1/reset/183 1312s # End of reset tests 1312s # End of SHA1 tests 1312s # Start of SHA256 tests 1312s ok 742 /checksum/SHA256/0 1312s ok 743 /checksum/SHA256/1 1312s ok 744 /checksum/SHA256/2 1312s ok 745 /checksum/SHA256/3 1312s ok 746 /checksum/SHA256/4 1312s ok 747 /checksum/SHA256/5 1312s ok 748 /checksum/SHA256/6 1312s ok 749 /checksum/SHA256/7 1312s ok 750 /checksum/SHA256/8 1312s ok 751 /checksum/SHA256/9 1312s ok 752 /checksum/SHA256/10 1312s ok 753 /checksum/SHA256/11 1312s ok 754 /checksum/SHA256/12 1312s ok 755 /checksum/SHA256/13 1312s ok 756 /checksum/SHA256/14 1312s ok 757 /checksum/SHA256/15 1312s ok 758 /checksum/SHA256/16 1312s ok 759 /checksum/SHA256/17 1312s ok 760 /checksum/SHA256/18 1312s ok 761 /checksum/SHA256/19 1312s ok 762 /checksum/SHA256/20 1312s ok 763 /checksum/SHA256/21 1312s ok 764 /checksum/SHA256/22 1312s ok 765 /checksum/SHA256/23 1312s ok 766 /checksum/SHA256/24 1312s ok 767 /checksum/SHA256/25 1312s ok 768 /checksum/SHA256/26 1312s ok 769 /checksum/SHA256/27 1312s ok 770 /checksum/SHA256/28 1312s ok 771 /checksum/SHA256/29 1312s ok 772 /checksum/SHA256/30 1312s ok 773 /checksum/SHA256/31 1312s ok 774 /checksum/SHA256/32 1312s ok 775 /checksum/SHA256/33 1312s ok 776 /checksum/SHA256/34 1312s ok 777 /checksum/SHA256/35 1312s ok 778 /checksum/SHA256/36 1312s ok 779 /checksum/SHA256/37 1312s ok 780 /checksum/SHA256/38 1312s ok 781 /checksum/SHA256/39 1312s ok 782 /checksum/SHA256/40 1312s ok 783 /checksum/SHA256/41 1312s ok 784 /checksum/SHA256/42 1312s ok 785 /checksum/SHA256/43 1312s ok 786 /checksum/SHA256/44 1312s ok 787 /checksum/SHA256/45 1312s ok 788 /checksum/SHA256/46 1312s ok 789 /checksum/SHA256/47 1312s ok 790 /checksum/SHA256/48 1312s ok 791 /checksum/SHA256/49 1312s ok 792 /checksum/SHA256/50 1312s ok 793 /checksum/SHA256/51 1312s ok 794 /checksum/SHA256/52 1312s ok 795 /checksum/SHA256/53 1312s ok 796 /checksum/SHA256/54 1312s ok 797 /checksum/SHA256/55 1312s ok 798 /checksum/SHA256/56 1312s ok 799 /checksum/SHA256/57 1312s ok 800 /checksum/SHA256/58 1312s ok 801 /checksum/SHA256/59 1312s ok 802 /checksum/SHA256/60 1312s ok 803 /checksum/SHA256/61 1312s ok 804 /checksum/SHA256/62 1312s ok 805 /checksum/SHA256/63 1312s ok 806 /checksum/SHA256/64 1312s ok 807 /checksum/SHA256/65 1312s ok 808 /checksum/SHA256/66 1312s ok 809 /checksum/SHA256/67 1312s ok 810 /checksum/SHA256/68 1312s ok 811 /checksum/SHA256/69 1312s ok 812 /checksum/SHA256/70 1312s ok 813 /checksum/SHA256/71 1312s ok 814 /checksum/SHA256/72 1312s ok 815 /checksum/SHA256/73 1312s ok 816 /checksum/SHA256/74 1312s ok 817 /checksum/SHA256/75 1312s ok 818 /checksum/SHA256/76 1312s ok 819 /checksum/SHA256/77 1312s ok 820 /checksum/SHA256/78 1312s ok 821 /checksum/SHA256/79 1312s ok 822 /checksum/SHA256/80 1312s ok 823 /checksum/SHA256/81 1312s ok 824 /checksum/SHA256/82 1312s ok 825 /checksum/SHA256/83 1312s ok 826 /checksum/SHA256/84 1312s ok 827 /checksum/SHA256/85 1312s ok 828 /checksum/SHA256/86 1312s ok 829 /checksum/SHA256/87 1312s ok 830 /checksum/SHA256/88 1312s ok 831 /checksum/SHA256/89 1312s ok 832 /checksum/SHA256/90 1312s ok 833 /checksum/SHA256/91 1312s ok 834 /checksum/SHA256/92 1312s ok 835 /checksum/SHA256/93 1312s ok 836 /checksum/SHA256/94 1312s ok 837 /checksum/SHA256/95 1312s ok 838 /checksum/SHA256/96 1312s ok 839 /checksum/SHA256/97 1312s ok 840 /checksum/SHA256/98 1312s ok 841 /checksum/SHA256/99 1312s ok 842 /checksum/SHA256/100 1312s ok 843 /checksum/SHA256/101 1312s ok 844 /checksum/SHA256/102 1312s ok 845 /checksum/SHA256/103 1312s ok 846 /checksum/SHA256/104 1312s ok 847 /checksum/SHA256/105 1312s ok 848 /checksum/SHA256/106 1312s ok 849 /checksum/SHA256/107 1312s ok 850 /checksum/SHA256/108 1312s ok 851 /checksum/SHA256/109 1312s ok 852 /checksum/SHA256/110 1312s ok 853 /checksum/SHA256/111 1312s ok 854 /checksum/SHA256/112 1312s ok 855 /checksum/SHA256/113 1312s ok 856 /checksum/SHA256/114 1312s ok 857 /checksum/SHA256/115 1312s ok 858 /checksum/SHA256/116 1312s ok 859 /checksum/SHA256/117 1312s ok 860 /checksum/SHA256/118 1312s ok 861 /checksum/SHA256/119 1312s ok 862 /checksum/SHA256/120 1312s ok 863 /checksum/SHA256/121 1312s ok 864 /checksum/SHA256/122 1312s ok 865 /checksum/SHA256/123 1312s ok 866 /checksum/SHA256/124 1312s ok 867 /checksum/SHA256/125 1312s ok 868 /checksum/SHA256/126 1312s ok 869 /checksum/SHA256/127 1312s ok 870 /checksum/SHA256/128 1312s ok 871 /checksum/SHA256/129 1312s ok 872 /checksum/SHA256/130 1312s ok 873 /checksum/SHA256/131 1312s ok 874 /checksum/SHA256/132 1312s ok 875 /checksum/SHA256/133 1312s ok 876 /checksum/SHA256/134 1312s ok 877 /checksum/SHA256/135 1312s ok 878 /checksum/SHA256/136 1312s ok 879 /checksum/SHA256/137 1312s ok 880 /checksum/SHA256/138 1312s ok 881 /checksum/SHA256/139 1312s ok 882 /checksum/SHA256/140 1312s ok 883 /checksum/SHA256/141 1312s ok 884 /checksum/SHA256/142 1312s ok 885 /checksum/SHA256/143 1312s ok 886 /checksum/SHA256/144 1312s ok 887 /checksum/SHA256/145 1312s ok 888 /checksum/SHA256/146 1312s ok 889 /checksum/SHA256/147 1312s ok 890 /checksum/SHA256/148 1312s ok 891 /checksum/SHA256/149 1312s ok 892 /checksum/SHA256/150 1312s ok 893 /checksum/SHA256/151 1312s ok 894 /checksum/SHA256/152 1312s ok 895 /checksum/SHA256/153 1312s ok 896 /checksum/SHA256/154 1312s ok 897 /checksum/SHA256/155 1312s ok 898 /checksum/SHA256/156 1312s ok 899 /checksum/SHA256/157 1312s ok 900 /checksum/SHA256/158 1312s ok 901 /checksum/SHA256/159 1312s ok 902 /checksum/SHA256/160 1312s ok 903 /checksum/SHA256/161 1312s ok 904 /checksum/SHA256/162 1312s ok 905 /checksum/SHA256/163 1312s ok 906 /checksum/SHA256/164 1312s ok 907 /checksum/SHA256/165 1312s ok 908 /checksum/SHA256/166 1312s ok 909 /checksum/SHA256/167 1312s ok 910 /checksum/SHA256/168 1312s ok 911 /checksum/SHA256/169 1312s ok 912 /checksum/SHA256/170 1312s ok 913 /checksum/SHA256/171 1312s ok 914 /checksum/SHA256/172 1312s ok 915 /checksum/SHA256/173 1312s ok 916 /checksum/SHA256/174 1312s ok 917 /checksum/SHA256/175 1312s ok 918 /checksum/SHA256/176 1312s ok 919 /checksum/SHA256/177 1312s ok 920 /checksum/SHA256/178 1312s ok 921 /checksum/SHA256/179 1312s ok 922 /checksum/SHA256/180 1312s ok 923 /checksum/SHA256/181 1312s ok 924 /checksum/SHA256/182 1312s ok 925 /checksum/SHA256/183 1312s ok 926 /checksum/SHA256/string 1312s ok 927 /checksum/SHA256/bytes 1312s # Start of reset tests 1312s ok 928 /checksum/SHA256/reset/0 1312s ok 929 /checksum/SHA256/reset/1 1312s ok 930 /checksum/SHA256/reset/2 1312s ok 931 /checksum/SHA256/reset/3 1312s ok 932 /checksum/SHA256/reset/4 1312s ok 933 /checksum/SHA256/reset/5 1312s ok 934 /checksum/SHA256/reset/6 1312s ok 935 /checksum/SHA256/reset/7 1312s ok 936 /checksum/SHA256/reset/8 1312s ok 937 /checksum/SHA256/reset/9 1312s ok 938 /checksum/SHA256/reset/10 1312s ok 939 /checksum/SHA256/reset/11 1312s ok 940 /checksum/SHA256/reset/12 1312s ok 941 /checksum/SHA256/reset/13 1312s ok 942 /checksum/SHA256/reset/14 1312s ok 943 /checksum/SHA256/reset/15 1312s ok 944 /checksum/SHA256/reset/16 1312s ok 945 /checksum/SHA256/reset/17 1312s ok 946 /checksum/SHA256/reset/18 1312s ok 947 /checksum/SHA256/reset/19 1312s ok 948 /checksum/SHA256/reset/20 1312s ok 949 /checksum/SHA256/reset/21 1312s ok 950 /checksum/SHA256/reset/22 1312s ok 951 /checksum/SHA256/reset/23 1312s ok 952 /checksum/SHA256/reset/24 1312s ok 953 /checksum/SHA256/reset/25 1312s ok 954 /checksum/SHA256/reset/26 1312s ok 955 /checksum/SHA256/reset/27 1312s ok 956 /checksum/SHA256/reset/28 1312s ok 957 /checksum/SHA256/reset/29 1312s ok 958 /checksum/SHA256/reset/30 1312s ok 959 /checksum/SHA256/reset/31 1312s ok 960 /checksum/SHA256/reset/32 1312s ok 961 /checksum/SHA256/reset/33 1312s ok 962 /checksum/SHA256/reset/34 1312s ok 963 /checksum/SHA256/reset/35 1312s ok 964 /checksum/SHA256/reset/36 1312s ok 965 /checksum/SHA256/reset/37 1312s ok 966 /checksum/SHA256/reset/38 1312s ok 967 /checksum/SHA256/reset/39 1312s ok 968 /checksum/SHA256/reset/40 1312s ok 969 /checksum/SHA256/reset/41 1312s ok 970 /checksum/SHA256/reset/42 1312s ok 971 /checksum/SHA256/reset/43 1312s ok 972 /checksum/SHA256/reset/44 1312s ok 973 /checksum/SHA256/reset/45 1312s ok 974 /checksum/SHA256/reset/46 1312s ok 975 /checksum/SHA256/reset/47 1312s ok 976 /checksum/SHA256/reset/48 1312s ok 977 /checksum/SHA256/reset/49 1312s ok 978 /checksum/SHA256/reset/50 1312s ok 979 /checksum/SHA256/reset/51 1312s ok 980 /checksum/SHA256/reset/52 1312s ok 981 /checksum/SHA256/reset/53 1312s ok 982 /checksum/SHA256/reset/54 1312s ok 983 /checksum/SHA256/reset/55 1312s ok 984 /checksum/SHA256/reset/56 1312s ok 985 /checksum/SHA256/reset/57 1312s ok 986 /checksum/SHA256/reset/58 1312s ok 987 /checksum/SHA256/reset/59 1312s ok 988 /checksum/SHA256/reset/60 1312s ok 989 /checksum/SHA256/reset/61 1312s ok 990 /checksum/SHA256/reset/62 1312s ok 991 /checksum/SHA256/reset/63 1312s ok 992 /checksum/SHA256/reset/64 1312s ok 993 /checksum/SHA256/reset/65 1312s ok 994 /checksum/SHA256/reset/66 1312s ok 995 /checksum/SHA256/reset/67 1312s ok 996 /checksum/SHA256/reset/68 1312s ok 997 /checksum/SHA256/reset/69 1312s ok 998 /checksum/SHA256/reset/70 1312s ok 999 /checksum/SHA256/reset/71 1312s ok 1000 /checksum/SHA256/reset/72 1312s ok 1001 /checksum/SHA256/reset/73 1312s ok 1002 /checksum/SHA256/reset/74 1312s ok 1003 /checksum/SHA256/reset/75 1312s ok 1004 /checksum/SHA256/reset/76 1312s ok 1005 /checksum/SHA256/reset/77 1312s ok 1006 /checksum/SHA256/reset/78 1312s ok 1007 /checksum/SHA256/reset/79 1312s ok 1008 /checksum/SHA256/reset/80 1312s ok 1009 /checksum/SHA256/reset/81 1312s ok 1010 /checksum/SHA256/reset/82 1312s ok 1011 /checksum/SHA256/reset/83 1312s ok 1012 /checksum/SHA256/reset/84 1312s ok 1013 /checksum/SHA256/reset/85 1312s ok 1014 /checksum/SHA256/reset/86 1312s ok 1015 /checksum/SHA256/reset/87 1312s ok 1016 /checksum/SHA256/reset/88 1312s ok 1017 /checksum/SHA256/reset/89 1312s ok 1018 /checksum/SHA256/reset/90 1312s ok 1019 /checksum/SHA256/reset/91 1312s ok 1020 /checksum/SHA256/reset/92 1312s ok 1021 /checksum/SHA256/reset/93 1312s ok 1022 /checksum/SHA256/reset/94 1312s ok 1023 /checksum/SHA256/reset/95 1312s ok 1024 /checksum/SHA256/reset/96 1312s ok 1025 /checksum/SHA256/reset/97 1312s ok 1026 /checksum/SHA256/reset/98 1312s ok 1027 /checksum/SHA256/reset/99 1312s ok 1028 /checksum/SHA256/reset/100 1312s ok 1029 /checksum/SHA256/reset/101 1312s ok 1030 /checksum/SHA256/reset/102 1312s ok 1031 /checksum/SHA256/reset/103 1312s ok 1032 /checksum/SHA256/reset/104 1312s ok 1033 /checksum/SHA256/reset/105 1312s ok 1034 /checksum/SHA256/reset/106 1312s ok 1035 /checksum/SHA256/reset/107 1312s ok 1036 /checksum/SHA256/reset/108 1312s ok 1037 /checksum/SHA256/reset/109 1312s ok 1038 /checksum/SHA256/reset/110 1312s ok 1039 /checksum/SHA256/reset/111 1312s ok 1040 /checksum/SHA256/reset/112 1312s ok 1041 /checksum/SHA256/reset/113 1312s ok 1042 /checksum/SHA256/reset/114 1312s ok 1043 /checksum/SHA256/reset/115 1312s ok 1044 /checksum/SHA256/reset/116 1312s ok 1045 /checksum/SHA256/reset/117 1312s ok 1046 /checksum/SHA256/reset/118 1312s ok 1047 /checksum/SHA256/reset/119 1312s ok 1048 /checksum/SHA256/reset/120 1312s ok 1049 /checksum/SHA256/reset/121 1312s ok 1050 /checksum/SHA256/reset/122 1312s ok 1051 /checksum/SHA256/reset/123 1312s ok 1052 /checksum/SHA256/reset/124 1312s ok 1053 /checksum/SHA256/reset/125 1312s ok 1054 /checksum/SHA256/reset/126 1312s ok 1055 /checksum/SHA256/reset/127 1312s ok 1056 /checksum/SHA256/reset/128 1312s ok 1057 /checksum/SHA256/reset/129 1312s ok 1058 /checksum/SHA256/reset/130 1312s ok 1059 /checksum/SHA256/reset/131 1312s ok 1060 /checksum/SHA256/reset/132 1312s ok 1061 /checksum/SHA256/reset/133 1312s ok 1062 /checksum/SHA256/reset/134 1312s ok 1063 /checksum/SHA256/reset/135 1312s ok 1064 /checksum/SHA256/reset/136 1312s ok 1065 /checksum/SHA256/reset/137 1312s ok 1066 /checksum/SHA256/reset/138 1312s ok 1067 /checksum/SHA256/reset/139 1312s ok 1068 /checksum/SHA256/reset/140 1312s ok 1069 /checksum/SHA256/reset/141 1312s ok 1070 /checksum/SHA256/reset/142 1312s ok 1071 /checksum/SHA256/reset/143 1312s ok 1072 /checksum/SHA256/reset/144 1312s ok 1073 /checksum/SHA256/reset/145 1312s ok 1074 /checksum/SHA256/reset/146 1312s ok 1075 /checksum/SHA256/reset/147 1312s ok 1076 /checksum/SHA256/reset/148 1312s ok 1077 /checksum/SHA256/reset/149 1312s ok 1078 /checksum/SHA256/reset/150 1312s ok 1079 /checksum/SHA256/reset/151 1312s ok 1080 /checksum/SHA256/reset/152 1312s ok 1081 /checksum/SHA256/reset/153 1312s ok 1082 /checksum/SHA256/reset/154 1312s ok 1083 /checksum/SHA256/reset/155 1312s ok 1084 /checksum/SHA256/reset/156 1312s ok 1085 /checksum/SHA256/reset/157 1312s ok 1086 /checksum/SHA256/reset/158 1312s ok 1087 /checksum/SHA256/reset/159 1312s ok 1088 /checksum/SHA256/reset/160 1312s ok 1089 /checksum/SHA256/reset/161 1312s ok 1090 /checksum/SHA256/reset/162 1312s ok 1091 /checksum/SHA256/reset/163 1312s ok 1092 /checksum/SHA256/reset/164 1312s ok 1093 /checksum/SHA256/reset/165 1312s ok 1094 /checksum/SHA256/reset/166 1312s ok 1095 /checksum/SHA256/reset/167 1312s ok 1096 /checksum/SHA256/reset/168 1312s ok 1097 /checksum/SHA256/reset/169 1312s ok 1098 /checksum/SHA256/reset/170 1312s ok 1099 /checksum/SHA256/reset/171 1312s ok 1100 /checksum/SHA256/reset/172 1312s ok 1101 /checksum/SHA256/reset/173 1312s ok 1102 /checksum/SHA256/reset/174 1312s ok 1103 /checksum/SHA256/reset/175 1312s ok 1104 /checksum/SHA256/reset/176 1312s ok 1105 /checksum/SHA256/reset/177 1312s ok 1106 /checksum/SHA256/reset/178 1312s ok 1107 /checksum/SHA256/reset/179 1312s ok 1108 /checksum/SHA256/reset/180 1312s ok 1109 /checksum/SHA256/reset/181 1312s ok 1110 /checksum/SHA256/reset/182 1312s ok 1111 /checksum/SHA256/reset/183 1312s # End of reset tests 1312s # End of SHA256 tests 1312s # Start of SHA384 tests 1312s ok 1112 /checksum/SHA384/0 1312s ok 1113 /checksum/SHA384/1 1312s ok 1114 /checksum/SHA384/2 1312s ok 1115 /checksum/SHA384/3 1312s ok 1116 /checksum/SHA384/4 1312s ok 1117 /checksum/SHA384/5 1312s ok 1118 /checksum/SHA384/6 1312s ok 1119 /checksum/SHA384/7 1312s ok 1120 /checksum/SHA384/8 1312s ok 1121 /checksum/SHA384/9 1312s ok 1122 /checksum/SHA384/10 1312s ok 1123 /checksum/SHA384/11 1312s ok 1124 /checksum/SHA384/12 1312s ok 1125 /checksum/SHA384/13 1312s ok 1126 /checksum/SHA384/14 1312s ok 1127 /checksum/SHA384/15 1312s ok 1128 /checksum/SHA384/16 1312s ok 1129 /checksum/SHA384/17 1312s ok 1130 /checksum/SHA384/18 1312s ok 1131 /checksum/SHA384/19 1312s ok 1132 /checksum/SHA384/20 1312s ok 1133 /checksum/SHA384/21 1312s ok 1134 /checksum/SHA384/22 1312s ok 1135 /checksum/SHA384/23 1312s ok 1136 /checksum/SHA384/24 1312s ok 1137 /checksum/SHA384/25 1312s ok 1138 /checksum/SHA384/26 1312s ok 1139 /checksum/SHA384/27 1312s ok 1140 /checksum/SHA384/28 1312s ok 1141 /checksum/SHA384/29 1312s ok 1142 /checksum/SHA384/30 1312s ok 1143 /checksum/SHA384/31 1312s ok 1144 /checksum/SHA384/32 1312s ok 1145 /checksum/SHA384/33 1312s ok 1146 /checksum/SHA384/34 1312s ok 1147 /checksum/SHA384/35 1312s ok 1148 /checksum/SHA384/36 1312s ok 1149 /checksum/SHA384/37 1312s ok 1150 /checksum/SHA384/38 1312s ok 1151 /checksum/SHA384/39 1312s ok 1152 /checksum/SHA384/40 1312s ok 1153 /checksum/SHA384/41 1312s ok 1154 /checksum/SHA384/42 1312s ok 1155 /checksum/SHA384/43 1312s ok 1156 /checksum/SHA384/44 1312s ok 1157 /checksum/SHA384/45 1312s ok 1158 /checksum/SHA384/46 1312s ok 1159 /checksum/SHA384/47 1312s ok 1160 /checksum/SHA384/48 1312s ok 1161 /checksum/SHA384/49 1312s ok 1162 /checksum/SHA384/50 1312s ok 1163 /checksum/SHA384/51 1312s ok 1164 /checksum/SHA384/52 1312s ok 1165 /checksum/SHA384/53 1312s ok 1166 /checksum/SHA384/54 1312s ok 1167 /checksum/SHA384/55 1312s ok 1168 /checksum/SHA384/56 1312s ok 1169 /checksum/SHA384/57 1312s ok 1170 /checksum/SHA384/58 1312s ok 1171 /checksum/SHA384/59 1312s ok 1172 /checksum/SHA384/60 1312s ok 1173 /checksum/SHA384/61 1312s ok 1174 /checksum/SHA384/62 1312s ok 1175 /checksum/SHA384/63 1312s ok 1176 /checksum/SHA384/64 1312s ok 1177 /checksum/SHA384/65 1312s ok 1178 /checksum/SHA384/66 1312s ok 1179 /checksum/SHA384/67 1312s ok 1180 /checksum/SHA384/68 1312s ok 1181 /checksum/SHA384/69 1312s ok 1182 /checksum/SHA384/70 1312s ok 1183 /checksum/SHA384/71 1312s ok 1184 /checksum/SHA384/72 1312s ok 1185 /checksum/SHA384/73 1312s ok 1186 /checksum/SHA384/74 1312s ok 1187 /checksum/SHA384/75 1312s ok 1188 /checksum/SHA384/76 1312s ok 1189 /checksum/SHA384/77 1312s ok 1190 /checksum/SHA384/78 1312s ok 1191 /checksum/SHA384/79 1312s ok 1192 /checksum/SHA384/80 1312s ok 1193 /checksum/SHA384/81 1312s ok 1194 /checksum/SHA384/82 1312s ok 1195 /checksum/SHA384/83 1312s ok 1196 /checksum/SHA384/84 1312s ok 1197 /checksum/SHA384/85 1312s ok 1198 /checksum/SHA384/86 1312s ok 1199 /checksum/SHA384/87 1312s ok 1200 /checksum/SHA384/88 1312s ok 1201 /checksum/SHA384/89 1312s ok 1202 /checksum/SHA384/90 1312s ok 1203 /checksum/SHA384/91 1312s ok 1204 /checksum/SHA384/92 1312s ok 1205 /checksum/SHA384/93 1312s ok 1206 /checksum/SHA384/94 1312s ok 1207 /checksum/SHA384/95 1312s ok 1208 /checksum/SHA384/96 1312s ok 1209 /checksum/SHA384/97 1312s ok 1210 /checksum/SHA384/98 1312s ok 1211 /checksum/SHA384/99 1312s ok 1212 /checksum/SHA384/100 1312s ok 1213 /checksum/SHA384/101 1312s ok 1214 /checksum/SHA384/102 1312s ok 1215 /checksum/SHA384/103 1312s ok 1216 /checksum/SHA384/104 1312s ok 1217 /checksum/SHA384/105 1312s ok 1218 /checksum/SHA384/106 1312s ok 1219 /checksum/SHA384/107 1312s ok 1220 /checksum/SHA384/108 1312s ok 1221 /checksum/SHA384/109 1312s ok 1222 /checksum/SHA384/110 1312s ok 1223 /checksum/SHA384/111 1312s ok 1224 /checksum/SHA384/112 1312s ok 1225 /checksum/SHA384/113 1312s ok 1226 /checksum/SHA384/114 1312s ok 1227 /checksum/SHA384/115 1312s ok 1228 /checksum/SHA384/116 1312s ok 1229 /checksum/SHA384/117 1312s ok 1230 /checksum/SHA384/118 1312s ok 1231 /checksum/SHA384/119 1312s ok 1232 /checksum/SHA384/120 1312s ok 1233 /checksum/SHA384/121 1312s ok 1234 /checksum/SHA384/122 1312s ok 1235 /checksum/SHA384/123 1312s ok 1236 /checksum/SHA384/124 1312s ok 1237 /checksum/SHA384/125 1312s ok 1238 /checksum/SHA384/126 1312s ok 1239 /checksum/SHA384/127 1312s ok 1240 /checksum/SHA384/128 1312s ok 1241 /checksum/SHA384/129 1312s ok 1242 /checksum/SHA384/130 1312s ok 1243 /checksum/SHA384/131 1312s ok 1244 /checksum/SHA384/132 1312s ok 1245 /checksum/SHA384/133 1312s ok 1246 /checksum/SHA384/134 1312s ok 1247 /checksum/SHA384/135 1312s ok 1248 /checksum/SHA384/136 1312s ok 1249 /checksum/SHA384/137 1312s ok 1250 /checksum/SHA384/138 1312s ok 1251 /checksum/SHA384/139 1312s ok 1252 /checksum/SHA384/140 1312s ok 1253 /checksum/SHA384/141 1312s ok 1254 /checksum/SHA384/142 1312s ok 1255 /checksum/SHA384/143 1312s ok 1256 /checksum/SHA384/144 1312s ok 1257 /checksum/SHA384/145 1312s ok 1258 /checksum/SHA384/146 1312s ok 1259 /checksum/SHA384/147 1312s ok 1260 /checksum/SHA384/148 1312s ok 1261 /checksum/SHA384/149 1312s ok 1262 /checksum/SHA384/150 1312s ok 1263 /checksum/SHA384/151 1312s ok 1264 /checksum/SHA384/152 1312s ok 1265 /checksum/SHA384/153 1312s ok 1266 /checksum/SHA384/154 1312s ok 1267 /checksum/SHA384/155 1312s ok 1268 /checksum/SHA384/156 1312s ok 1269 /checksum/SHA384/157 1312s ok 1270 /checksum/SHA384/158 1312s ok 1271 /checksum/SHA384/159 1312s ok 1272 /checksum/SHA384/160 1312s ok 1273 /checksum/SHA384/161 1312s ok 1274 /checksum/SHA384/162 1312s ok 1275 /checksum/SHA384/163 1312s ok 1276 /checksum/SHA384/164 1312s ok 1277 /checksum/SHA384/165 1312s ok 1278 /checksum/SHA384/166 1312s ok 1279 /checksum/SHA384/167 1312s ok 1280 /checksum/SHA384/168 1312s ok 1281 /checksum/SHA384/169 1312s ok 1282 /checksum/SHA384/170 1312s ok 1283 /checksum/SHA384/171 1312s ok 1284 /checksum/SHA384/172 1312s ok 1285 /checksum/SHA384/173 1312s ok 1286 /checksum/SHA384/174 1312s ok 1287 /checksum/SHA384/175 1312s ok 1288 /checksum/SHA384/176 1312s ok 1289 /checksum/SHA384/177 1312s ok 1290 /checksum/SHA384/178 1312s ok 1291 /checksum/SHA384/179 1312s ok 1292 /checksum/SHA384/180 1312s ok 1293 /checksum/SHA384/181 1312s ok 1294 /checksum/SHA384/182 1312s ok 1295 /checksum/SHA384/183 1312s ok 1296 /checksum/SHA384/string 1312s ok 1297 /checksum/SHA384/bytes 1312s # Start of reset tests 1312s ok 1298 /checksum/SHA384/reset/0 1312s ok 1299 /checksum/SHA384/reset/1 1312s ok 1300 /checksum/SHA384/reset/2 1312s ok 1301 /checksum/SHA384/reset/3 1312s ok 1302 /checksum/SHA384/reset/4 1312s ok 1303 /checksum/SHA384/reset/5 1312s ok 1304 /checksum/SHA384/reset/6 1312s ok 1305 /checksum/SHA384/reset/7 1312s ok 1306 /checksum/SHA384/reset/8 1312s ok 1307 /checksum/SHA384/reset/9 1312s ok 1308 /checksum/SHA384/reset/10 1312s ok 1309 /checksum/SHA384/reset/11 1312s ok 1310 /checksum/SHA384/reset/12 1312s ok 1311 /checksum/SHA384/reset/13 1312s ok 1312 /checksum/SHA384/reset/14 1312s ok 1313 /checksum/SHA384/reset/15 1312s ok 1314 /checksum/SHA384/reset/16 1312s ok 1315 /checksum/SHA384/reset/17 1312s ok 1316 /checksum/SHA384/reset/18 1312s ok 1317 /checksum/SHA384/reset/19 1312s ok 1318 /checksum/SHA384/reset/20 1312s ok 1319 /checksum/SHA384/reset/21 1312s ok 1320 /checksum/SHA384/reset/22 1312s ok 1321 /checksum/SHA384/reset/23 1312s ok 1322 /checksum/SHA384/reset/24 1312s ok 1323 /checksum/SHA384/reset/25 1312s ok 1324 /checksum/SHA384/reset/26 1312s ok 1325 /checksum/SHA384/reset/27 1312s ok 1326 /checksum/SHA384/reset/28 1312s ok 1327 /checksum/SHA384/reset/29 1312s ok 1328 /checksum/SHA384/reset/30 1312s ok 1329 /checksum/SHA384/reset/31 1312s ok 1330 /checksum/SHA384/reset/32 1312s ok 1331 /checksum/SHA384/reset/33 1312s ok 1332 /checksum/SHA384/reset/34 1312s ok 1333 /checksum/SHA384/reset/35 1312s ok 1334 /checksum/SHA384/reset/36 1312s ok 1335 /checksum/SHA384/reset/37 1312s ok 1336 /checksum/SHA384/reset/38 1312s ok 1337 /checksum/SHA384/reset/39 1312s ok 1338 /checksum/SHA384/reset/40 1312s ok 1339 /checksum/SHA384/reset/41 1312s ok 1340 /checksum/SHA384/reset/42 1312s ok 1341 /checksum/SHA384/reset/43 1312s ok 1342 /checksum/SHA384/reset/44 1312s ok 1343 /checksum/SHA384/reset/45 1312s ok 1344 /checksum/SHA384/reset/46 1312s ok 1345 /checksum/SHA384/reset/47 1312s ok 1346 /checksum/SHA384/reset/48 1312s ok 1347 /checksum/SHA384/reset/49 1312s ok 1348 /checksum/SHA384/reset/50 1312s ok 1349 /checksum/SHA384/reset/51 1312s ok 1350 /checksum/SHA384/reset/52 1312s ok 1351 /checksum/SHA384/reset/53 1312s ok 1352 /checksum/SHA384/reset/54 1312s ok 1353 /checksum/SHA384/reset/55 1312s ok 1354 /checksum/SHA384/reset/56 1312s ok 1355 /checksum/SHA384/reset/57 1312s ok 1356 /checksum/SHA384/reset/58 1312s ok 1357 /checksum/SHA384/reset/59 1312s ok 1358 /checksum/SHA384/reset/60 1312s ok 1359 /checksum/SHA384/reset/61 1312s ok 1360 /checksum/SHA384/reset/62 1312s ok 1361 /checksum/SHA384/reset/63 1312s ok 1362 /checksum/SHA384/reset/64 1312s ok 1363 /checksum/SHA384/reset/65 1312s ok 1364 /checksum/SHA384/reset/66 1312s ok 1365 /checksum/SHA384/reset/67 1312s ok 1366 /checksum/SHA384/reset/68 1312s ok 1367 /checksum/SHA384/reset/69 1312s ok 1368 /checksum/SHA384/reset/70 1312s ok 1369 /checksum/SHA384/reset/71 1312s ok 1370 /checksum/SHA384/reset/72 1312s ok 1371 /checksum/SHA384/reset/73 1312s ok 1372 /checksum/SHA384/reset/74 1312s ok 1373 /checksum/SHA384/reset/75 1312s ok 1374 /checksum/SHA384/reset/76 1312s ok 1375 /checksum/SHA384/reset/77 1312s ok 1376 /checksum/SHA384/reset/78 1312s ok 1377 /checksum/SHA384/reset/79 1312s ok 1378 /checksum/SHA384/reset/80 1312s ok 1379 /checksum/SHA384/reset/81 1312s ok 1380 /checksum/SHA384/reset/82 1312s ok 1381 /checksum/SHA384/reset/83 1312s ok 1382 /checksum/SHA384/reset/84 1312s ok 1383 /checksum/SHA384/reset/85 1312s ok 1384 /checksum/SHA384/reset/86 1312s ok 1385 /checksum/SHA384/reset/87 1312s ok 1386 /checksum/SHA384/reset/88 1312s ok 1387 /checksum/SHA384/reset/89 1312s ok 1388 /checksum/SHA384/reset/90 1312s ok 1389 /checksum/SHA384/reset/91 1312s ok 1390 /checksum/SHA384/reset/92 1312s ok 1391 /checksum/SHA384/reset/93 1312s ok 1392 /checksum/SHA384/reset/94 1312s ok 1393 /checksum/SHA384/reset/95 1312s ok 1394 /checksum/SHA384/reset/96 1312s ok 1395 /checksum/SHA384/reset/97 1312s ok 1396 /checksum/SHA384/reset/98 1312s ok 1397 /checksum/SHA384/reset/99 1312s ok 1398 /checksum/SHA384/reset/100 1312s ok 1399 /checksum/SHA384/reset/101 1312s ok 1400 /checksum/SHA384/reset/102 1312s ok 1401 /checksum/SHA384/reset/103 1312s ok 1402 /checksum/SHA384/reset/104 1312s ok 1403 /checksum/SHA384/reset/105 1312s ok 1404 /checksum/SHA384/reset/106 1312s ok 1405 /checksum/SHA384/reset/107 1312s ok 1406 /checksum/SHA384/reset/108 1312s ok 1407 /checksum/SHA384/reset/109 1312s ok 1408 /checksum/SHA384/reset/110 1312s ok 1409 /checksum/SHA384/reset/111 1312s ok 1410 /checksum/SHA384/reset/112 1312s ok 1411 /checksum/SHA384/reset/113 1312s ok 1412 /checksum/SHA384/reset/114 1312s ok 1413 /checksum/SHA384/reset/115 1312s ok 1414 /checksum/SHA384/reset/116 1312s ok 1415 /checksum/SHA384/reset/117 1312s ok 1416 /checksum/SHA384/reset/118 1312s ok 1417 /checksum/SHA384/reset/119 1312s ok 1418 /checksum/SHA384/reset/120 1312s ok 1419 /checksum/SHA384/reset/121 1312s ok 1420 /checksum/SHA384/reset/122 1312s ok 1421 /checksum/SHA384/reset/123 1312s ok 1422 /checksum/SHA384/reset/124 1312s ok 1423 /checksum/SHA384/reset/125 1312s ok 1424 /checksum/SHA384/reset/126 1312s ok 1425 /checksum/SHA384/reset/127 1312s ok 1426 /checksum/SHA384/reset/128 1312s ok 1427 /checksum/SHA384/reset/129 1312s ok 1428 /checksum/SHA384/reset/130 1312s ok 1429 /checksum/SHA384/reset/131 1312s ok 1430 /checksum/SHA384/reset/132 1312s ok 1431 /checksum/SHA384/reset/133 1312s ok 1432 /checksum/SHA384/reset/134 1312s ok 1433 /checksum/SHA384/reset/135 1312s ok 1434 /checksum/SHA384/reset/136 1312s ok 1435 /checksum/SHA384/reset/137 1312s ok 1436 /checksum/SHA384/reset/138 1312s ok 1437 /checksum/SHA384/reset/139 1312s ok 1438 /checksum/SHA384/reset/140 1312s ok 1439 /checksum/SHA384/reset/141 1312s ok 1440 /checksum/SHA384/reset/142 1312s ok 1441 /checksum/SHA384/reset/143 1312s ok 1442 /checksum/SHA384/reset/144 1312s ok 1443 /checksum/SHA384/reset/145 1312s ok 1444 /checksum/SHA384/reset/146 1312s ok 1445 /checksum/SHA384/reset/147 1312s ok 1446 /checksum/SHA384/reset/148 1312s ok 1447 /checksum/SHA384/reset/149 1312s ok 1448 /checksum/SHA384/reset/150 1312s ok 1449 /checksum/SHA384/reset/151 1312s ok 1450 /checksum/SHA384/reset/152 1312s ok 1451 /checksum/SHA384/reset/153 1312s ok 1452 /checksum/SHA384/reset/154 1312s ok 1453 /checksum/SHA384/reset/155 1312s ok 1454 /checksum/SHA384/reset/156 1312s ok 1455 /checksum/SHA384/reset/157 1312s ok 1456 /checksum/SHA384/reset/158 1312s ok 1457 /checksum/SHA384/reset/159 1312s ok 1458 /checksum/SHA384/reset/160 1312s ok 1459 /checksum/SHA384/reset/161 1312s ok 1460 /checksum/SHA384/reset/162 1312s ok 1461 /checksum/SHA384/reset/163 1312s ok 1462 /checksum/SHA384/reset/164 1312s ok 1463 /checksum/SHA384/reset/165 1312s ok 1464 /checksum/SHA384/reset/166 1312s ok 1465 /checksum/SHA384/reset/167 1312s ok 1466 /checksum/SHA384/reset/168 1312s ok 1467 /checksum/SHA384/reset/169 1312s ok 1468 /checksum/SHA384/reset/170 1312s ok 1469 /checksum/SHA384/reset/171 1312s ok 1470 /checksum/SHA384/reset/172 1312s ok 1471 /checksum/SHA384/reset/173 1312s ok 1472 /checksum/SHA384/reset/174 1312s ok 1473 /checksum/SHA384/reset/175 1312s ok 1474 /checksum/SHA384/reset/176 1312s ok 1475 /checksum/SHA384/reset/177 1312s ok 1476 /checksum/SHA384/reset/178 1312s ok 1477 /checksum/SHA384/reset/179 1312s ok 1478 /checksum/SHA384/reset/180 1312s ok 1479 /checksum/SHA384/reset/181 1312s ok 1480 /checksum/SHA384/reset/182 1312s ok 1481 /checksum/SHA384/reset/183 1312s # End of reset tests 1312s # End of SHA384 tests 1312s # Start of SHA512 tests 1312s ok 1482 /checksum/SHA512/0 1312s ok 1483 /checksum/SHA512/1 1312s ok 1484 /checksum/SHA512/2 1312s ok 1485 /checksum/SHA512/3 1312s ok 1486 /checksum/SHA512/4 1312s ok 1487 /checksum/SHA512/5 1312s ok 1488 /checksum/SHA512/6 1312s ok 1489 /checksum/SHA512/7 1312s ok 1490 /checksum/SHA512/8 1312s ok 1491 /checksum/SHA512/9 1312s ok 1492 /checksum/SHA512/10 1312s ok 1493 /checksum/SHA512/11 1312s ok 1494 /checksum/SHA512/12 1312s ok 1495 /checksum/SHA512/13 1312s ok 1496 /checksum/SHA512/14 1312s ok 1497 /checksum/SHA512/15 1312s ok 1498 /checksum/SHA512/16 1312s ok 1499 /checksum/SHA512/17 1312s ok 1500 /checksum/SHA512/18 1312s ok 1501 /checksum/SHA512/19 1312s ok 1502 /checksum/SHA512/20 1312s ok 1503 /checksum/SHA512/21 1312s ok 1504 /checksum/SHA512/22 1312s ok 1505 /checksum/SHA512/23 1312s ok 1506 /checksum/SHA512/24 1312s ok 1507 /checksum/SHA512/25 1312s ok 1508 /checksum/SHA512/26 1312s ok 1509 /checksum/SHA512/27 1312s ok 1510 /checksum/SHA512/28 1312s ok 1511 /checksum/SHA512/29 1312s ok 1512 /checksum/SHA512/30 1312s ok 1513 /checksum/SHA512/31 1312s ok 1514 /checksum/SHA512/32 1312s ok 1515 /checksum/SHA512/33 1312s ok 1516 /checksum/SHA512/34 1312s ok 1517 /checksum/SHA512/35 1312s ok 1518 /checksum/SHA512/36 1312s ok 1519 /checksum/SHA512/37 1312s ok 1520 /checksum/SHA512/38 1312s ok 1521 /checksum/SHA512/39 1312s ok 1522 /checksum/SHA512/40 1312s ok 1523 /checksum/SHA512/41 1312s ok 1524 /checksum/SHA512/42 1312s ok 1525 /checksum/SHA512/43 1312s ok 1526 /checksum/SHA512/44 1312s ok 1527 /checksum/SHA512/45 1312s ok 1528 /checksum/SHA512/46 1312s ok 1529 /checksum/SHA512/47 1312s ok 1530 /checksum/SHA512/48 1312s ok 1531 /checksum/SHA512/49 1312s ok 1532 /checksum/SHA512/50 1312s ok 1533 /checksum/SHA512/51 1312s ok 1534 /checksum/SHA512/52 1312s ok 1535 /checksum/SHA512/53 1312s ok 1536 /checksum/SHA512/54 1312s ok 1537 /checksum/SHA512/55 1312s ok 1538 /checksum/SHA512/56 1312s ok 1539 /checksum/SHA512/57 1312s ok 1540 /checksum/SHA512/58 1312s ok 1541 /checksum/SHA512/59 1312s ok 1542 /checksum/SHA512/60 1312s ok 1543 /checksum/SHA512/61 1312s ok 1544 /checksum/SHA512/62 1312s ok 1545 /checksum/SHA512/63 1312s ok 1546 /checksum/SHA512/64 1312s ok 1547 /checksum/SHA512/65 1312s ok 1548 /checksum/SHA512/66 1312s ok 1549 /checksum/SHA512/67 1312s ok 1550 /checksum/SHA512/68 1312s ok 1551 /checksum/SHA512/69 1312s ok 1552 /checksum/SHA512/70 1312s ok 1553 /checksum/SHA512/71 1312s ok 1554 /checksum/SHA512/72 1312s ok 1555 /checksum/SHA512/73 1312s ok 1556 /checksum/SHA512/74 1312s ok 1557 /checksum/SHA512/75 1312s ok 1558 /checksum/SHA512/76 1312s ok 1559 /checksum/SHA512/77 1312s ok 1560 /checksum/SHA512/78 1312s ok 1561 /checksum/SHA512/79 1312s ok 1562 /checksum/SHA512/80 1312s ok 1563 /checksum/SHA512/81 1312s ok 1564 /checksum/SHA512/82 1312s ok 1565 /checksum/SHA512/83 1312s ok 1566 /checksum/SHA512/84 1312s ok 1567 /checksum/SHA512/85 1312s ok 1568 /checksum/SHA512/86 1312s ok 1569 /checksum/SHA512/87 1312s ok 1570 /checksum/SHA512/88 1312s ok 1571 /checksum/SHA512/89 1312s ok 1572 /checksum/SHA512/90 1312s ok 1573 /checksum/SHA512/91 1312s ok 1574 /checksum/SHA512/92 1312s ok 1575 /checksum/SHA512/93 1312s ok 1576 /checksum/SHA512/94 1312s ok 1577 /checksum/SHA512/95 1312s ok 1578 /checksum/SHA512/96 1312s ok 1579 /checksum/SHA512/97 1312s ok 1580 /checksum/SHA512/98 1312s ok 1581 /checksum/SHA512/99 1312s ok 1582 /checksum/SHA512/100 1312s ok 1583 /checksum/SHA512/101 1312s ok 1584 /checksum/SHA512/102 1312s ok 1585 /checksum/SHA512/103 1312s ok 1586 /checksum/SHA512/104 1312s ok 1587 /checksum/SHA512/105 1312s ok 1588 /checksum/SHA512/106 1312s ok 1589 /checksum/SHA512/107 1312s ok 1590 /checksum/SHA512/108 1312s ok 1591 /checksum/SHA512/109 1312s ok 1592 /checksum/SHA512/110 1312s ok 1593 /checksum/SHA512/111 1312s ok 1594 /checksum/SHA512/112 1312s ok 1595 /checksum/SHA512/113 1312s ok 1596 /checksum/SHA512/114 1312s ok 1597 /checksum/SHA512/115 1312s ok 1598 /checksum/SHA512/116 1312s ok 1599 /checksum/SHA512/117 1312s ok 1600 /checksum/SHA512/118 1312s ok 1601 /checksum/SHA512/119 1312s ok 1602 /checksum/SHA512/120 1312s ok 1603 /checksum/SHA512/121 1312s ok 1604 /checksum/SHA512/122 1312s ok 1605 /checksum/SHA512/123 1312s ok 1606 /checksum/SHA512/124 1312s ok 1607 /checksum/SHA512/125 1312s ok 1608 /checksum/SHA512/126 1312s ok 1609 /checksum/SHA512/127 1312s ok 1610 /checksum/SHA512/128 1312s ok 1611 /checksum/SHA512/129 1312s ok 1612 /checksum/SHA512/130 1312s ok 1613 /checksum/SHA512/131 1312s ok 1614 /checksum/SHA512/132 1312s ok 1615 /checksum/SHA512/133 1312s ok 1616 /checksum/SHA512/134 1312s ok 1617 /checksum/SHA512/135 1312s ok 1618 /checksum/SHA512/136 1312s ok 1619 /checksum/SHA512/137 1312s ok 1620 /checksum/SHA512/138 1312s ok 1621 /checksum/SHA512/139 1312s ok 1622 /checksum/SHA512/140 1312s ok 1623 /checksum/SHA512/141 1312s ok 1624 /checksum/SHA512/142 1312s ok 1625 /checksum/SHA512/143 1312s ok 1626 /checksum/SHA512/144 1312s ok 1627 /checksum/SHA512/145 1312s ok 1628 /checksum/SHA512/146 1312s ok 1629 /checksum/SHA512/147 1312s ok 1630 /checksum/SHA512/148 1312s ok 1631 /checksum/SHA512/149 1312s ok 1632 /checksum/SHA512/150 1312s ok 1633 /checksum/SHA512/151 1312s ok 1634 /checksum/SHA512/152 1312s ok 1635 /checksum/SHA512/153 1312s ok 1636 /checksum/SHA512/154 1312s ok 1637 /checksum/SHA512/155 1312s ok 1638 /checksum/SHA512/156 1312s ok 1639 /checksum/SHA512/157 1312s ok 1640 /checksum/SHA512/158 1312s ok 1641 /checksum/SHA512/159 1312s ok 1642 /checksum/SHA512/160 1312s ok 1643 /checksum/SHA512/161 1312s ok 1644 /checksum/SHA512/162 1312s ok 1645 /checksum/SHA512/163 1312s ok 1646 /checksum/SHA512/164 1312s ok 1647 /checksum/SHA512/165 1312s ok 1648 /checksum/SHA512/166 1312s ok 1649 /checksum/SHA512/167 1312s ok 1650 /checksum/SHA512/168 1312s ok 1651 /checksum/SHA512/169 1312s ok 1652 /checksum/SHA512/170 1312s ok 1653 /checksum/SHA512/171 1312s ok 1654 /checksum/SHA512/172 1312s ok 1655 /checksum/SHA512/173 1312s ok 1656 /checksum/SHA512/174 1312s ok 1657 /checksum/SHA512/175 1312s ok 1658 /checksum/SHA512/176 1312s ok 1659 /checksum/SHA512/177 1312s ok 1660 /checksum/SHA512/178 1312s ok 1661 /checksum/SHA512/179 1312s ok 1662 /checksum/SHA512/180 1312s ok 1663 /checksum/SHA512/181 1312s ok 1664 /checksum/SHA512/182 1312s ok 1665 /checksum/SHA512/183 1312s ok 1666 /checksum/SHA512/string 1312s ok 1667 /checksum/SHA512/bytes 1312s # Start of reset tests 1312s ok 1668 /checksum/SHA512/reset/0 1312s ok 1669 /checksum/SHA512/reset/1 1312s ok 1670 /checksum/SHA512/reset/2 1312s ok 1671 /checksum/SHA512/reset/3 1312s ok 1672 /checksum/SHA512/reset/4 1312s ok 1673 /checksum/SHA512/reset/5 1312s ok 1674 /checksum/SHA512/reset/6 1312s ok 1675 /checksum/SHA512/reset/7 1312s ok 1676 /checksum/SHA512/reset/8 1312s ok 1677 /checksum/SHA512/reset/9 1312s ok 1678 /checksum/SHA512/reset/10 1312s ok 1679 /checksum/SHA512/reset/11 1312s ok 1680 /checksum/SHA512/reset/12 1312s ok 1681 /checksum/SHA512/reset/13 1312s ok 1682 /checksum/SHA512/reset/14 1312s ok 1683 /checksum/SHA512/reset/15 1312s ok 1684 /checksum/SHA512/reset/16 1312s ok 1685 /checksum/SHA512/reset/17 1312s ok 1686 /checksum/SHA512/reset/18 1312s ok 1687 /checksum/SHA512/reset/19 1312s ok 1688 /checksum/SHA512/reset/20 1312s ok 1689 /checksum/SHA512/reset/21 1312s ok 1690 /checksum/SHA512/reset/22 1312s ok 1691 /checksum/SHA512/reset/23 1312s ok 1692 /checksum/SHA512/reset/24 1312s ok 1693 /checksum/SHA512/reset/25 1312s ok 1694 /checksum/SHA512/reset/26 1312s ok 1695 /checksum/SHA512/reset/27 1312s ok 1696 /checksum/SHA512/reset/28 1312s ok 1697 /checksum/SHA512/reset/29 1312s ok 1698 /checksum/SHA512/reset/30 1312s ok 1699 /checksum/SHA512/reset/31 1312s ok 1700 /checksum/SHA512/reset/32 1312s ok 1701 /checksum/SHA512/reset/33 1312s ok 1702 /checksum/SHA512/reset/34 1312s ok 1703 /checksum/SHA512/reset/35 1312s ok 1704 /checksum/SHA512/reset/36 1312s ok 1705 /checksum/SHA512/reset/37 1312s ok 1706 /checksum/SHA512/reset/38 1312s ok 1707 /checksum/SHA512/reset/39 1312s ok 1708 /checksum/SHA512/reset/40 1312s ok 1709 /checksum/SHA512/reset/41 1312s ok 1710 /checksum/SHA512/reset/42 1312s ok 1711 /checksum/SHA512/reset/43 1312s ok 1712 /checksum/SHA512/reset/44 1312s ok 1713 /checksum/SHA512/reset/45 1312s ok 1714 /checksum/SHA512/reset/46 1312s ok 1715 /checksum/SHA512/reset/47 1312s ok 1716 /checksum/SHA512/reset/48 1312s ok 1717 /checksum/SHA512/reset/49 1312s ok 1718 /checksum/SHA512/reset/50 1312s ok 1719 /checksum/SHA512/reset/51 1312s ok 1720 /checksum/SHA512/reset/52 1312s ok 1721 /checksum/SHA512/reset/53 1312s ok 1722 /checksum/SHA512/reset/54 1312s ok 1723 /checksum/SHA512/reset/55 1312s ok 1724 /checksum/SHA512/reset/56 1312s ok 1725 /checksum/SHA512/reset/57 1312s ok 1726 /checksum/SHA512/reset/58 1312s ok 1727 /checksum/SHA512/reset/59 1312s ok 1728 /checksum/SHA512/reset/60 1312s ok 1729 /checksum/SHA512/reset/61 1312s ok 1730 /checksum/SHA512/reset/62 1312s ok 1731 /checksum/SHA512/reset/63 1312s ok 1732 /checksum/SHA512/reset/64 1312s ok 1733 /checksum/SHA512/reset/65 1312s ok 1734 /checksum/SHA512/reset/66 1312s ok 1735 /checksum/SHA512/reset/67 1312s ok 1736 /checksum/SHA512/reset/68 1312s ok 1737 /checksum/SHA512/reset/69 1312s ok 1738 /checksum/SHA512/reset/70 1312s ok 1739 /checksum/SHA512/reset/71 1312s ok 1740 /checksum/SHA512/reset/72 1312s ok 1741 /checksum/SHA512/reset/73 1312s ok 1742 /checksum/SHA512/reset/74 1312s ok 1743 /checksum/SHA512/reset/75 1312s ok 1744 /checksum/SHA512/reset/76 1312s ok 1745 /checksum/SHA512/reset/77 1312s ok 1746 /checksum/SHA512/reset/78 1312s ok 1747 /checksum/SHA512/reset/79 1312s ok 1748 /checksum/SHA512/reset/80 1312s ok 1749 /checksum/SHA512/reset/81 1312s ok 1750 /checksum/SHA512/reset/82 1312s ok 1751 /checksum/SHA512/reset/83 1312s ok 1752 /checksum/SHA512/reset/84 1312s ok 1753 /checksum/SHA512/reset/85 1312s ok 1754 /checksum/SHA512/reset/86 1312s ok 1755 /checksum/SHA512/reset/87 1312s ok 1756 /checksum/SHA512/reset/88 1312s ok 1757 /checksum/SHA512/reset/89 1312s ok 1758 /checksum/SHA512/reset/90 1312s ok 1759 /checksum/SHA512/reset/91 1312s ok 1760 /checksum/SHA512/reset/92 1312s ok 1761 /checksum/SHA512/reset/93 1312s ok 1762 /checksum/SHA512/reset/94 1312s ok 1763 /checksum/SHA512/reset/95 1312s ok 1764 /checksum/SHA512/reset/96 1312s ok 1765 /checksum/SHA512/reset/97 1312s ok 1766 /checksum/SHA512/reset/98 1312s ok 1767 /checksum/SHA512/reset/99 1312s ok 1768 /checksum/SHA512/reset/100 1312s ok 1769 /checksum/SHA512/reset/101 1312s ok 1770 /checksum/SHA512/reset/102 1312s ok 1771 /checksum/SHA512/reset/103 1312s ok 1772 /checksum/SHA512/reset/104 1312s ok 1773 /checksum/SHA512/reset/105 1312s ok 1774 /checksum/SHA512/reset/106 1312s ok 1775 /checksum/SHA512/reset/107 1312s ok 1776 /checksum/SHA512/reset/108 1312s ok 1777 /checksum/SHA512/reset/109 1312s ok 1778 /checksum/SHA512/reset/110 1312s ok 1779 /checksum/SHA512/reset/111 1312s ok 1780 /checksum/SHA512/reset/112 1312s ok 1781 /checksum/SHA512/reset/113 1312s ok 1782 /checksum/SHA512/reset/114 1312s ok 1783 /checksum/SHA512/reset/115 1312s ok 1784 /checksum/SHA512/reset/116 1312s ok 1785 /checksum/SHA512/reset/117 1312s ok 1786 /checksum/SHA512/reset/118 1312s ok 1787 /checksum/SHA512/reset/119 1312s ok 1788 /checksum/SHA512/reset/120 1312s ok 1789 /checksum/SHA512/reset/121 1312s ok 1790 /checksum/SHA512/reset/122 1312s ok 1791 /checksum/SHA512/reset/123 1312s ok 1792 /checksum/SHA512/reset/124 1312s ok 1793 /checksum/SHA512/reset/125 1312s ok 1794 /checksum/SHA512/reset/126 1312s ok 1795 /checksum/SHA512/reset/127 1312s ok 1796 /checksum/SHA512/reset/128 1312s ok 1797 /checksum/SHA512/reset/129 1312s ok 1798 /checksum/SHA512/reset/130 1312s ok 1799 /checksum/SHA512/reset/131 1312s ok 1800 /checksum/SHA512/reset/132 1312s ok 1801 /checksum/SHA512/reset/133 1312s ok 1802 /checksum/SHA512/reset/134 1312s ok 1803 /checksum/SHA512/reset/135 1312s ok 1804 /checksum/SHA512/reset/136 1312s ok 1805 /checksum/SHA512/reset/137 1312s ok 1806 /checksum/SHA512/reset/138 1312s ok 1807 /checksum/SHA512/reset/139 1312s ok 1808 /checksum/SHA512/reset/140 1312s ok 1809 /checksum/SHA512/reset/141 1312s ok 1810 /checksum/SHA512/reset/142 1312s ok 1811 /checksum/SHA512/reset/143 1312s ok 1812 /checksum/SHA512/reset/144 1312s ok 1813 /checksum/SHA512/reset/145 1312s ok 1814 /checksum/SHA512/reset/146 1312s ok 1815 /checksum/SHA512/reset/147 1312s ok 1816 /checksum/SHA512/reset/148 1312s ok 1817 /checksum/SHA512/reset/149 1312s ok 1818 /checksum/SHA512/reset/150 1312s ok 1819 /checksum/SHA512/reset/151 1312s ok 1820 /checksum/SHA512/reset/152 1312s ok 1821 /checksum/SHA512/reset/153 1312s ok 1822 /checksum/SHA512/reset/154 1312s ok 1823 /checksum/SHA512/reset/155 1312s ok 1824 /checksum/SHA512/reset/156 1312s ok 1825 /checksum/SHA512/reset/157 1312s ok 1826 /checksum/SHA512/reset/158 1312s ok 1827 /checksum/SHA512/reset/159 1312s ok 1828 /checksum/SHA512/reset/160 1312s ok 1829 /checksum/SHA512/reset/161 1312s ok 1830 /checksum/SHA512/reset/162 1312s ok 1831 /checksum/SHA512/reset/163 1312s ok 1832 /checksum/SHA512/reset/164 1312s ok 1833 /checksum/SHA512/reset/165 1312s ok 1834 /checksum/SHA512/reset/166 1312s ok 1835 /checksum/SHA512/reset/167 1312s ok 1836 /checksum/SHA512/reset/168 1312s ok 1837 /checksum/SHA512/reset/169 1312s ok 1838 /checksum/SHA512/reset/170 1312s ok 1839 /checksum/SHA512/reset/171 1312s ok 1840 /checksum/SHA512/reset/172 1312s ok 1841 /checksum/SHA512/reset/173 1312s ok 1842 /checksum/SHA512/reset/174 1312s ok 1843 /checksum/SHA512/reset/175 1312s ok 1844 /checksum/SHA512/reset/176 1312s ok 1845 /checksum/SHA512/reset/177 1312s ok 1846 /checksum/SHA512/reset/178 1312s ok 1847 /checksum/SHA512/reset/179 1312s ok 1848 /checksum/SHA512/reset/180 1312s ok 1849 /checksum/SHA512/reset/181 1312s ok 1850 /checksum/SHA512/reset/182 1312s ok 1851 /checksum/SHA512/reset/183 1312s # End of reset tests 1312s # End of SHA512 tests 1312s # End of checksum tests 1312s ok - glib/checksum.test 1312s # Running test: glib/debugcontroller.test 1312s TAP version 14 1312s # random seed: R02S2a99a2b0cb27adcf151070c6810c3605 1312s 1..3 1312s # Start of debug-controller tests 1312s # Start of dbus tests 1312s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1312s # GLib-GIO-DEBUG: Debug output enabled 1312s # GLib-GIO-DEBUG: Debug output disabled 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s ok 1 /debug-controller/dbus/basic 1312s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1312s ok 2 /debug-controller/dbus/duplicate 1312s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1312s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1312s # End of dbus tests 1312s # End of debug-controller tests 1312s ok - glib/debugcontroller.test 1312s # Running test: glib/repository.test 1312s TAP version 14 1312s # random seed: R02Sc47a539675fc0dcca7196cce6ba7bc19 1312s 1..24 1312s # Start of repository tests 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/basic/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/basic/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/basic/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/basic/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/basic/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/basic/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/basic/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/basic/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/basic/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/basic/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1312s ok 1 /repository/basic 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/info/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/info/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/info/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/info/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/info/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/info/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/info/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/info/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/info/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/info/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1312s ok 2 /repository/info 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/dependencies/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/dependencies/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/dependencies/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1312s ok 3 /repository/dependencies 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/arg-info/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/arg-info/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/arg-info/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1312s ok 4 /repository/arg-info 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/callable-info/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/callable-info/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/callable-info/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1312s ok 5 /repository/callable-info 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/callback-info/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/callback-info/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/callback-info/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1312s ok 6 /repository/callback-info 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/char-types/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/char-types/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/char-types/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/char-types/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/char-types/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/char-types/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/char-types/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/char-types/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/char-types/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/char-types/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1312s ok 7 /repository/char-types 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/constructor-return-type/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1312s ok 8 /repository/constructor-return-type 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/enum-info-c-identifier/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1312s ok 9 /repository/enum-info-c-identifier 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/enum-info-static-methods/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/enum-info-static-methods summary: Test an enum with methods 1312s ok 10 /repository/enum-info-static-methods 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/error-quark/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/error-quark/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/error-quark/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/error-quark summary: Test finding an error quark by error domain 1312s ok 11 /repository/error-quark 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/flags-info-c-identifier/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1312s ok 12 /repository/flags-info-c-identifier 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/fundamental-ref-func/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1312s ok 13 /repository/fundamental-ref-func 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/instance-method-ownership-transfer/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1312s ok 14 /repository/instance-method-ownership-transfer 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/object-gtype-interfaces/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1312s ok 15 /repository/object-gtype-interfaces 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/signal-info-with-array-length-arg/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1312s ok 16 /repository/signal-info-with-array-length-arg 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/type-info-name/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/type-info-name/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/type-info-name/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1312s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1312s ok 17 /repository/type-info-name 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1312s ok 18 /repository/vfunc-info-with-no-invoker 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1312s ok 19 /repository/vfunc-info-with-invoker-on-interface 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1312s ok 20 /repository/vfunc-info-with-invoker-on-object 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/find-by-gtype/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/find-by-gtype summary: Test finding a GType 1312s ok 21 /repository/find-by-gtype 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/loaded-namespaces/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1312s ok 22 /repository/loaded-namespaces 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/dup_default/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/dup_default/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/dup_default/.dirs/runtime 1312s ok 23 /repository/dup_default 1312s # Start of base-info tests 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_UB03J3/repository/base-info/clear/.dirs/runtime 1312s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1312s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1312s ok 24 /repository/base-info/clear 1312s # End of base-info tests 1312s # End of repository tests 1312s ok - glib/repository.test 1312s # Running test: glib/gdbus-message.test 1312s TAP version 14 1312s # random seed: R02S7b41a98040f12b70986200b3955c97e5 1312s 1..3 1312s # Start of gdbus tests 1312s # Start of message tests 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_J2L8J3/gdbus/message/lock/.dirs/runtime 1312s ok 1 /gdbus/message/lock 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_J2L8J3/gdbus/message/copy/.dirs/runtime 1312s ok 2 /gdbus/message/copy 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/system-config2 1312s ok - glib/gdbus-message.test 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_J2L8J3/gdbus/message/bytes-needed/.dirs/runtime 1312s # Vector: 0 1312s # Vector: 1 1312s # Vector: 2 1312s # Vector: 3 1312s # Vector: 4 1312s # Vector: 5 1312s ok 3 /gdbus/message/bytes-needed 1312s # End of message tests 1312s # End of gdbus tests 1312s # Running test: glib/accumulator.test 1312s ok - glib/accumulator.test 1312s TAP version 14 1312s # random seed: R02S4f934481f7bf3bc09e5ca35e931b630c 1312s 1..1 1312s # Start of gobject tests 1312s ok 1 /gobject/accumulator 1312s # End of gobject tests 1312s # Running test: glib/markup.test 1312s TAP version 14 1312s # random seed: R02S0f2453688bc7b82431a8768343d7195b 1312s 1..1 1312s # Start of markup tests 1312s ok 1 /markup/stack 1312s # End of markup tests 1312s TAP version 14 1312s # random seed: R02Sdeda6f8d35468bab9e242dbd3fda90fa 1312s 1..2 1312s # Start of atomic tests 1312s ok 1 /atomic/types 1312s ok - glib/markup.test 1312s # Running test: glib/atomic-c-11.test 1312s ok 2 /atomic/threaded 1312s # End of atomic tests 1312s ok - glib/atomic-c-11.test 1312s # Running test: glib/mimeapps.test 1312s TAP version 14 1312s # random seed: R02Sa2d8c0c59b86baba0e61c4a92ad67270 1312s 1..13 1312s # Start of appinfo tests 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1312s ok 1 /appinfo/all 1312s # Start of mime tests 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config 1312s ok 2 /appinfo/mime/api 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config 1312s ok 3 /appinfo/mime/default 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config 1312s ok 4 /appinfo/mime/file 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/config 1312s ok 5 /appinfo/mime/scheme-handler 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config 1312s ok 6 /appinfo/mime/default-last-used 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/config 1312s ok 7 /appinfo/mime/ignore-nonexisting 1312s # End of mime tests 1312s # Start of mime-symlinked tests 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1312s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config 1312s ok 8 /appinfo/mime-symlinked/api 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config 1312s ok 9 /appinfo/mime-symlinked/default 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config 1312s ok 10 /appinfo/mime-symlinked/file 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1312s ok 11 /appinfo/mime-symlinked/scheme-handler 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1312s ok 12 /appinfo/mime-symlinked/default-last-used 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1312s # removing '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1312s # creating '/tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1312s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_JCFBK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1312s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1312s # End of mime-symlinked tests 1312s # End of appinfo tests 1312s ok - glib/mimeapps.test 1312s # Running test: glib/task.test 1312s TAP version 14 1312s # random seed: R02Sed22fd90f9f2e2b40f84eb83edf560d9 1312s 1..37 1312s # Start of gtask tests 1312s ok 1 /gtask/basic 1312s ok 2 /gtask/error 1312s ok 3 /gtask/error-literal 1312s ok 4 /gtask/error-literal-from-variable 1312s ok 5 /gtask/return-from-same-iteration 1312s ok 6 /gtask/return-from-toplevel 1312s ok 7 /gtask/return-from-anon-thread 1312s ok 8 /gtask/return-from-wrong-thread 1312s ok 9 /gtask/no-callback 1312s ok 10 /gtask/report-error 1312s ok 11 /gtask/priority 1312s ok 12 /gtask/name 1312s ok 13 /gtask/static-name 1312s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1313s ok 14 /gtask/asynchronous-cancellation 1313s ok 15 /gtask/check-cancellable 1313s ok 16 /gtask/return-if-cancelled 1313s ok 17 /gtask/run-in-thread 1313s ok 18 /gtask/run-in-thread-sync 1313s ok 19 /gtask/run-in-thread-priority 1313s ok 20 /gtask/run-in-thread-nested 1313s ok 21 /gtask/run-in-thread-overflow 1313s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1313s # GLib-GIO-DEBUG: GTask 0x86777b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1313s # GLib-GIO-DEBUG: GTask 0x86360a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1313s ok 22 /gtask/return-on-cancel 1313s # GLib-GIO-DEBUG: GTask 0x86776b8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1313s ok 23 /gtask/return-on-cancel-sync 1313s # GLib-GIO-DEBUG: GTask 0x86778a8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1313s ok 24 /gtask/return-on-cancel-atomic 1313s ok 25 /gtask/return-pointer 1313s ok 26 /gtask/return-value 1313s ok 27 /gtask/return-prefixed-error 1313s ok 28 /gtask/object-keepalive 1313s ok 29 /gtask/legacy-error 1313s ok 30 /gtask/finalize-without-return 1313s ok 31 /gtask/thread-pool-stress # SKIP Skipping thread pool stress test in non-thorough mode 1313s # Start of name tests 1313s ok 32 /gtask/name/macro-wrapper 1313s # End of name tests 1313s # Start of return tests 1313s ok 33 /gtask/return/error-first 1313s ok 34 /gtask/return/value-first 1313s # Start of in-idle tests 1313s ok 35 /gtask/return/in-idle/error-first 1313s ok 36 /gtask/return/in-idle/value-first 1313s # End of in-idle tests 1313s # End of return tests 1313s # Start of attach-source tests 1313s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1313s ok 37 /gtask/attach-source/set-name 1313s # End of attach-source tests 1313s # End of gtask tests 1313s ok - glib/task.test 1313s # Running test: glib/logging.test 1313s TAP version 14 1313s # random seed: R02Seb560761649cd8432501ad4f30572e54 1313s 1..20 1313s # Start of logging tests 1314s ok 1 /logging/default-handler 1314s ok 2 /logging/journald-handler 1314s ok 3 /logging/warnings 1314s ok 4 /logging/fatal-log-mask 1314s ok 5 /logging/always-fatal 1314s # bu-DEBUG: message 1314s # ba-DEBUG: message 1314s # ba-INFO: message 1314s ok 6 /logging/set-handler 1314s ok 7 /logging/print-handler 1314s ok 8 /logging/printerr-handler 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1314s # The Log Message Handler 1314s # 1314s # The Good Fail Message Handler 1314s # 1314s ok 9 /logging/653052 1314s ok 10 /logging/gibberish 1314s # Start of default-handler tests 1314s # Start of subprocess tests 1314s # End of subprocess tests 1314s # End of default-handler tests 1314s # End of logging tests 1314s # Start of structured-logging tests 1314s ok 11 /structured-logging/no-state 1314s ok 12 /structured-logging/some-state 1314s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1314s ok 13 /structured-logging/recursion-overflow 1314s ok 14 /structured-logging/robustness 1314s ok 15 /structured-logging/roundtrip1 1314s ok 16 /structured-logging/roundtrip2 1314s ok 17 /structured-logging/roundtrip3 1314s ok - glib/logging.test 1314s ok 18 /structured-logging/variant1 1314s ok 19 /structured-logging/variant2 1314s # Running test: glib/gdbus-sasl.test 1314s ok 20 /structured-logging/set-writer-func-twice 1314s # End of structured-logging tests 1314s TAP version 14 1314s # random seed: R02Sfec7df85be9b506f33c1809b6f50b60c 1314s 1..1 1314s # Start of gdbus tests 1314s # Start of sasl tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_T1XHK3/gdbus/sasl/server/.dirs/runtime 1314s # New handshake: EXTERNAL with incorrect initial response 1314s # C:“AUTH EXTERNAL 30” 1314s # Expect: /^REJECTED.*$/ 1314s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1314s # New handshake: EXTERNAL without initial response, failing to authenticate 1314s # C:“AUTH EXTERNAL” 1314s # Expect: /^DATA$/ 1314s # S:“DATA” 1314s # C:“DATA 30” 1314s # Expect: /^REJECTED.*$/ 1314s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1314s # New handshake: EXTERNAL with initial response 1314s # C:“AUTH EXTERNAL 31303030” 1314s # Expect: /^OK [0-9a-f]+$/ 1314s # S:“OK 294436de9a4c335d226ce33d6989b81b” 1314s # New handshake: EXTERNAL without initial response 1314s # C:“AUTH EXTERNAL” 1314s # Expect: /^DATA$/ 1314s # S:“DATA” 1314s # C:“DATA 31303030” 1314s # Expect: /^OK [0-9a-f]+$/ 1314s # S:“OK 294436de9a4c335d226ce33d6989b81b” 1314s # New handshake: EXTERNAL with empty authorization identity 1314s # C:“AUTH EXTERNAL” 1314s # Expect: /^DATA$/ 1314s # S:“DATA” 1314s # C:“DATA” 1314s # Expect: /^OK [0-9a-f]+$/ 1314s # S:“OK 294436de9a4c335d226ce33d6989b81b” 1314s # New handshake: EXTERNAL with empty authorization identity and whitespace 1314s # C:“AUTH EXTERNAL” 1314s # Expect: /^DATA$/ 1314s # S:“DATA” 1314s # C:“DATA ” 1314s # Expect: /^OK [0-9a-f]+$/ 1314s # S:“OK 294436de9a4c335d226ce33d6989b81b” 1314s ok 1 /gdbus/sasl/server 1314s # End of sasl tests 1314s # End of gdbus tests 1314s ok - glib/gdbus-sasl.test 1314s # Running test: glib/power-profile-monitor.test 1314s TAP version 14 1314s # random seed: R02S0af0613a673b03c59530850c7c27ec44 1314s 1..1 1314s # Start of power-profile-monitor tests 1314s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1314s ok 1 /power-profile-monitor/default 1314s # End of power-profile-monitor tests 1314s ok - glib/power-profile-monitor.test 1314s # Running test: glib/sandbox.test 1314s TAP version 14 1314s # random seed: R02S7eee0e6af61bf7bcfdf2141a16e284fd 1314s 1..4 1314s # Start of sandbox tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3AIMK3/sandbox/none/.dirs/runtime 1314s ok 1 /sandbox/none 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3AIMK3/sandbox/snap/.dirs/runtime 1314s # Created snap.yaml in /tmp/test_sandbox_3AIMK3/snap/current/meta/snap.yaml 1314s ok 2 /sandbox/snap 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3AIMK3/sandbox/classic-snap/.dirs/runtime 1314s # Created snap.yaml in /tmp/test_sandbox_3AIMK3/snap/current/meta/snap.yaml 1314s ok 3 /sandbox/classic-snap 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/runtime 1314s # Creating .flatpak-info in /tmp/test_sandbox_3AIMK3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1314s ok 4 /sandbox/flatpak 1314s # End of sandbox tests 1314s ok - glib/sandbox.test 1314s # Running test: glib/gdbus-error.test 1314s TAP version 14 1314s # random seed: R02S96683450a075d4dbed9e28a5b86fa038 1314s 1..4 1314s # Start of gdbus tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8HZMK3/gdbus/registered-errors/.dirs/runtime 1314s ok - glib/gdbus-error.test 1314s # Running test: glib/file-thumbnail.test 1314s ok 1 /gdbus/registered-errors 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8HZMK3/gdbus/unregistered-errors/.dirs/runtime 1314s ok 2 /gdbus/unregistered-errors 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8HZMK3/gdbus/transparent-gerror/.dirs/runtime 1314s ok 3 /gdbus/transparent-gerror 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8HZMK3/gdbus/register-error/.dirs/runtime 1314s ok 4 /gdbus/register-error 1314s # End of gdbus tests 1314s TAP version 14 1314s # random seed: R02S905a7ff8ecc04057108ff8c5a27007cb 1314s 1..7 1314s # Start of file-thumbnail tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/runtime 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 1 /file-thumbnail/fail 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/runtime 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 2 /file-thumbnail/size-priority 1314s # Start of valid tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/runtime 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 3 /file-thumbnail/valid/normal 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/runtime 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 4 /file-thumbnail/valid/large 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/runtime 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 5 /file-thumbnail/valid/x-large 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/runtime 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 6 /file-thumbnail/valid/xx-large 1314s # End of valid tests 1314s # Start of unknown tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/runtime 1314s # Created test thumbnail at /tmp/test_file-thumbnail_77UMK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1314s ok 7 /file-thumbnail/unknown/super-large 1314s # End of unknown tests 1314s # End of file-thumbnail tests 1314s TAP version 14 1314s # random seed: R02S27c541191265650cb4341d6efb74f341 1314s 1..1 1314s # Start of gdbus tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_O5WLK3/gdbus/connection-loss/.dirs/runtime 1314s ok - glib/file-thumbnail.test 1314s # Running test: glib/gdbus-connection-loss.test 1314s ok 1 /gdbus/connection-loss 1314s # End of gdbus tests 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s ok - glib/gdbus-connection-loss.test 1314s # Running test: glib/utils-c-17.test 1314s TAP version 14 1314s # random seed: R02S353d24ef808b459809a33b9278c17250 1314s 1..41 1314s # Start of utils tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/language-names/.dirs/runtime 1314s ok 1 /utils/language-names 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/locale-variants/.dirs/runtime 1314s # Testing locale ‘en’ 1314s # Testing locale ‘sr@latin’ 1314s # Testing locale ‘fr_BE’ 1314s # Testing locale ‘sr_SR@latin’ 1314s # Testing locale ‘sr_SR@latin.UTF-8’ 1314s # Testing locale ‘sr@latin_invalid’ 1314s # Testing locale ‘sr.UTF-8@latin’ 1314s # Testing locale ‘sr.UTF-8_latin’ 1314s # Testing locale ‘sr.UTF-8@latin_invalid’ 1314s ok 2 /utils/locale-variants 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/version/.dirs/runtime 1314s ok 3 /utils/version 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/appname/.dirs/runtime 1314s ok 4 /utils/appname 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/prgname-thread-safety/.dirs/runtime 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1314s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1314s ok 5 /utils/prgname-thread-safety 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/tmpdir/.dirs/runtime 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1314s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1314s Unable to clean up temporary directory /tmp/test_utils-c-17_VXPPK3/utils/tmpdir: No such file or directory 1314s ok 6 /utils/tmpdir 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/basic_bits/.dirs/runtime 1314s ok 7 /utils/basic_bits 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/bits/.dirs/runtime 1314s ok 8 /utils/bits 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/swap/.dirs/runtime 1314s ok 9 /utils/swap 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/find-program/.dirs/runtime 1314s ok 10 /utils/find-program 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/find-program-for-path/.dirs/runtime 1314s ok 11 /utils/find-program-for-path 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/debug/.dirs/runtime 1314s Unable to clean up temporary directory /tmp/test_utils-c-17_VXPPK3/utils/debug: No such file or directory 1314s ok 12 /utils/debug 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/codeset/.dirs/runtime 1314s ok 13 /utils/codeset 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/codeset2/.dirs/runtime 1314s Unable to clean up temporary directory /tmp/test_utils-c-17_VXPPK3/utils/codeset2: No such file or directory 1314s ok 14 /utils/codeset2 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/console-charset/.dirs/runtime 1314s ok 15 /utils/console-charset 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/gettext/.dirs/runtime 1314s ok 16 /utils/gettext 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/username/.dirs/runtime 1314s ok 17 /utils/username 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/realname/.dirs/runtime 1314s ok 18 /utils/realname 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/hostname/.dirs/runtime 1314s ok 19 /utils/hostname 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/os-info/.dirs/runtime 1314s # NAME: Ubuntu 1314s ok 20 /utils/os-info 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/.dirs/runtime 1314s ok 21 /utils/clear-pointer 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer-cast/.dirs/runtime 1314s ok 22 /utils/clear-pointer-cast 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/take-pointer/.dirs/runtime 1314s ok 23 /utils/take-pointer 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/clear-source/.dirs/runtime 1314s ok 24 /utils/clear-source 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/misc-mem/.dirs/runtime 1314s ok 25 /utils/misc-mem 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/.dirs/runtime 1314s # /utils/aligned-mem summary: Aligned memory allocator 1314s # Alignment must not be zero 1314s # Alignment must be a power of two 1314s # Alignment must be a multiple of sizeof(void*) 1314s ok 26 /utils/aligned-mem 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/free-sized/.dirs/runtime 1314s # /utils/free-sized summary: Check that g_free_sized() works 1314s ok 27 /utils/free-sized 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/nullify/.dirs/runtime 1314s ok 28 /utils/nullify 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/atexit/.dirs/runtime 1314s Unable to clean up temporary directory /tmp/test_utils-c-17_VXPPK3/utils/atexit: No such file or directory 1314s ok 29 /utils/atexit 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/check-setuid/.dirs/runtime 1314s ok 30 /utils/check-setuid 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/int-limits/.dirs/runtime 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1314s ok 31 /utils/int-limits 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/clear-list/.dirs/runtime 1314s ok 32 /utils/clear-list 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/clear-slist/.dirs/runtime 1314s ok 33 /utils/clear-slist 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/steal-handle-id/.dirs/runtime 1314s ok 34 /utils/steal-handle-id 1314s # Start of user-special-dirs tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/desktop/.dirs/runtime 1314s ok 35 /utils/user-special-dirs/desktop 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1314s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1314s Unable to clean up temporary directory /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/load-unlocked: No such file or directory 1314s ok 36 /utils/user-special-dirs/load-unlocked 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1314s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1314s Unable to clean up temporary directory /tmp/test_utils-c-17_VXPPK3/utils/user-special-dirs/reload-leaks: No such file or directory 1314s ok 37 /utils/user-special-dirs/reload-leaks 1314s # End of user-special-dirs tests 1314s # Start of clear-pointer tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/clear-pointer/side-effects/.dirs/runtime 1314s ok 38 /utils/clear-pointer/side-effects 1314s # End of clear-pointer tests 1314s # Start of aligned-mem tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/alignment/.dirs/runtime 1314s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1314s ok 39 /utils/aligned-mem/alignment 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/zeroed/.dirs/runtime 1314s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1314s ok 40 /utils/aligned-mem/zeroed 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_VXPPK3/utils/aligned-mem/free-sized/.dirs/runtime 1314s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1314s ok - glib/utils-c-17.test 1314s # Running test: glib/glistmodel.test 1314s ok 41 /utils/aligned-mem/free-sized 1314s # Start of subprocess tests 1314s # End of subprocess tests 1314s # End of aligned-mem tests 1314s # End of utils tests 1314s TAP version 14 1314s # random seed: R02Sbf41cf4d0634a4254d4f40967b409ca5 1314s 1..18 1314s # Start of glistmodel tests 1314s # Start of store tests 1314s ok 1 /glistmodel/store/properties 1314s ok 2 /glistmodel/store/non-gobjects 1314s ok 3 /glistmodel/store/boundaries 1314s ok 4 /glistmodel/store/refcounts 1314s ok 5 /glistmodel/store/sorted 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1314s ok 6 /glistmodel/store/splice-replace-middle 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1314s ok 7 /glistmodel/store/splice-replace-all 1314s ok 8 /glistmodel/store/splice-noop 1314s ok 9 /glistmodel/store/splice-remove-multiple 1314s ok 10 /glistmodel/store/splice-add-multiple 1314s ok 11 /glistmodel/store/splice-wrong-type 1314s ok 12 /glistmodel/store/item-type 1314s ok 13 /glistmodel/store/remove-all 1314s ok - glib/glistmodel.test 1314s ok 14 /glistmodel/store/sort 1314s ok 15 /glistmodel/store/get-item-cache 1314s ok 16 /glistmodel/store/items-changed 1314s ok 17 /glistmodel/store/past-end 1314s ok 18 /glistmodel/store/find 1314s # End of store tests 1314s # End of glistmodel tests 1314s # Running test: glib/readwrite.test 1314s TAP version 14 1314s # random seed: R02S7ff6a4bc10b39fc88f6b709a416b2ed0 1314s 1..3 1314s # Start of readwrite tests 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1314s ok 1 /readwrite/test_g_file_open_readwrite 1314s ok 2 /readwrite/test_g_file_create_readwrite 1314s ok 3 /readwrite/test_g_file_replace_readwrite 1314s # End of readwrite tests 1314s ok - glib/readwrite.test 1314s # Running test: glib/g-file-info-filesystem-readonly.test 1314s TAP version 14 1314s # random seed: R02Sd488488e11a309411e8522fe629e7d8d 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1314s 1..2 1314s # Start of g-file-info-filesystem-readonly tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1314s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_OMBOK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1314s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1314s # End of g-file-info-filesystem-readonly tests 1314s ok - glib/g-file-info-filesystem-readonly.test 1314s # Running test: glib/socket-listener.test 1314s TAP version 14 1314s # random seed: R02Sfcbdcdc7c74bda14787b19a1e933fdbe 1314s 1..4 1314s # Start of socket-listener tests 1314s ok 1 /socket-listener/event-signal 1314s # Start of accept tests 1314s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1314s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdeb8678 and GSocketClientAsyncConnectData 0xdeb8630 1314s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1314s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdebc558 and GSocketClientAsyncConnectData 0xdebc500 1314s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1314s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdebca18 and GSocketClientAsyncConnectData 0xdebc9c0 1314s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1314s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdebcf88 and GSocketClientAsyncConnectData 0xdebcf30 1314s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1314s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdebd4b8 and GSocketClientAsyncConnectData 0xdebd460 1314s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1314s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1314s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdebefa8 for GSocketClientAsyncConnectData 0xdeb8630 1314s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1314s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1314s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdec0258 for GSocketClientAsyncConnectData 0xdebc500 1314s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1314s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1314s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdec0658 for GSocketClientAsyncConnectData 0xdebc9c0 1314s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1314s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1314s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdec0bf8 for GSocketClientAsyncConnectData 0xdebcf30 1314s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1314s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1314s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdebe918 for GSocketClientAsyncConnectData 0xdebd460 1314s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1314s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1314s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1314s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1314s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1314s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1314s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1314s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1314s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1314s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1314s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1314s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1314s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1314s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1314s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1314s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1314s ok 2 /socket-listener/accept/multi-simultaneously 1314s # End of accept tests 1314s # Start of add-any-inet-port tests 1314s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1314s # Test 0 1314s # Test 1 1314s # Test 2 1314s # Test 3 1314s # Test 4 1314s # Test 5 1314s # Test 6 1314s # Test 7 1314s # Test 8 1314s # Test 9 1314s # Test 10 1314s ok 3 /socket-listener/add-any-inet-port/listen-failures 1314s # End of add-any-inet-port tests 1314s # Start of add-inet-port tests 1314s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1314s # Test 0 1314s # Test 1 1314s # Test 2 1314s # Test 3 1314s # Test 4 1314s # Test 5 1314s # Test 6 1314s # Test 7 1314s # Test 8 1314s # Test 9 1314s # Test 10 1314s ok 4 /socket-listener/add-inet-port/listen-failures 1314s # End of add-inet-port tests 1314s # End of socket-listener tests 1314s ok - glib/socket-listener.test 1314s # Running test: glib/documentportal.test 1314s TAP version 14 1314s # random seed: R02S52ff78fa83db34da1bbddcc89781f1f7 1314s 1..6 1314s # Start of document-portal tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/system-config1:/tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/system-data1:/tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_W8ANK3/document-portal/add-uri/.dirs/runtime 1314s # Created mount point /tmp/test_documentportal_W8ANK3/fake-document-portal-XJD7MK3/documents 1314s # Acquired a message bus connection 1314s # Acquired the name org.freedesktop.portal.Documents 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1314s # Creating Document ID document-id-0 folder 1314s # Creating Document ID document-id-0 mapped to FD 13 (/tmp/test_documentportal_W8ANK3/test_document_portal_add_uri_2I6MK3) 1314s # fake-document-portal cancelled 1314s ok 1 /document-portal/add-uri 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_W8ANK3/document-portal/add-not-existent-uri/.dirs/runtime 1314s # Created mount point /tmp/test_documentportal_W8ANK3/fake-document-portal-X1HSNK3/documents 1314s # Acquired a message bus connection 1314s # Acquired the name org.freedesktop.portal.Documents 1314s # fake-document-portal cancelled 1314s ok 2 /document-portal/add-not-existent-uri 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_W8ANK3/document-portal/add-existent-and-not-existent-uri/.dirs/runtime 1314s # Created mount point /tmp/test_documentportal_W8ANK3/fake-document-portal-X6JPNK3/documents 1314s # Acquired a message bus connection 1314s # Acquired the name org.freedesktop.portal.Documents 1314s # Creating Document ID document-id-0 folder 1314s # Creating Document ID document-id-0 mapped to FD 20 (/tmp/test_documentportal_W8ANK3/test_document_portal_add_existent_and_not_existent_uris_BNNNK3) 1314s # Creating Document ID document-id-1 folder 1314s # Creating Document ID document-id-1 mapped to FD 21 (/tmp/test_documentportal_W8ANK3/test_document_portal_add_existent_and_not_existent_uris_BNNNK3) 1314s # fake-document-portal cancelled 1314s ok 3 /document-portal/add-existent-and-not-existent-uri 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/system-config1:/tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/system-data1:/tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_W8ANK3/document-portal/add-symlink-uri/.dirs/runtime 1314s # Created mount point /tmp/test_documentportal_W8ANK3/fake-document-portal-XJ1JNK3/documents 1314s # Acquired a message bus connection 1314s # Acquired the name org.freedesktop.portal.Documents 1314s # Creating Document ID document-id-0 folder 1314s # Creating Document ID document-id-0 mapped to FD 24 (/tmp/test_documentportal_W8ANK3/test_document_portal_add_symlink_uri_45KNK3) 1314s # Creating Document ID document-id-1 folder 1314s # Creating Document ID document-id-1 mapped to FD 25 (/tmp/test_documentportal_W8ANK3/test_document_portal_add_symlink_uri_45KNK3) 1314s # fake-document-portal cancelled 1314s ok 4 /document-portal/add-symlink-uri 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config1:/tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data1:/tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/runtime 1314s # Created mount point /tmp/test_documentportal_W8ANK3/fake-document-portal-XBTHNK3/documents 1314s # Acquired a message bus connection 1314s # Acquired the name org.freedesktop.portal.Documents 1314s # fake-document-portal cancelled 1314s ok 5 /document-portal/add-uri-with-missing-doc-id-path 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config1:/tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data1:/tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_W8ANK3/document-portal/add-uri-with-missing-doc-file/.dirs/runtime 1314s # Created mount point /tmp/test_documentportal_W8ANK3/fake-document-portal-XUFS5J3/documents 1314s # Acquired a message bus connection 1314s # Acquired the name org.freedesktop.portal.Documents 1314s # Creating Document ID document-id-0 folder 1314s # fake-document-portal cancelled 1314s ok 6 /document-portal/add-uri-with-missing-doc-file 1314s # End of document-portal tests 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s ok - glib/documentportal.test 1314s # Running test: glib/hook.test 1314s TAP version 14 1314s # random seed: R02S22716548845629d4ce7d8cb46e8339e8 1314s 1..2 1314s # Start of hook tests 1314s ok 1 /hook/basics 1314s ok 2 /hook/corner-cases 1314s # End of hook tests 1314s ok - glib/hook.test 1314s # Running test: glib/static-link.test 1314s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1314s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1314s and make sure you have glib build dependencies installed, including 1314s meson. 1314s ok # SKIP - glib/static-link.test 1314s # Running test: glib/protocol.test 1314s TAP version 14 1314s # random seed: R02S4be8d9dc886f231939b94a44a4e4f0a8 1314s 1..9 1314s # Start of glib tests 1314s # Start of testing tests 1314s # Start of protocol tests 1314s ok 1 /glib/testing/protocol/debug 1314s ok 2 /glib/testing/protocol/info 1314s ok 3 /glib/testing/protocol/message 1314s ok 4 /glib/testing/protocol/warning 1314s ok 5 /glib/testing/protocol/critical 1314s ok 6 /glib/testing/protocol/error 1314s ok 7 /glib/testing/protocol/gtest-message 1314s ok 8 /glib/testing/protocol/test-message 1314s ok 9 /glib/testing/protocol/test-error 1314s # End of protocol tests 1314s # End of testing tests 1314s # End of glib tests 1314s ok - glib/protocol.test 1314s # Running test: glib/g-file-info.test 1314s TAP version 14 1314s # random seed: R02Sa25115b4b0ec841d7439196be6b360d4 1314s 1..6 1314s # Start of g-file-info tests 1314s ok 1 /g-file-info/test_g_file_info 1314s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1314s ok 2 /g-file-info/xattrs 1314s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1314s ok 3 /g-file-info/set-modified-date-time-precision 1314s # Start of test_g_file_info tests 1314s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1314s ok 4 /g-file-info/test_g_file_info/modification-time 1314s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1314s ok 5 /g-file-info/test_g_file_info/access-time 1314s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1314s ok 6 /g-file-info/test_g_file_info/creation-time 1314s # End of test_g_file_info tests 1314s # End of g-file-info tests 1314s ok - glib/g-file-info.test 1314s # Running test: glib/utf8-misc.test 1314s ok - glib/utf8-misc.test 1314s TAP version 14 1314s # random seed: R02Sdffb1cdf49c665e03bc5e9e07ca819b5 1314s 1..7 1314s # Start of utf8 tests 1314s ok 1 /utf8/strlen 1314s ok 2 /utf8/strncpy 1314s ok 3 /utf8/strrchr 1314s ok 4 /utf8/reverse 1314s ok 5 /utf8/substring 1314s ok 6 /utf8/make-valid 1314s ok 7 /utf8/truncate-middle 1314s # End of utf8 tests 1314s # Running test: glib/thread-pool.test 1314s TAP version 14 1314s # random seed: R02Sbff312b5eaf33d40960666c8a432760f 1314s 1..6 1314s # Start of thread_pool tests 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1314s ok 1 /thread_pool/pool_fail 1314s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1314s ok 2 /thread_pool/shared 1314s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1314s ok 3 /thread_pool/exclusive 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1314s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1314s ok 4 /thread_pool/create_shared_after_exclusive 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1314s ok 5 /thread_pool/create_full 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1314s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1314s ok - glib/thread-pool.test 1314s # Running test: glib/atomic-c-99.test 1314s ok 6 /thread_pool/create_exclusive_after_shared 1314s # End of thread_pool tests 1314s TAP version 14 1314s # random seed: R02S1ae0afe4f9a35d4375e5e2c14bf05207 1314s 1..2 1314s # Start of atomic tests 1314s ok 1 /atomic/types 1314s ok - glib/atomic-c-99.test 1314s ok 2 /atomic/threaded 1314s # End of atomic tests 1314s # Running test: glib/memory-output-stream.test 1314s TAP version 14 1314s # random seed: R02S1544164d0bba7334732ed5f77f304d8a 1314s 1..10 1314s # Start of memory-output-stream tests 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1314s ok 1 /memory-output-stream/truncate 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1314s ok 2 /memory-output-stream/get-data-size 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1314s ok 3 /memory-output-stream/properties 1314s ok 4 /memory-output-stream/write-bytes 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1314s ok 5 /memory-output-stream/write-null 1314s ok 6 /memory-output-stream/writev 1314s ok 7 /memory-output-stream/writev_nonblocking 1314s ok 8 /memory-output-stream/steal_as_bytes 1314s # Start of seek tests 1314s ok 9 /memory-output-stream/seek/fixed 1314s ok - glib/memory-output-stream.test 1314s ok 10 /memory-output-stream/seek/resizable 1314s # End of seek tests 1314s # End of memory-output-stream tests 1314s # Running test: glib/spawn-path-search.test 1314s TAP version 14 1314s # random seed: R02S49dceb1cf4c42b4438b48a44e730f110 1314s 1..7 1314s # Start of spawn tests 1314s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1314s # 1314s # this is spawn-test-helper from glib/tests 1314s # 1314s ok 1 /spawn/do-not-search 1314s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1314s # 1314s # this is spawn-test-helper from path-test-subdir 1314s # 1314s ok 2 /spawn/search-path 1314s # /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. 1314s # 1314s # this is spawn-test-helper from path-test-subdir 1314s # 1314s ok 3 /spawn/search-path-from-envp 1314s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1314s # 1314s # this is spawn-test-helper from path-test-subdir 1314s # 1314s ok 4 /spawn/search-path-ambiguous 1314s # 1314s # this is spawn-test-helper from path-test-subdir 1314s # 1314s ok 5 /spawn/search-path-heap-allocation 1314s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1314s # 1314s # this is spawn-test-helper from glib/tests 1314s # 1314s ok 6 /spawn/search-path-fallback-in-environ 1314s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1314s # 1314s # this is spawn-test-helper from glib/tests 1314s # 1314s ok 7 /spawn/search-path-fallback-in-envp 1314s # End of spawn tests 1314s ok - glib/spawn-path-search.test 1314s # Running test: glib/unix-streams.test 1314s TAP version 14 1314s # random seed: R02Sdee8d43e8e0f65e4974f84d31ab3f341 1314s 1..9 1314s # Start of unix-streams tests 1314s ok 1 /unix-streams/basic 1314s # Executing: glib/unix-streams.test 1315s ok 2 /unix-streams/pipe-io-test 1315s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1315s ok 3 /unix-streams/nonblocking-io-test 1315s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1315s ok 4 /unix-streams/read_write 1315s ok 5 /unix-streams/read_writev 1315s ok 6 /unix-streams/write-wouldblock 1315s ok 7 /unix-streams/writev-wouldblock 1315s ok 8 /unix-streams/write-async-wouldblock 1315s ok 9 /unix-streams/writev-async-wouldblock 1315s # End of unix-streams tests 1315s ok - glib/unix-streams.test 1315s # Running test: glib/socket-service.test 1315s TAP version 14 1315s # random seed: R02S06890b9d29f11a18cd5acc8e91afc1bf 1315s 1..4 1315s # Start of socket-service tests 1315s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1315s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x44ab590 and GSocketClientAsyncConnectData 0x44a1c50 1315s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1315s ok 1 /socket-service/start-stop 1315s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x44a6e80 and GSocketClientAsyncConnectData 0x44a6e08 1315s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1315s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1315s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x44a4d88 for GSocketClientAsyncConnectData 0x44a1c50 1315s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1315s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1315s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1315s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1315s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1315s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x44a14a8 for GSocketClientAsyncConnectData 0x44a6e08 1315s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1315s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1315s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1315s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1315s ok 2 /socket-service/read_write_async 1315s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x44a63a8 and GSocketClientAsyncConnectData 0x44a72c8 1315s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1315s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1315s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x44a6b78 for GSocketClientAsyncConnectData 0x44a72c8 1315s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1315s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1315s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1315s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1315s ok 3 /socket-service/read_writev_async 1315s # Start of threaded tests 1315s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1315s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x44a9190 and GSocketClientAsyncConnectData 0x44a8840 1315s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1315s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1315s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x44a92c0 for GSocketClientAsyncConnectData 0x44a8840 1315s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1315s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1315s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1315s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1315s ok 4 /socket-service/threaded/712570 1315s # End of threaded tests 1315s # End of socket-service tests 1315s ok - glib/socket-service.test 1315s # Running test: glib/custom-dispatch.test 1315s TAP version 14 1315s # random seed: R02S97852b924e73d50ea8a7fcca6d143ce1 1315s 1..2 1315s # Start of properties tests 1315s # Start of custom-dispatch tests 1315s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1315s ok 1 /properties/custom-dispatch/init 1315s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1315s ok 2 /properties/custom-dispatch/set 1315s # End of custom-dispatch tests 1315s # End of properties tests 1315s ok - glib/custom-dispatch.test 1315s # Running test: glib/resources.test 1315s TAP version 14 1315s # random seed: R02S08ca54e75e292db9030f2eb5e41ab2d7 1315s 1..19 1315s # Start of resource tests 1315s ok 1 /resource/file 1315s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1315s ok 2 /resource/file-path 1315s ok 3 /resource/data 1315s ok 4 /resource/data_unaligned 1315s ok 5 /resource/data-corrupt 1315s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1315s ok 6 /resource/data-corrupt-compression 1315s ok 7 /resource/data-empty 1315s ok 8 /resource/registered 1315s ok 9 /resource/manual 1315s ok 10 /resource/manual2 1315s ok 11 /resource/automatic 1315s ok 12 /resource/module 1315s ok 13 /resource/binary-linked 1315s ok 14 /resource/64k 1315s GLib-GIO-Message: 10:34:04.736: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1315s GLib-GIO-Message: 10:34:04.736: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1315s GLib-GIO-Message: 10:34:04.736: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1315s ok 15 /resource/overlay 1315s ok 16 /resource/digits 1315s ok 17 /resource/has-children 1315s # Start of uri tests 1315s ok 18 /resource/uri/query-info 1315s ok 19 /resource/uri/file 1315s # End of uri tests 1315s # End of resource tests 1315s ok - glib/resources.test 1315s # Running test: glib/unix-fd.test 1315s TAP version 14 1315s # random seed: R02S02a092c79d9a5d127b6b17c3bc5931a8 1315s 1..2 1315s # Start of unix-fd tests 1315s ok 1 /unix-fd/fd-list 1315s ok 2 /unix-fd/scm 1315s # End of unix-fd tests 1315s ok - glib/unix-fd.test 1315s # Running test: glib/scannerapi.test 1315s TAP version 14 1315s # random seed: R02Sdf5fe11bc78c2f74e81f512deb10c71e 1315s 1..8 1315s # Start of scanner tests 1315s ok 1 /scanner/warn 1315s ok 2 /scanner/error 1315s ok 3 /scanner/symbols 1315s ok 4 /scanner/tokens 1315s ok 5 /scanner/multiline-comment 1315s ok 6 /scanner/int-to-float 1315s ok 7 /scanner/fd-input 1315s # Start of fd-input tests 1315s ok 8 /scanner/fd-input/rewind 1315s # End of fd-input tests 1315s # End of scanner tests 1315s TAP version 14 1315s # random seed: R02Sd7a747dda2788681c88d182a8d742097 1315s 1..2 1315s # Start of gtask tests 1315s # 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. 1315s ok 1 /gtask/name 1315s # Start of name tests 1315s # 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. 1315s ok 2 /gtask/name/macro-wrapper 1315s # End of name tests 1315s # End of gtask tests 1315s TAP version 14 1315s # random seed: R02Sc75ecd45ef9485a4648f88bc634f8dc8 1315s 1..1 1315s # Start of gobject tests 1315s # Start of refcount tests 1315s # init 0x10a23c90 1315s # 1315s # init 0x10a2a3d8 1315s # 1315s ok - glib/scannerapi.test 1315s # Running test: glib/cxx-98.test 1315s ok - glib/cxx-98.test 1315s # Running test: glib/signals-refcount2.test 1319s # Executing: glib/signals-refcount2.test 1320s # dispose 0x10a23c90! 1320s # 1320s # dispose 0x10a2a3d8! 1320s # 1320s ok 1 /gobject/refcount/signals 1320s # slow test /gobject/refcount/signals executed in 5.00 secs 1320s # End of refcount tests 1320s # End of gobject tests 1320s ok - glib/signals-refcount2.test 1320s # Running test: glib/signals.test 1320s TAP version 14 1320s # random seed: R02Se56097e8c6fe079c1eab132f332f95eb 1320s 1..32 1320s # Start of gobject tests 1320s # Start of signals tests 1320s ok 1 /gobject/signals/all-types 1320s ok 2 /gobject/signals/variant 1320s ok 3 /gobject/signals/destroy-target-object 1320s ok 4 /gobject/signals/generic-marshaller-1 1320s ok 5 /gobject/signals/generic-marshaller-2 1320s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1320s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1320s ok 8 /gobject/signals/generic-marshaller-int-return 1320s ok 9 /gobject/signals/generic-marshaller-uint-return 1320s ok 10 /gobject/signals/generic-marshaller-interface-return 1320s ok 11 /gobject/signals/custom-marshaller 1320s ok 12 /gobject/signals/connect 1320s ok 13 /gobject/signals/is-connected 1320s ok 14 /gobject/signals/emission-hook 1320s ok 15 /gobject/signals/emitv 1320s ok - glib/signals.test 1320s # SUMMARY: total=337; passed=336; skipped=1; failed=0; user=379.3s; system=121.4s; maxrss=439856 1320s ok 16 /gobject/signals/accumulator 1320s # Signal: accumulator-class-first 1320s # Signal: accumulator-class-last 1320s # Signal: accumulator-class-cleanup 1320s # Signal: accumulator-class-first-last 1320s # Signal: accumulator-class-first-last-cleanup 1320s # Signal: accumulator-class-last-cleanup 1320s ok 17 /gobject/signals/accumulator-class 1320s ok 18 /gobject/signals/introspection 1320s ok 19 /gobject/signals/block-handler 1320s ok 20 /gobject/signals/stop-emission 1320s ok 21 /gobject/signals/invocation-hint 1320s ok 22 /gobject/signals/test-disconnection-wrong-object 1320s ok 23 /gobject/signals/clear-signal-handler 1320s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1320s ok 24 /gobject/signals/lookup 1320s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1320s ok 25 /gobject/signals/parse-name 1320s ok 26 /gobject/signals/is-valid-name 1320s ok 27 /gobject/signals/weak-ref-disconnect 1320s # Start of lookup tests 1320s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1320s ok 28 /gobject/signals/lookup/invalid 1320s # End of lookup tests 1320s # Start of parse-name tests 1320s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1320s # Parser input: 1320s # Parser input: 7zip 1320s # Parser input: invalid:signal 1320s # Parser input: simple-detailed:: 1320s # Parser input: simple-detailed: 1320s # Parser input: : 1320s # Parser input: :: 1320s # Parser input: :valid-detail 1320s # Parser input: ::valid-detail 1320s ok 29 /gobject/signals/parse-name/invalid 1320s # End of parse-name tests 1320s # Start of invalid-name tests 1320s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1320s ok 30 /gobject/signals/invalid-name/colon 1320s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1320s ok 31 /gobject/signals/invalid-name/first-char 1320s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1320s ok 32 /gobject/signals/invalid-name/empty 1320s # End of invalid-name tests 1320s # End of signals tests 1320s # End of gobject tests 1321s autopkgtest [10:34:10]: test installed-tests: -----------------------] 1325s autopkgtest [10:34:14]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1325s installed-tests PASS 1329s autopkgtest [10:34:18]: test closure-refcount: preparing testbed 1330s Reading package lists... 1331s Building dependency tree... 1331s Reading state information... 1331s Solving dependencies... 1331s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1339s autopkgtest [10:34:28]: test closure-refcount: [----------------------- 1341s Running test: glib/closure-refcount.test 1341s TAP version 14 1341s # random seed: R02S9c013a031fc86a65f42609ccafcdb7f8 1341s 1..1 1341s # Start of closure tests 1341s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1341s # End of closure tests 1341s PASS: glib/closure-refcount.test 1341s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2432 1341s autopkgtest [10:34:30]: test closure-refcount: -----------------------] 1345s closure-refcount PASS 1345s autopkgtest [10:34:34]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1348s autopkgtest [10:34:37]: test debugcontroller: preparing testbed 1350s Reading package lists... 1350s Building dependency tree... 1350s Reading state information... 1351s Solving dependencies... 1351s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1359s autopkgtest [10:34:48]: test debugcontroller: [----------------------- 1361s Running test: glib/debugcontroller.test 1361s TAP version 14 1361s # random seed: R02Sf001f267dc8ec0b8f9c7de5c1861269a 1361s 1..3 1361s # Start of debug-controller tests 1361s # Start of dbus tests 1361s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1361s # GLib-GIO-DEBUG: Debug output enabled 1361s # GLib-GIO-DEBUG: Debug output disabled 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 1 /debug-controller/dbus/basic 1361s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 2 /debug-controller/dbus/duplicate 1361s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1361s # GLib-GIO-DEBUG: Debug output enabled 1361s # GLib-GIO-DEBUG: Debug output disabled 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 3 /debug-controller/dbus/properties 1361s # End of dbus tests 1361s # End of debug-controller tests 1361s PASS: glib/debugcontroller.test 1361s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4608 1361s autopkgtest [10:34:50]: test debugcontroller: -----------------------] 1365s debugcontroller PASS 1365s autopkgtest [10:34:54]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1368s autopkgtest [10:34:57]: test gdbus-server-auth: preparing testbed 1370s Reading package lists... 1370s Building dependency tree... 1370s Reading state information... 1370s Solving dependencies... 1371s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1378s autopkgtest [10:35:07]: test gdbus-server-auth: [----------------------- 1380s Running test: glib/gdbus-server-auth.test 1380s TAP version 14 1380s # random seed: R02S6153fe764fe58d9c5b952eca2583ce29 1380s 1..10 1380s # Start of gdbus tests 1380s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/home 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/cache 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/system-config2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/config 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/system-data2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/data 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/state 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/.dirs/runtime 1380s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-ZD83J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1380s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-ZD83J3/dbus-wguBhVqO 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39833 1380s ok 1 /gdbus/server-auth 1380s # Start of server-auth tests 1380s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/home 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/cache 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/system-config2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/config 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/system-data2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/data 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/state 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/abstract/.dirs/runtime 1380s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-H5I4J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1380s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-H5I4J3/dbus-Vy0XSFCP 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39833 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1380s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39833 1380s ok 2 /gdbus/server-auth/abstract 1380s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/home 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/cache 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/system-config2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/config 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/system-data2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/data 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/state 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/tcp/.dirs/runtime 1380s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1380s # Connectable address: tcp:host=127.0.0.1,port=44251 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1380s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1380s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1380s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1380s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1381s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1381s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1381s ok 3 /gdbus/server-auth/tcp 1381s # slow test /gdbus/server-auth/tcp executed in 0.88 secs 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/.dirs/runtime 1381s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-WTONK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1381s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-WTONK3/dbus-69WcJlc7 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39833 1381s ok 4 /gdbus/server-auth/anonymous 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/.dirs/runtime 1381s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-BYR5J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1381s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-BYR5J3/dbus-20D5k2u7 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1381s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39833 1381s ok 5 /gdbus/server-auth/external 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/.dirs/runtime 1381s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-E5K5J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1381s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-E5K5J3/dbus-G0fqhmc5 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39833 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1381s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39833 1381s ok 6 /gdbus/server-auth/sha1 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/path-in-use/.dirs/runtime 1381s ok 7 /gdbus/server-auth/path-in-use 1381s # Start of anonymous tests 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1381s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1381s # Connectable address: tcp:host=127.0.0.1,port=37893 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1381s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1381s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1381s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1381s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1381s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1382s ok 8 /gdbus/server-auth/anonymous/tcp 1382s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1382s # End of anonymous tests 1382s # Start of external tests 1382s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/home 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/cache 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/config 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/data 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/state 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1382s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-1XLPK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1382s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QS73J3/gdbus-server-auth-1XLPK3/dbus-qC1rCEQQ 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39833 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1382s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39833,uid=1000,gid=1000 1382s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39833 1382s ok 9 /gdbus/server-auth/external/require-same-user 1382s # End of external tests 1382s # Start of sha1 tests 1382s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/home 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/cache 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/config 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/data 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/state 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QS73J3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1382s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1382s # Connectable address: tcp:host=127.0.0.1,port=46581 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1382s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1382s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1382s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1382s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1382s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1383s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1383s ok 10 /gdbus/server-auth/sha1/tcp 1383s # slow test /gdbus/server-auth/sha1/tcp executed in 0.86 secs 1383s # End of sha1 tests 1383s # End of server-auth tests 1383s # End of gdbus tests 1383s PASS: glib/gdbus-server-auth.test 1383s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=5760 1383s autopkgtest [10:35:12]: test gdbus-server-auth: -----------------------] 1387s gdbus-server-auth PASS 1387s autopkgtest [10:35:16]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1391s autopkgtest [10:35:20]: test gdbus-threading: preparing testbed 1393s Reading package lists... 1393s Building dependency tree... 1393s Reading state information... 1393s Solving dependencies... 1393s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1401s autopkgtest [10:35:30]: test gdbus-threading: [----------------------- 1403s Running test: glib/gdbus-threading.test 1403s TAP version 14 1403s # random seed: R02S2925380df648633918cfe62e4cc5fc23 1403s 1..3 1403s # Start of gdbus tests 1403s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/home 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/cache 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/system-config2 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/config 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/system-data2 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/data 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/state 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_8Z5EK3/gdbus/delivery-in-thread/.dirs/runtime 1403s ok 1 /gdbus/delivery-in-thread 1403s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/home 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/cache 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/system-config2 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/config 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/system-data2 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/data 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/state 1403s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_8Z5EK3/gdbus/method-calls-in-thread/.dirs/runtime 1404s ok 2 /gdbus/method-calls-in-thread 1404s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1404s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/home 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/cache 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/system-config2 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/config 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/system-data2 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/data 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/state 1404s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_8Z5EK3/gdbus/threaded-singleton/.dirs/runtime 1404s # GLib-GIO-DEBUG: refcount of 0xe9e01c38 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe9e01c38 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe9e01c38 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s ok 3 /gdbus/threaded-singleton 1405s # slow test /gdbus/threaded-singleton executed in 1.35 secs 1405s # End of gdbus tests 1405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1405s PASS: glib/gdbus-threading.test 1405s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.5s; maxrss=4352 1405s autopkgtest [10:35:34]: test gdbus-threading: -----------------------] 1409s autopkgtest [10:35:38]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1409s gdbus-threading PASS 1413s autopkgtest [10:35:42]: test gmenumodel: preparing testbed 1414s Reading package lists... 1415s Building dependency tree... 1415s Reading state information... 1415s Solving dependencies... 1415s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1423s autopkgtest [10:35:52]: test gmenumodel: [----------------------- 1425s Running test: glib/gmenumodel.test 1425s TAP version 14 1425s # random seed: R02S730493eb9c9e4372c0094cd8229791ba 1425s 1..15 1425s # Start of gmenu tests 1425s ok 1 /gmenu/equality 1425s # slow test /gmenu/equality executed in 0.76 secs 1426s ok 2 /gmenu/random 1426s # slow test /gmenu/random executed in 0.95 secs 1426s ok 3 /gmenu/attributes 1426s ok 4 /gmenu/links 1426s ok 5 /gmenu/mutable 1426s ok 6 /gmenu/convenience 1426s ok 7 /gmenu/menuitem 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1426s ok 8 /gmenu/input-validation 1426s # Start of dbus tests 1427s ok 9 /gmenu/dbus/roundtrip 1427s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1428s ok 10 /gmenu/dbus/subscriptions 1429s ok 11 /gmenu/dbus/threaded 1429s # slow test /gmenu/dbus/threaded executed in 1.07 secs 1429s # Start of peer tests 1429s Executing: glib/gmenumodel.test 1430s ok 12 /gmenu/dbus/peer/roundtrip 1430s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1430s ok 13 /gmenu/dbus/peer/subscriptions 1430s # End of peer tests 1430s # Start of export tests 1430s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1430s ok 14 /gmenu/dbus/export/error-handling 1430s # End of export tests 1430s # End of dbus tests 1430s # Start of attributes tests 1430s ok 15 /gmenu/attributes/iterate 1430s # End of attributes tests 1430s # End of gmenu tests 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s PASS: glib/gmenumodel.test 1430s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=4.5s; system=1.0s; maxrss=10240 1431s autopkgtest [10:36:00]: test gmenumodel: -----------------------] 1435s gmenumodel PASS 1435s autopkgtest [10:36:04]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1438s autopkgtest [10:36:07]: test mainloop: preparing testbed 1440s Reading package lists... 1441s Building dependency tree... 1441s Reading state information... 1441s Solving dependencies... 1441s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1448s autopkgtest [10:36:17]: test mainloop: [----------------------- 1450s Running test: glib/mainloop.test 1450s TAP version 14 1450s # random seed: R02Sa72ee2651e249715818505740ff046bb 1450s 1..48 1450s # Start of maincontext tests 1450s ok 1 /maincontext/basic 1450s # Add same-priority sources: 34 1450s # Find each source: 7 1451s # Remove in random order: 42 1451s ok 2 /maincontext/nsources_same_priority 1451s # Add different-priority sources: 41 1451s # Find each source: 7 1451s # Remove in random order: 49 1451s ok 3 /maincontext/nsources_different_priority 1451s # Add sources from threads: 126 1451s # Remove sources from threads: 177 1451s ok 4 /maincontext/nsources_threadpool 1451s ok 5 /maincontext/source_finalization 1451s # /maincontext/idle-once summary: Test g_idle_add_once() works 1451s ok 6 /maincontext/idle-once 1451s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1451s ok 7 /maincontext/timeout-once 1451s # /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. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1451s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1451s # Start of source_finalization_from_source tests 1451s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 9 /maincontext/source_finalization_from_source/0 1451s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 10 /maincontext/source_finalization_from_source/1 1451s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 11 /maincontext/source_finalization_from_source/2 1451s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 12 /maincontext/source_finalization_from_source/3 1451s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 13 /maincontext/source_finalization_from_source/4 1451s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 14 /maincontext/source_finalization_from_source/5 1451s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 15 /maincontext/source_finalization_from_source/6 1451s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 16 /maincontext/source_finalization_from_source/7 1451s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 17 /maincontext/source_finalization_from_source/8 1451s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1451s ok 18 /maincontext/source_finalization_from_source/9 1451s # End of source_finalization_from_source tests 1451s # Start of source_finalization_from_dispatch tests 1451s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1451s ok 19 /maincontext/source_finalization_from_dispatch/0 1451s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1451s ok 20 /maincontext/source_finalization_from_dispatch/1 1451s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1451s ok 21 /maincontext/source_finalization_from_dispatch/2 1451s # End of source_finalization_from_dispatch tests 1451s # End of maincontext tests 1451s # Start of mainloop tests 1451s ok 22 /mainloop/basic 1451s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1451s ok 24 /mainloop/priorities 1452s ok 25 /mainloop/invoke 1452s # slow test /mainloop/invoke executed in 0.50 secs 1453s ok 26 /mainloop/child_sources 1453s # slow test /mainloop/child_sources executed in 1.19 secs 1455s ok 27 /mainloop/recursive_child_sources 1455s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1455s ok 28 /mainloop/recursive_loop_child_sources 1455s ok 29 /mainloop/swapping_child_sources 1455s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1455s ok 30 /mainloop/blocked_child_sources 1455s Executing: glib/mainloop.test 1456s ok 31 /mainloop/source_time 1456s # slow test /mainloop/source_time executed in 1.00 secs 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1456s ok 32 /mainloop/overflow 1457s ok 33 /mainloop/ready-time 1457s # slow test /mainloop/ready-time executed in 0.50 secs 1457s ok 34 /mainloop/wakeup 1457s ok 35 /mainloop/remove-invalid 1457s ok 36 /mainloop/unref-while-pending 1457s # Test that the global default main context is used if NULL is passed to various methods 1457s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1457s ok 37 /mainloop/null-default-context 1457s ok 38 /mainloop/unix-fd 1457s # slow test /mainloop/unix-fd executed in 0.89 secs 1457s ok 39 /mainloop/unix-fd-source 1457s ok 40 /mainloop/source-unix-fd-api 1458s ok 41 /mainloop/wait 1458s ok 42 /mainloop/unix-file-poll 1458s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1458s ok 43 /mainloop/unix-fd-priority 1458s ok 44 /mainloop/nfds 1458s ok 45 /mainloop/steal-fd 1459s ok 46 /mainloop/simultaneous-source-context-destruction 1459s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.20 secs 1459s # Start of ownerless-polling tests 1459s ok 47 /mainloop/ownerless-polling/attach-first 1459s ok 48 /mainloop/ownerless-polling/pop-first 1459s # End of ownerless-polling tests 1459s # End of mainloop tests 1459s PASS: glib/mainloop.test 1459s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=4.5s; maxrss=10696 1459s autopkgtest [10:36:28]: test mainloop: -----------------------] 1463s mainloop PASS 1463s autopkgtest [10:36:32]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1467s autopkgtest [10:36:36]: test memory-monitor-dbus: preparing testbed 1469s Reading package lists... 1469s Building dependency tree... 1469s Reading state information... 1469s Solving dependencies... 1469s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1477s autopkgtest [10:36:46]: test memory-monitor-dbus: [----------------------- 1479s Running test: glib/memory-monitor-dbus.test 1479s TAP version 13 1479s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1479s # Received memory warning signal, level 0 1479s # Received memory warning signal, level 100 1479s # Received memory warning signal, level 255 1479s 1..1 1479s PASS: glib/memory-monitor-dbus.test 1479s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=21448 1479s autopkgtest [10:36:48]: test memory-monitor-dbus: -----------------------] 1483s memory-monitor-dbus PASS 1483s autopkgtest [10:36:52]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1487s autopkgtest [10:36:56]: test socket: preparing testbed 1489s Reading package lists... 1489s Building dependency tree... 1489s Reading state information... 1489s Solving dependencies... 1490s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1497s autopkgtest [10:37:06]: test socket: [----------------------- 1499s Running test: glib/socket.test 1499s TAP version 14 1499s # random seed: R02S247463469dac949cf22314bbaa7325e8 1499s 1..30 1499s # Start of socket tests 1500s ok 1 /socket/ipv4_sync 1500s # slow test /socket/ipv4_sync executed in 1.00 secs 1501s ok 2 /socket/ipv4_async 1501s # slow test /socket/ipv4_async executed in 1.00 secs 1501s ok 3 /socket/ipv6_sync 1501s ok 4 /socket/ipv6_async 1501s ok 5 /socket/ipv6_v4mapped 1502s ok 6 /socket/close_graceful 1502s # slow test /socket/close_graceful executed in 1.00 secs 1502s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1502s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1502s ok 8 /socket/fd_reuse 1502s ok 9 /socket/address 1502s ok 10 /socket/unix-from-fd 1502s ok 11 /socket/unix-connection 1502s ok 12 /socket/unix-connection-ancillary-data 1502s ok 13 /socket/source-postmortem 1502s ok 14 /socket/read_write 1502s ok 15 /socket/read_writev 1502s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1502s ok 16 /socket/receive_bytes 1502s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1502s ok 17 /socket/receive_bytes_from 1502s # Start of ipv4_sync tests 1502s ok 18 /socket/ipv4_sync/datagram 1502s # Start of datagram tests 1503s ok 19 /socket/ipv4_sync/datagram/timeouts 1503s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1503s # End of datagram tests 1503s # End of ipv4_sync tests 1503s # Start of ipv6_sync tests 1503s ok 20 /socket/ipv6_sync/datagram 1503s # Start of datagram tests 1504s ok 21 /socket/ipv6_sync/datagram/timeouts 1504s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1504s # End of datagram tests 1504s # End of ipv6_sync tests 1504s # Start of reuse tests 1504s ok 22 /socket/reuse/tcp 1504s ok 23 /socket/reuse/udp 1504s # End of reuse tests 1504s # Start of get_available tests 1504s ok 24 /socket/get_available/datagram 1504s ok 25 /socket/get_available/stream 1504s # End of get_available tests 1504s # Start of credentials tests 1504s # Supported on this OS: GCredentials:linux-ucred:pid=0 1504s ok 26 /socket/credentials/tcp_client 1504s # Supported on this OS: GCredentials:linux-ucred:pid=0 1504s ok 27 /socket/credentials/tcp_server 1504s # Supported on this OS: GCredentials:linux-ucred:pid=66021,uid=1000,gid=1000 1504s ok 28 /socket/credentials/unix_socketpair 1504s # End of credentials tests 1504s # Start of accept tests 1504s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1504s ok 29 /socket/accept/cancelled 1504s # End of accept tests 1504s # Start of connect tests 1504s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1504s ok 30 /socket/connect/cancelled 1504s # End of connect tests 1504s # End of socket tests 1504s PASS: glib/socket.test 1504s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4096 1505s autopkgtest [10:37:14]: test socket: -----------------------] 1509s autopkgtest [10:37:18]: test socket: - - - - - - - - - - results - - - - - - - - - - 1509s socket PASS 1512s autopkgtest [10:37:21]: test testfilemonitor: preparing testbed 1514s Reading package lists... 1514s Building dependency tree... 1514s Reading state information... 1514s Solving dependencies... 1515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1522s autopkgtest [10:37:31]: test testfilemonitor: [----------------------- 1524s Running test: glib/testfilemonitor.test 1524s TAP version 14 1524s # random seed: R02S9acd0cdc657395feee5508607624bb24 1524s 1..8 1524s # Start of monitor tests 1524s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1524s # Using temporary directory: /tmp/gio-test-testfilemonitor_Z2P4J3 1524s # Using GFileMonitor GInotifyFileMonitor 1526s ok 1 /monitor/atomic-replace 1526s # slow test /monitor/atomic-replace executed in 2.00 secs 1526s # Using temporary directory: /tmp/gio-test-testfilemonitor_WLP4J3 1526s # Using GFileMonitor GInotifyFileMonitor 1529s ok 2 /monitor/file-changes 1529s # slow test /monitor/file-changes executed in 2.50 secs 1529s # Using temporary directory: /tmp/gio-test-testfilemonitor_VJBFK3 1529s # Using GFileMonitor GInotifyFileMonitor 1529s Executing: glib/testfilemonitor.test 1532s ok 3 /monitor/dir-monitor 1532s # slow test /monitor/dir-monitor executed in 3.50 secs 1532s # Using temporary directory: /tmp/gio-test-testfilemonitor_DGJ4J3 1532s # Using GFileMonitor GInotifyFileMonitor 1534s Executing: glib/testfilemonitor.test 1539s Executing: glib/testfilemonitor.test 1544s Executing: glib/testfilemonitor.test 1549s Executing: glib/testfilemonitor.test 1554s Executing: glib/testfilemonitor.test 1557s ok 4 /monitor/dir-not-existent 1557s # slow test /monitor/dir-not-existent executed in 25.02 secs 1557s # Using temporary directory: /tmp/gio-test-testfilemonitor_1413J3 1557s # Using GFileMonitor 0 GInotifyFileMonitor 1557s # Using GFileMonitor 1 GInotifyFileMonitor 1559s ok 5 /monitor/cross-dir-moves 1559s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1559s # Using temporary directory: /tmp/gio-test-testfilemonitor_30Z3J3 1559s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1559s ok 6 /monitor/finalize-in-callback 1559s # Using temporary directory: /tmp/gio-test-testfilemonitor_38U3J3 1559s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1559s ok 7 /monitor/root 1559s # Start of file tests 1559s # Using temporary directory: /tmp/gio-test-testfilemonitor_1AV3J3 1559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1559s # Running with hard link tests 1559s # Using GFileMonitor GInotifyFileMonitor 1559s Executing: glib/testfilemonitor.test 1563s # Event 0 at expected index 7 skipped because it is marked as optional 1563s # Event 2 at expected index 11 skipped because it is marked as optional 1563s ok 8 /monitor/file/hard-links 1563s # slow test /monitor/file/hard-links executed in 3.50 secs 1563s # End of file tests 1563s # End of monitor tests 1563s PASS: glib/testfilemonitor.test 1563s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4224 1563s autopkgtest [10:38:12]: test testfilemonitor: -----------------------] 1567s testfilemonitor PASS 1567s autopkgtest [10:38:16]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1570s autopkgtest [10:38:19]: test thread-pool-slow: preparing testbed 1572s Reading package lists... 1572s Building dependency tree... 1572s Reading state information... 1573s Solving dependencies... 1573s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1580s autopkgtest [10:38:29]: test thread-pool-slow: [----------------------- 1582s Running test: glib/thread-pool-slow.test 1582s TAP version 14 1582s # random seed: R02Sba483d5355c31de2bbfd01f5d1a1e087 1582s 1..7 1582s # Start of threadpool tests 1582s ok 1 /threadpool/functions 1583s ok 2 /threadpool/stop-unused 1583s # slow test /threadpool/stop-unused executed in 0.51 secs 1583s ok 3 /threadpool/pools 1583s # [unsorted] ===> pushed new thread with id:75, number of threads:1, unprocessed:0 1583s # [unsorted] ===> pushed new thread with id:24, number of threads:2, unprocessed:1 1583s # [unsorted] ===> pushed new thread with id:8, number of threads:3, unprocessed:2 1583s # [unsorted] ===> pushed new thread with id:7, number of threads:4, unprocessed:3 1583s # [unsorted] ===> pushed new thread with id:58, number of threads:5, unprocessed:4 1583s # [unsorted] ===> pushed new thread with id:37, number of threads:6, unprocessed:5 1583s # [unsorted] ===> pushed new thread with id:6, number of threads:7, unprocessed:6 1583s # [unsorted] ===> pushed new thread with id:41, number of threads:8, unprocessed:7 1583s # [unsorted] ===> pushed new thread with id:6, number of threads:9, unprocessed:8 1583s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:3 1583s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:4 1583s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:5 1583s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:6 1583s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:7 1583s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:7 1583s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:7 1583s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:8 1583s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:9 1583s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:10 1583s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:11 1583s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:12 1583s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:13 1583s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:14 1583s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:15 1583s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:16 1583s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:17 1583s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:18 1583s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:18 1583s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:19 1583s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:20 1583s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:21 1583s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:22 1583s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:23 1583s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:24 1583s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:25 1583s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:26 1583s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:27 1583s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:28 1583s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:29 1583s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:30 1583s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:31 1583s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:32 1583s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:33 1583s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:34 1583s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:35 1583s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:36 1583s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:37 1583s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:38 1583s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:39 1583s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:40 1583s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:41 1583s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:42 1583s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:43 1583s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:44 1583s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:45 1583s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:46 1583s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:47 1583s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:48 1583s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:49 1583s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:50 1583s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:51 1583s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:52 1583s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:53 1583s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:54 1583s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:55 1583s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:56 1583s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:57 1583s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:58 1583s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:59 1583s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:60 1583s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:61 1583s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:62 1583s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:63 1583s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:64 1583s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:65 1583s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:66 1583s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:67 1583s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:68 1583s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:69 1583s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:70 1583s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:71 1583s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:72 1583s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:73 1583s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:74 1583s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:75 1583s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:76 1583s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:77 1583s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:78 1583s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:79 1583s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:80 1583s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:81 1583s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:82 1583s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:83 1583s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:84 1583s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:85 1583s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:86 1583s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:87 1583s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:88 1583s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:89 1583s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:90 1583s ok 4 /threadpool/no-sort 1583s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:1 1583s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:2 1583s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:3 1583s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:4 1583s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:5 1583s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:6 1583s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:7 1583s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:8 1583s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:9 1583s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:10 1583s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:11 1583s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:12 1583s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:13 1583s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:14 1583s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:15 1583s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:16 1583s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:17 1583s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:18 1583s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:19 1583s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:20 1583s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:21 1583s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:22 1583s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:23 1583s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:24 1583s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:25 1583s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:26 1583s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:27 1583s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:28 1583s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:29 1583s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:30 1583s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:31 1583s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:32 1583s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:33 1583s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:34 1583s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:35 1583s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:36 1583s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:37 1583s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:38 1583s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:39 1583s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:40 1583s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:41 1583s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:42 1583s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:43 1583s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:44 1583s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:45 1583s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:46 1583s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:47 1583s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:48 1583s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:49 1583s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:50 1583s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:51 1583s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:52 1583s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:53 1583s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:54 1583s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:55 1583s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:56 1583s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:57 1583s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:58 1583s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:59 1583s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:60 1583s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:61 1583s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:62 1583s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:63 1583s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:64 1583s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:65 1583s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:66 1583s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:67 1583s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:68 1583s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:69 1583s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:70 1583s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:71 1583s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:72 1583s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:73 1583s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:74 1583s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:75 1583s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:76 1583s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:77 1583s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:78 1583s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:79 1583s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:80 1583s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:81 1583s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:82 1583s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:83 1583s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:84 1583s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:85 1583s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:86 1583s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:87 1583s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:88 1583s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:89 1583s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:90 1583s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:91 1583s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:92 1583s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:93 1583s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:94 1583s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:95 1583s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:96 1583s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:97 1583s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:98 1583s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:99 1583s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:100 1583s # Starting thread pool processing 1583s ok 5 /threadpool/sort 1583s ok 6 /threadpool/stop-unused-multiple 1583s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1583s # Pool idle thread count: 0, unprocessed jobs: 40 1584s # Pool idle thread count: 0, unprocessed jobs: 0 1584s # Pool idle thread count: 0, unprocessed jobs: 0 1584s # Pool idle thread count: 10, unprocessed jobs: 0 1584s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1585s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s Executing: glib/thread-pool-slow.test 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 2 1592s # Pool idle thread count: 10, unprocessed jobs: 2 1592s # Pool idle thread count: 8, unprocessed jobs: 0 1592s # Pool idle thread count: 8, unprocessed jobs: 0 1592s Executing: glib/thread-pool-slow.test 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1594s # Pool idle thread count: 10, unprocessed jobs: 0 1594s # Pool idle thread count: 10, unprocessed jobs: 0 1594s # Pool idle thread count: 2, unprocessed jobs: 0 1594s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1595s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s Executing: glib/thread-pool-slow.test 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s Executing: glib/thread-pool-slow.test 1603s ok 7 /threadpool/idle-time 1603s # slow test /threadpool/idle-time executed in 19.53 secs 1603s # End of threadpool tests 1603s PASS: glib/thread-pool-slow.test 1603s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=2684 1603s autopkgtest [10:38:52]: test thread-pool-slow: -----------------------] 1607s autopkgtest [10:38:56]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1607s thread-pool-slow PASS 1610s autopkgtest [10:38:59]: test threadtests: preparing testbed 1612s Reading package lists... 1613s Building dependency tree... 1613s Reading state information... 1613s Solving dependencies... 1615s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1622s autopkgtest [10:39:11]: test threadtests: [----------------------- 1624s Running test: glib/threadtests.test 1624s TAP version 14 1624s # random seed: R02Sbb8021b03dce2182a997cdaa2f5ad7f5 1624s 1..5 1624s # Start of GObject tests 1624s ok 1 /GObject/threaded-object-init 1625s ok 2 /GObject/threaded-weak-ref 1625s # slow test /GObject/threaded-weak-ref executed in 0.78 secs 1625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1625s # /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 1629s Executing: glib/threadtests.test 1634s Executing: glib/threadtests.test 1639s Executing: glib/threadtests.test 1644s Executing: glib/threadtests.test 1649s Executing: glib/threadtests.test 1650s ok 3 /GObject/threaded-toggle-notify 1650s # slow test /GObject/threaded-toggle-notify executed in 25.55 secs 1650s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1650s # Start of threaded-weak-ref tests 1650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1650s # /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. 1650s ok 5 /GObject/threaded-weak-ref/on-finalization 1650s # End of threaded-weak-ref tests 1650s # End of GObject tests 1650s PASS: glib/threadtests.test 1650s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=101.1s; system=0.6s; maxrss=2560 1651s autopkgtest [10:39:40]: test threadtests: -----------------------] 1654s threadtests PASS 1654s autopkgtest [10:39:43]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1658s autopkgtest [10:39:47]: test timeout: preparing testbed 1660s Reading package lists... 1660s Building dependency tree... 1660s Reading state information... 1660s Solving dependencies... 1661s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1668s autopkgtest [10:39:57]: test timeout: [----------------------- 1670s Running test: glib/timeout.test 1670s TAP version 14 1670s # random seed: R02Sf96d373707b51c7bf20034d7e54434a7 1670s 1..5 1670s # Start of timeout tests 1670s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1672s ok 1 /timeout/seconds 1672s # slow test /timeout/seconds executed in 2.10 secs 1674s ok 2 /timeout/seconds-once 1674s # slow test /timeout/seconds-once executed in 2.10 secs 1674s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1675s Executing: glib/timeout.test 1676s ok 3 /timeout/weeks-overflow 1676s # slow test /timeout/weeks-overflow executed in 2.10 secs 1676s ok 4 /timeout/far-future-ready-time 1680s Executing: glib/timeout.test 1685s Executing: glib/timeout.test 1686s ok 5 /timeout/rounding 1686s # slow test /timeout/rounding executed in 10.05 secs 1686s # End of timeout tests 1686s PASS: glib/timeout.test 1686s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1687s autopkgtest [10:40:16]: test timeout: -----------------------] 1691s autopkgtest [10:40:20]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1691s timeout PASS 1694s autopkgtest [10:40:23]: test timer: preparing testbed 1696s Reading package lists... 1697s Building dependency tree... 1697s Reading state information... 1697s Solving dependencies... 1697s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1705s autopkgtest [10:40:34]: test timer: [----------------------- 1707s Running test: glib/timer.test 1707s TAP version 14 1707s # random seed: R02Sfb9b9dc350289ee299e6e43be37e2747 1707s 1..10 1707s # Start of timer tests 1707s ok 1 /timer/basic 1707s ok 2 /timer/stop 1707s ok 3 /timer/continue 1707s ok 4 /timer/reset 1707s ok 5 /timer/is_active 1707s # End of timer tests 1707s # Start of timeval tests 1707s ok 6 /timeval/add 1707s ok 7 /timeval/from-iso8601 1707s ok 8 /timeval/to-iso8601 1707s # Start of to-iso8601 tests 1707s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1707s # End of to-iso8601 tests 1707s # End of timeval tests 1707s # Start of usleep tests 1707s ok 10 /usleep/with-zero-wait 1707s # End of usleep tests 1707s PASS: glib/timer.test 1707s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 1707s autopkgtest [10:40:36]: test timer: -----------------------] 1711s autopkgtest [10:40:40]: test timer: - - - - - - - - - - results - - - - - - - - - - 1711s timer PASS 1714s autopkgtest [10:40:43]: test 1065022-futureproofing: preparing testbed 1737s autopkgtest [10:41:06]: testbed dpkg architecture: armhf 1738s autopkgtest [10:41:07]: testbed apt version: 3.1.15 1742s autopkgtest [10:41:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1744s autopkgtest [10:41:13]: testbed release detected to be: resolute 1752s autopkgtest [10:41:21]: updating testbed package index (apt update) 1754s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1754s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 1754s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 1754s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 1754s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [29.4 kB] 1754s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1586 kB] 1754s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2744 B] 1754s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [165 kB] 1754s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [240 kB] 1754s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1376 kB] 1754s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6932 B] 1754s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 1755s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1407 kB] 1755s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1374 kB] 1755s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 1759s Fetched 42.9 MB in 5s (8490 kB/s) 1760s Reading package lists... 1765s autopkgtest [10:41:34]: upgrading testbed (apt dist-upgrade and autopurge) 1767s Reading package lists... 1768s Building dependency tree... 1768s Reading state information... 1768s Calculating upgrade... 1770s The following packages will be upgraded: 1770s dpkg dpkg-dev libdpkg-perl 1770s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1770s Need to get 2587 kB of archives. 1770s After this operation, 141 kB disk space will be freed. 1770s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg armhf 1.23.5ubuntu1 [1236 kB] 1771s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf dpkg-dev all 1.23.5ubuntu1 [1062 kB] 1771s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libdpkg-perl all 1.23.5ubuntu1 [289 kB] 1771s Fetched 2587 kB in 1s (3504 kB/s) 1772s (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 ... 68683 files and directories currently installed.) 1772s Preparing to unpack .../dpkg_1.23.5ubuntu1_armhf.deb ... 1772s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1772s Setting up dpkg (1.23.5ubuntu1) ... 1772s (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 ... 68684 files and directories currently installed.) 1772s Preparing to unpack .../dpkg-dev_1.23.5ubuntu1_all.deb ... 1772s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1772s Preparing to unpack .../libdpkg-perl_1.23.5ubuntu1_all.deb ... 1772s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1772s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1772s Setting up dpkg-dev (1.23.5ubuntu1) ... 1772s Processing triggers for man-db (2.13.1-1build1) ... 1776s Reading package lists... 1777s Building dependency tree... 1777s Reading state information... 1777s Solving dependencies... 1777s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1779s autopkgtest [10:41:48]: rebooting testbed after setup commands that affected boot 1842s Reading package lists... 1842s Building dependency tree... 1842s Reading state information... 1843s Solving dependencies... 1843s The following NEW packages will be installed: 1843s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1843s libdconf1 1843s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1843s Need to get 145 kB of archives. 1843s After this operation, 635 kB of additional disk space will be used. 1843s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libdconf1 armhf 0.49.0-4 [40.5 kB] 1843s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf dconf-service armhf 0.49.0-4 [28.8 kB] 1843s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf dconf-gsettings-backend armhf 0.49.0-4 [25.1 kB] 1843s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf dpkg-repack all 1.54build1 [11.2 kB] 1843s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1844s Fetched 145 kB in 0s (387 kB/s) 1844s Selecting previously unselected package libdconf1:armhf. 1844s (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 ... 68677 files and directories currently installed.) 1844s Preparing to unpack .../libdconf1_0.49.0-4_armhf.deb ... 1844s Unpacking libdconf1:armhf (0.49.0-4) ... 1844s Selecting previously unselected package dconf-service. 1844s Preparing to unpack .../dconf-service_0.49.0-4_armhf.deb ... 1844s Unpacking dconf-service (0.49.0-4) ... 1844s Selecting previously unselected package dconf-gsettings-backend:armhf. 1844s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_armhf.deb ... 1844s Unpacking dconf-gsettings-backend:armhf (0.49.0-4) ... 1844s Selecting previously unselected package dpkg-repack. 1844s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1844s Unpacking dpkg-repack (1.54build1) ... 1844s Selecting previously unselected package gsettings-desktop-schemas. 1844s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1844s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1844s Setting up dpkg-repack (1.54build1) ... 1844s Setting up libdconf1:armhf (0.49.0-4) ... 1844s Setting up dconf-service (0.49.0-4) ... 1844s Setting up dconf-gsettings-backend:armhf (0.49.0-4) ... 1844s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1844s Processing triggers for man-db (2.13.1-1build1) ... 1844s Processing triggers for libglib2.0-0t64:armhf (2.87.2-2) ... 1844s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1860s autopkgtest [10:43:09]: test 1065022-futureproofing: [----------------------- 1862s + export DEBIAN_FRONTEND=noninteractive 1862s + n=0 1862s + failed=0 1862s + binary_package=libglib2.0-0t64 1862s + future_binary_package=libglib2.0-0xyz 1862s + pwd 1862s + srcdir=/tmp/autopkgtest.cisMxd/build.lHz/src 1862s + mktemp -d 1862s + tmpdir=/tmp/tmp.nrEpwdbepL 1862s + cd /tmp/tmp.nrEpwdbepL 1862s + exec 1862s + [ -e /tmp/autopkgtest.cisMxd/build.lHz/src/debian/tests/manual/local-1065022.sources ] 1862s + dpkg-query -W dpkg-repack 1862s dpkg-repack 1.54build1 1862s + dpkg-query -s libglib2.0-0t64 1862s Package: libglib2.0-0t64 1862s Status: install ok installed 1862s Priority: optional 1862s Section: libs 1862s Installed-Size: 3454 1862s Maintainer: Ubuntu Developers 1862s Architecture: armhf 1862s Multi-Arch: same 1862s Source: glib2.0 1862s Version: 2.87.2-2 1862s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1862s Provides: libgio-2.0-0 (= 2.87.2-2), libglib-2.0-0 (= 2.87.2-2), libgmodule-2.0-0 (= 2.87.2-2), libgobject-2.0-0 (= 2.87.2-2), libgthread-2.0-0 (= 2.87.2-2) 1862s 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) 1862s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1862s Suggests: low-memory-monitor 1862s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1862s Description: GLib library of C routines 1862s GLib is a library containing many useful C routines for things such 1862s as trees, hashes, lists, and strings. It is a useful general-purpose 1862s C library used by projects such as GTK+, GIMP, and GNOME. 1862s . 1862s This package contains the shared libraries. 1862s Original-Maintainer: Debian GNOME Maintainers 1862s Homepage: https://gitlab.gnome.org/GNOME/glib 1862s + dpkg-query -W -f ${Version} libglib2.0-0t64 1862s + binary_version=2.87.2-2 1862s + dpkg-repack --generate libglib2.0-0t64 1862s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1862s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.O4Kifo for libglib2.0-0t64 1862s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.O4Kifo ." 1862s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.O4Kifo/DEBIAN/control 1862s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.O4Kifo/DEBIAN/control 1862s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.O4Kifo/DEBIAN/control 1862s + env binary_package=libglib2.0-0t64 binary_version=2.87.2-2 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.O4Kifo/DEBIAN/control 1862s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.O4Kifo libglib2.0-0xyz.deb 1862s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1863s + dpkg-deb --info libglib2.0-0xyz.deb 1863s new Debian package, version 2.0. 1863s size 1489844 bytes: control archive=25827 bytes. 1863s 1190 bytes, 24 lines control 1863s 1168 bytes, 14 lines md5sums 1863s 1312 bytes, 44 lines * postinst #!/bin/sh 1863s 2580 bytes, 87 lines * postrm #!/bin/sh 1863s 2408 bytes, 53 lines * preinst #!/bin/sh 1863s 466 bytes, 10 lines shlibs 1863s 172758 bytes, 4531 lines symbols 1863s 174 bytes, 4 lines triggers 1863s Package: libglib2.0-0xyz 1863s Source: glib2.0 1863s Version: 2.87.2-2 1863s Architecture: armhf 1863s Maintainer: Ubuntu Developers 1863s Installed-Size: 3454 1863s 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) 1863s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1863s Suggests: low-memory-monitor 1863s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1863s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1863s Provides: libgio-2.0-0 (= 2.87.2-2), libglib-2.0-0 (= 2.87.2-2), libgmodule-2.0-0 (= 2.87.2-2), libgobject-2.0-0 (= 2.87.2-2), libgthread-2.0-0 (= 2.87.2-2), libglib2.0-0t64 (= 2.87.2-2) 1863s Section: libs 1863s Priority: optional 1863s Multi-Arch: same 1863s Homepage: https://gitlab.gnome.org/GNOME/glib 1863s Description: GLib library of C routines 1863s GLib is a library containing many useful C routines for things such 1863s as trees, hashes, lists, and strings. It is a useful general-purpose 1863s C library used by projects such as GTK+, GIMP, and GNOME. 1863s . 1863s This package contains the shared libraries. 1863s . 1863s (Repackaged on Mon, 09 Feb 2026 10:43:11 +0000 by dpkg-repack.) 1863s + dpkg-deb --contents libglib2.0-0xyz.deb 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/lib/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/lib/arm-linux-gnueabihf/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/lib/arm-linux-gnueabihf/gio/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/lib/arm-linux-gnueabihf/gio/modules/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/lib/arm-linux-gnueabihf/glib-2.0/ 1863s -rwxr-xr-x root/root 67176 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/glib-2.0/gio-launch-desktop 1863s -rwxr-xr-x root/root 67176 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules 1863s -rwxr-xr-x root/root 67196 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas 1863s -rw-r--r-- root/root 1312976 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0.8702.0 1863s -rw-r--r-- root/root 1051024 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0.8702.0 1863s -rw-r--r-- root/root 67048 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0.8702.0 1863s -rw-r--r-- root/root 264408 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0.8702.0 1863s -rw-r--r-- root/root 67016 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0.8702.0 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/doc/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/doc/libglib2.0-0t64/ 1863s -rw-r--r-- root/root 261291 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1863s -rw-r--r-- root/root 1703 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/README.Debian 1863s -rw-r--r-- root/root 3248 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/README.md 1863s -rw-r--r-- root/root 39855 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1863s -rw-r--r-- root/root 54957 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/copyright 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/glib-2.0/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/glib-2.0/schemas/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/lintian/ 1863s drwxr-xr-x root/root 0 2026-02-09 10:43 ./usr/share/lintian/overrides/ 1863s -rw-r--r-- root/root 520 2026-01-29 15:05 ./usr/share/lintian/overrides/libglib2.0-0t64 1863s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 -> libgio-2.0.so.0.8702.0 1863s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0 -> libglib-2.0.so.0.8702.0 1863s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8702.0 1863s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8702.0 1863s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8702.0 1863s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1863s Reading package lists... 1864s Building dependency tree... 1864s Reading state information... 1864s dconf-gsettings-backend is already the newest version (0.49.0-4). 1864s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1864s Solving dependencies... 1864s The following additional packages will be installed: 1864s xdg-user-dirs 1864s Suggested packages: 1864s low-memory-monitor 1865s The following packages will be REMOVED: 1865s libglib2.0-0t64 1865s The following NEW packages will be installed: 1865s libglib2.0-0xyz xdg-user-dirs 1865s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1865s Need to get 18.1 kB/1508 kB of archives. 1865s After this operation, 213 kB of additional disk space will be used. 1865s Get:1 /tmp/tmp.nrEpwdbepL/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.87.2-2 [1490 kB] 1865s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf xdg-user-dirs armhf 0.19-1 [18.1 kB] 1866s Fetched 18.1 kB in 0s (50.3 kB/s) 1866s dpkg: libglib2.0-0t64:armhf: dependency problems, but removing anyway as you requested: 1866s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1866s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1866s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1866s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1866s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1866s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1866s libxmlb2:armhf depends on libglib2.0-0t64 (>= 2.54.0). 1866s libvolume-key1:armhf depends on libglib2.0-0t64 (>= 2.18.0). 1866s libudisks2-0:armhf depends on libglib2.0-0t64 (>= 2.83.0). 1866s libqrtr-glib0:armhf depends on libglib2.0-0t64 (>= 2.56). 1866s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1866s libqmi-glib5:armhf depends on libglib2.0-0t64 (>= 2.54.0). 1866s libpolkit-gobject-1-0:armhf depends on libglib2.0-0t64 (>= 2.38.0). 1866s libpolkit-agent-1-0:armhf depends on libglib2.0-0t64 (>= 2.38.0). 1866s libnetplan1:armhf depends on libglib2.0-0t64 (>= 2.76.0). 1866s libmm-glib0:armhf depends on libglib2.0-0t64 (>= 2.62.0). 1866s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1866s libmbim-glib4:armhf depends on libglib2.0-0t64 (>= 2.56). 1866s libjson-glib-1.0-0:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1866s libjcat1:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1866s libgudev-1.0-0:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1866s libgirepository-2.0-0:armhf depends on libglib2.0-0t64 (= 2.87.2-2). 1866s libfwupd3:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1866s libdconf1:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1866s libblockdev3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-utils3:armhf depends on libglib2.0-0t64 (>= 2.76.0). 1866s libblockdev-swap3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-smart3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-part3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-nvme3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-mdraid3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-loop3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-fs3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s libblockdev-crypto3:armhf depends on libglib2.0-0t64 (>= 2.42.2). 1866s gir1.2-glib-2.0:armhf depends on libglib2.0-0t64 (= 2.87.2-2). 1866s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1866s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1866s dconf-gsettings-backend:armhf depends on libglib2.0-0t64 (>= 2.80.0). 1866s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1866s 1866s (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 ... 68744 files and directories currently installed.) 1866s Removing libglib2.0-0t64:armhf (2.87.2-2) ... 1866s Selecting previously unselected package libglib2.0-0xyz:armhf. 1866s (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 ... 68725 files and directories currently installed.) 1866s Preparing to unpack .../libglib2.0-0xyz.deb ... 1866s Unpacking libglib2.0-0xyz:armhf (2.87.2-2) ... 1866s Selecting previously unselected package xdg-user-dirs. 1866s Preparing to unpack .../xdg-user-dirs_0.19-1_armhf.deb ... 1866s Unpacking xdg-user-dirs (0.19-1) ... 1866s Setting up xdg-user-dirs (0.19-1) ... 1866s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1866s Setting up libglib2.0-0xyz:armhf (2.87.2-2) ... 1866s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1866s Processing triggers for man-db (2.13.1-1build1) ... 1867s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1867s + n=1 1867s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1867s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1867s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1867s + n=2 1867s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1867s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1867s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1867s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1867s ok 3 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + n=3 1867s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + echo ok 3 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + n=4 1867s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + echo ok 4 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s + n=5 1867s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s + echo ok 5 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s + ok 4 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1867s ok 5 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s ok 6 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s n=6 1867s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s + echo ok 6 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1867s + apt-get -y purge libglib2.0-0t64 1867s Reading package lists... 1868s Building dependency tree... 1868s Reading state information... 1868s Solving dependencies... 1870s The following packages will be REMOVED: 1870s libglib2.0-0t64* 1871s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1871s After this operation, 0 B of additional disk space will be used. 1871s (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 ... 68759 files and directories currently installed.) 1871s Purging configuration files for libglib2.0-0t64:armhf (2.87.2-2) ... 1871s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1871s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1871s ok 9 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s ok 10 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s ok 11 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s ok 12 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1871s + n=7 1871s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1871s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1871s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1871s + n=8 1871s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1871s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1871s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s + n=9 1871s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s + echo ok 9 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s + n=10 1871s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s + echo ok 10 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1871s + assert test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + n=11 1871s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + echo ok 11 - test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + assert test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + n=12 1871s + test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + echo ok 12 - test -s /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1871s + apt-get -y purge libglib2.0-0xyz 1871s Reading package lists... 1872s Building dependency tree... 1872s Reading state information... 1872s Solving dependencies... 1873s The following additional packages will be installed: 1873s libglib2.0-0t64 1873s Suggested packages: 1873s low-memory-monitor 1873s The following packages will be REMOVED: 1873s libglib2.0-0xyz* 1873s The following NEW packages will be installed: 1873s libglib2.0-0t64 1874s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1874s Need to get 1490 kB of archives. 1874s After this operation, 0 B of additional disk space will be used. 1874s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-0t64 armhf 2.87.2-2 [1490 kB] 1875s Fetched 1490 kB in 1s (2574 kB/s) 1875s dpkg: libglib2.0-0xyz:armhf: dependency problems, but removing anyway as you requested: 1875s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libxmlb2:armhf depends on libglib2.0-0t64 (>= 2.54.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libvolume-key1:armhf depends on libglib2.0-0t64 (>= 2.18.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libudisks2-0:armhf depends on libglib2.0-0t64 (>= 2.83.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libqrtr-glib0:armhf depends on libglib2.0-0t64 (>= 2.56); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libqmi-glib5:armhf depends on libglib2.0-0t64 (>= 2.54.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libpolkit-gobject-1-0:armhf depends on libglib2.0-0t64 (>= 2.38.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libpolkit-agent-1-0:armhf depends on libglib2.0-0t64 (>= 2.38.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libnetplan1:armhf depends on libglib2.0-0t64 (>= 2.76.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libmm-glib0:armhf depends on libglib2.0-0t64 (>= 2.62.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libmbim-glib4:armhf depends on libglib2.0-0t64 (>= 2.56); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libjson-glib-1.0-0:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libjcat1:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libgudev-1.0-0:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libgirepository-2.0-0:armhf depends on libglib2.0-0t64 (= 2.87.2-2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libfwupd3:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libdconf1:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-utils3:armhf depends on libglib2.0-0t64 (>= 2.76.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-swap3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-smart3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-part3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-nvme3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-mdraid3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-loop3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-fs3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s libblockdev-crypto3:armhf depends on libglib2.0-0t64 (>= 2.42.2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s gir1.2-glib-2.0:armhf depends on libglib2.0-0t64 (= 2.87.2-2); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s dconf-gsettings-backend:armhf depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1875s Package libglib2.0-0t64 is not installed. 1875s Package libglib2.0-0xyz:armhf which provides libglib2.0-0t64 is to be removed. 1875s 1875s (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 ... 68759 files and directories currently installed.) 1875s Removing libglib2.0-0xyz:armhf (2.87.2-2) ... 1875s Selecting previously unselected package libglib2.0-0t64:armhf. 1875s (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 ... 68740 files and directories currently installed.) 1875s Preparing to unpack .../libglib2.0-0t64_2.87.2-2_armhf.deb ... 1875s Unpacking libglib2.0-0t64:armhf (2.87.2-2) ... 1875s Setting up libglib2.0-0t64:armhf (2.87.2-2) ... 1875s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1875s (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 ... 68759 files and directories currently installed.) 1875s Purging configuration files for libglib2.0-0xyz:armhf (2.87.2-2) ... 1875s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1875s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1875s not ok 15 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1875s not ok 16 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1875s 1..16 1875s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1875s + n=13 1875s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1875s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1875s + failed=1 1875s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1875s + n=14 1875s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1875s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1875s + failed=1 1875s + assert_not test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1875s + n=15 1875s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1875s + echo not ok 15 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/libdconfsettings.so 1875s + failed=1 1875s + assert_not test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1875s + n=16 1875s + test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1875s + echo not ok 16 - should not have succeeded: test -e /usr/lib/arm-linux-gnueabihf/gio/modules/giomodule.cache 1875s + failed=1 1875s + echo 1..16 1875s + exit 1 1876s autopkgtest [10:43:25]: test 1065022-futureproofing: -----------------------] 1879s 1065022-futureproofing FLAKY non-zero exit status 1 1879s autopkgtest [10:43:28]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1883s autopkgtest [10:43:32]: @@@@@@@@@@@@@@@@@@@@ summary 1883s build PASS (superficial) 1883s build-static PASS (superficial) 1883s girepository-tools PASS (superficial) 1883s libgio-2.0-dev-bin PASS (superficial) 1883s libglib2.0-dev PASS (superficial) 1883s installed-tests PASS 1883s closure-refcount PASS 1883s debugcontroller PASS 1883s gdbus-server-auth PASS 1883s gdbus-threading PASS 1883s gmenumodel PASS 1883s mainloop PASS 1883s memory-monitor-dbus PASS 1883s socket PASS 1883s testfilemonitor PASS 1883s thread-pool-slow PASS 1883s threadtests PASS 1883s timeout PASS 1883s timer PASS 1883s 1065022-futureproofing FLAKY non-zero exit status 1